/*
 * recipe-sections.css — designer-grade polish for the section-recipe BODY sections (apb-rx-*):
 * cards, proof, pricing, faq, steps, timeline, media, forms. Companion to layouts.css (base apb-rx
 * structure) + recipe-variants.css (chrome variants + shared --apb-rx-* tokens, loaded first).
 * Materials (layered shadows, soft gradients), spring-eased hover micro-interactions, refined type
 * and iconography (inline data-URI check/chevron). Token-with-fallback, no !important.
 */

/* ---------- shared optional icon / mini-image leaf (item_icon helper) ----------
   A consistent, brand-tinted iconography tile any item-based recipe can drop in front of a row.
   Renders an allowlist SVG or a small custom image; sized/tinted uniformly, tokens only. */
.apb-rx-leaficon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:var(--apb-rx-leaficon-size,38px);height:var(--apb-rx-leaficon-size,38px);border-radius:calc(var(--apb-rx-radius,16px) * .6);background:var(--apb-rx-soft);color:var(--apb-rx-accent-text,var(--apb-rx-brand));overflow:hidden}
.apb-rx-leaficon svg{width:56%;height:56%;color:var(--apb-rx-accent-text,var(--apb-rx-brand))}/* set on the svg so currentColor wins over any container `span{color}` (e.g. award cards) */
.apb-rx-leaficon--img{background:none}
.apb-rx-leaficon--img img{width:100%;height:100%;object-fit:cover;display:block}
/* the same leaf reused with per-surface classes (feature tile / step badge / tab pill); custom mini-image variants */
.apb-rx-tile-icon--img,.apb-rx-step-ic--img,.apb-rx-tab-ic--img{overflow:hidden}
.apb-rx-tile-icon--img{background:none}
.apb-rx-tile-icon--img img,.apb-rx-step-ic--img img,.apb-rx-tab-ic--img img{width:100%;height:100%;object-fit:cover;display:block}
/* step icon badge — same footprint as the numbered badge, brand-tinted */
.apb-rx-step-ic{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:calc(var(--apb-rx-radius,16px) * .55);background:var(--apb-rx-soft);color:var(--apb-rx-accent-text,var(--apb-rx-brand));overflow:hidden}
.apb-rx-step-ic svg{width:20px;height:20px}
/* tab icon — small inline glyph, inherits the label's colour (flips to white when the tab is active) */
.apb-rx-tab-ic{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-right:7px;vertical-align:-3px;color:inherit}
.apb-rx-tab-ic svg{width:100%;height:100%}
.apb-rx-tab-ic--img{border-radius:5px}

/* ---------- section headers + rhythm ---------- */
.apb-rx-head h2{font-size:calc(clamp(26px,3.4vw,40px) * var(--apb-rx-display-scale,1));font-weight:800;letter-spacing:var(--apb-rx-display-tracking,-.025em);line-height:var(--apb-rx-display-leading,1.08);margin:8px 0 0}
.apb-rx-head .apb-rx-eyebrow{margin-bottom:2px}
.apb-rx-section h3{letter-spacing:-.01em}

/* ---------- shared card treatment (feature/service/post/intg/award/rating) ---------- */
.apb-rx-tile,.apb-rx-quote,.apb-rx-member,.apb-rx-post,.apb-rx-intg-cell,.apb-rx-award,.apb-rx-rating,.apb-rx-tier{
  border:var(--apb-rx-border,1px) solid var(--apb-rx-line,#e7e8ec);box-shadow:var(--apb-rx-shadow-1,0 1px 2px rgba(11,13,18,.05));
  transition:transform var(--apb-rx-t,.28s) var(--apb-rx-ease,ease),box-shadow var(--apb-rx-t,.28s) var(--apb-rx-ease,ease),border-color .28s}
.apb-rx-tile:hover,.apb-rx-quote:hover,.apb-rx-member:hover,.apb-rx-post:hover,.apb-rx-intg-cell:hover,.apb-rx-award:hover,.apb-rx-rating:hover{
  transform:translateY(-4px);box-shadow:var(--apb-rx-shadow-2,0 2px 6px rgba(11,13,18,.06),0 14px 34px -12px rgba(11,13,18,.22));border-color:var(--apb-rx-line-accent)}
.apb-rx-tile h3,.apb-rx-post-body h3{font-size:18px;font-weight:650;margin-top:0}
.apb-rx-tile p{color:var(--apb-rx-muted,#5a6472);line-height:1.55}

/* ---------- feature_trio / service_list ---------- */
.apb-rx-tile{border-radius:var(--apb-rx-radius,16px);padding:26px}
.apb-rx-tile-icon{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:calc(var(--apb-rx-radius,16px) * .68);font-size:22px;color:var(--apb-rx-accent-text,var(--apb-rx-brand,#4f46e5));
  background:var(--apb-rx-soft);border:1px solid var(--apb-rx-line-accent);margin-bottom:16px;transition:transform var(--apb-rx-t,.28s) var(--apb-rx-ease,ease),box-shadow .28s}
.apb-rx-tile:hover .apb-rx-tile-icon{transform:translateY(-2px);box-shadow:0 10px 22px -8px var(--apb-rx-glow)}
[data-apb-tag-accent]{--apb-rx-accent-text:var(--apb-item-accent);--apb-rx-glow:color-mix(in srgb,var(--apb-item-accent) 38%,transparent)}
[data-apb-tag-accent] .apb-rx-tile-icon:not(.apb-rx-tile-icon--img){background:var(--apb-item-accent);color:var(--apb-item-accent-fg);border-color:transparent}
[data-apb-tag-accent].apb-rx-tile{border-color:color-mix(in srgb,var(--apb-item-accent) 24%,var(--apb-rx-line,#e5e7eb))}

/* ---------- feature_trio: feat_layout arrangements (alternating/list/carousel/bento/spotlight) ----------
   ONE items array, one shared .apb-rx-feat-item shape (icon/media reuse the primitives above), five
   arrangements selected purely by [data-apb-feat-layout] — mirrors previews/feature-layout-lab.html.
   --apb-rx-feat-gap (all layouts) / --apb-rx-split (alternating + spotlight only) come from feature_trio's
   gap/split_ratio slots (class-apb-component-render.php feat_wrap()); sane defaults when unset. */
.apb-rx-feat-item h3{margin:14px 0 6px}
.apb-rx-feat-item p{color:var(--apb-rx-muted,#5a6472);line-height:1.55;margin:0}

/* alternating — media/copy split rows, alternating sides; split_ratio drives the media:copy track */
.apb-rx-feat[data-apb-feat-layout="alternating"]{display:flex;flex-direction:column;gap:var(--apb-rx-feat-gap,44px)}
.apb-rx-feat[data-apb-feat-layout="alternating"] .apb-rx-feat-item{display:grid;grid-template-columns:var(--apb-rx-split,56%) 1fr;gap:44px;align-items:center}
.apb-rx-feat[data-apb-feat-layout="alternating"] .apb-rx-feat-item:nth-child(even){grid-template-columns:1fr var(--apb-rx-split,56%)}
.apb-rx-feat[data-apb-feat-layout="alternating"] .apb-rx-feat-item:nth-child(even) .apb-rx-feat-media{order:2}
.apb-rx-feat[data-apb-feat-layout="alternating"] .apb-rx-feat-media{aspect-ratio:16/10}
.apb-rx-feat[data-apb-feat-layout="alternating"] .apb-rx-feat-item h3{font-size:23px;letter-spacing:-.02em}

/* list — dense scannable rows with hairline dividers; gap widens row padding */
.apb-rx-feat[data-apb-feat-layout="list"]{display:flex;flex-direction:column}
.apb-rx-feat[data-apb-feat-layout="list"] .apb-rx-feat-item{display:flex;gap:18px;align-items:flex-start;padding:calc(var(--apb-rx-feat-gap,18px) + 2px) 6px;border-bottom:1px solid var(--apb-rx-line,#e7e8ec);transition:background .2s}
.apb-rx-feat[data-apb-feat-layout="list"] .apb-rx-feat-item:last-child{border-bottom:0}
.apb-rx-feat[data-apb-feat-layout="list"] .apb-rx-feat-item:hover{background:var(--apb-rx-soft)}
.apb-rx-feat[data-apb-feat-layout="list"] .apb-rx-feat-body{flex:1;min-width:0}
.apb-rx-feat[data-apb-feat-layout="list"] .apb-rx-feat-arrow{align-self:center;color:var(--apb-rx-accent-text,var(--apb-rx-brand));opacity:0;transform:translateX(-6px);transition:opacity .2s,transform .2s;font-weight:800}
.apb-rx-feat[data-apb-feat-layout="list"] .apb-rx-feat-item:hover .apb-rx-feat-arrow{opacity:1;transform:none}

/* carousel — horizontal scroll-snap; gap knob drives item spacing */
.apb-rx-feat[data-apb-feat-layout="carousel"]{display:flex;gap:var(--apb-rx-feat-gap,18px);overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:14px;margin:0 -6px;padding-left:6px;padding-right:6px;scrollbar-width:thin}
.apb-rx-feat[data-apb-feat-layout="carousel"] .apb-rx-feat-item{scroll-snap-align:start;flex:0 0 86%;border:1px solid var(--apb-rx-line,#e7e8ec);border-radius:var(--apb-rx-radius,16px);overflow:hidden;background:var(--apb-rx-surface,#fff);box-shadow:var(--apb-rx-shadow-1,0 1px 2px rgba(11,13,18,.05));transition:border-color .2s,box-shadow .25s}
.apb-rx-feat[data-apb-feat-layout="carousel"] .apb-rx-feat-item:hover{border-color:var(--apb-rx-line-accent);box-shadow:0 20px 44px -24px rgba(11,13,18,.28)}
.apb-rx-feat[data-apb-feat-layout="carousel"] .apb-rx-feat-media{border-radius:0;aspect-ratio:16/10}
.apb-rx-feat[data-apb-feat-layout="carousel"] .apb-rx-feat-cbody{padding:18px}
.apb-rx-feat[data-apb-feat-layout="carousel"] .apb-rx-tile-icon{width:34px;height:34px;margin-bottom:12px}
@media(min-width:760px){.apb-rx-feat[data-apb-feat-layout="carousel"] .apb-rx-feat-item{flex-basis:clamp(230px,32%,300px)}}

/* bento — mixed-size grid; items 1 (2x2 feature) and 4 (wide) are emphasized; gap drives spacing */
.apb-rx-feat[data-apb-feat-layout="bento"]{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:154px;grid-auto-flow:dense;gap:var(--apb-rx-feat-gap,18px)}
.apb-rx-feat[data-apb-feat-layout="bento"] .apb-rx-feat-item{border:1px solid var(--apb-rx-line,#e7e8ec);border-radius:var(--apb-rx-radius,16px);padding:20px;background:var(--apb-rx-surface,#fff);display:flex;flex-direction:column;overflow:hidden;transition:transform .25s,box-shadow .25s}
.apb-rx-feat[data-apb-feat-layout="bento"] .apb-rx-feat-item:hover{transform:translateY(-2px);box-shadow:0 18px 40px -22px rgba(11,13,18,.26)}
.apb-rx-feat[data-apb-feat-layout="bento"] .apb-rx-feat-item:nth-child(1){grid-column:span 2;grid-row:span 2;background:linear-gradient(150deg,color-mix(in srgb,var(--apb-rx-brand,#4f46e5) 12%,#fff),var(--apb-rx-surface,#fff))}
.apb-rx-feat[data-apb-feat-layout="bento"] .apb-rx-feat-item:nth-child(4){grid-column:span 2}
.apb-rx-feat[data-apb-feat-layout="bento"] .apb-rx-tile-icon{margin-bottom:auto}
.apb-rx-feat[data-apb-feat-layout="bento"] .apb-rx-feat-item h3{font-size:15px;margin-top:12px}
.apb-rx-feat[data-apb-feat-layout="bento"] .apb-rx-feat-item p{display:none}
.apb-rx-feat[data-apb-feat-layout="bento"] .apb-rx-feat-item:nth-child(1) h3{font-size:22px;letter-spacing:-.02em}
.apb-rx-feat[data-apb-feat-layout="bento"] .apb-rx-feat-item:nth-child(1) p,
.apb-rx-feat[data-apb-feat-layout="bento"] .apb-rx-feat-item:nth-child(4) p{display:block}

/* spotlight — one big featured item + a rail of the rest; split_ratio drives the hero:rail track */
.apb-rx-feat[data-apb-feat-layout="spotlight"]{display:grid;grid-template-columns:var(--apb-rx-split,56%) 1fr;gap:calc(var(--apb-rx-feat-gap,18px) + 8px);align-items:stretch}
.apb-rx-feat[data-apb-feat-layout="spotlight"] > .apb-rx-feat-item{border-radius:var(--apb-rx-radius,16px);overflow:hidden;position:relative;color:#fff;min-height:340px;
  display:flex;flex-direction:column;justify-content:flex-end;padding:28px;
  background:linear-gradient(180deg,rgba(10,12,25,0) 30%,rgba(10,12,25,.82)),linear-gradient(135deg,var(--apb-rx-brand,#4f46e5),var(--apb-rx-brand2,#7c3aed))}
.apb-rx-feat[data-apb-feat-layout="spotlight"] > .apb-rx-feat-item .apb-rx-tile-icon{background:rgba(255,255,255,.16);color:#fff;border-color:transparent}
.apb-rx-feat[data-apb-feat-layout="spotlight"] > .apb-rx-feat-item h3{font-size:24px;color:#fff;letter-spacing:-.02em}
.apb-rx-feat[data-apb-feat-layout="spotlight"] > .apb-rx-feat-item p{color:rgba(255,255,255,.82)}
.apb-rx-feat-rail{display:flex;flex-direction:column;gap:var(--apb-rx-feat-gap,18px)}
.apb-rx-feat-rail .apb-rx-feat-item{display:flex;gap:14px;align-items:flex-start;border:1px solid var(--apb-rx-line,#e7e8ec);border-radius:13px;padding:15px;flex:1;transition:border-color .2s,transform .2s}
.apb-rx-feat-rail .apb-rx-feat-item:hover{border-color:var(--apb-rx-line-accent);transform:translateX(2px)}
.apb-rx-feat-rail .apb-rx-tile-icon{width:34px;height:34px;margin-bottom:0}
/* spotlight with only the hero (no rail items) collapses to full width — no empty reserved column */
.apb-rx-feat[data-apb-feat-layout="spotlight"] > .apb-rx-feat-item:only-child{grid-column:1/-1}
.apb-rx-feat[data-apb-feat-layout] [data-apb-tag-accent].apb-rx-feat-item{border-color:color-mix(in srgb,var(--apb-item-accent) 24%,var(--apb-rx-line,#e5e7eb))}

/* mobile: every feat_layout stacks to a single column, ignoring split/cols (carousel keeps its
   horizontal scroll-snap mechanic — a mobile carousel IS one dominant item at a time, sized above). */
@media(max-width:860px){
  .apb-rx-feat[data-apb-feat-layout="alternating"] .apb-rx-feat-item,
  .apb-rx-feat[data-apb-feat-layout="alternating"] .apb-rx-feat-item:nth-child(even){grid-template-columns:1fr;gap:20px}
  .apb-rx-feat[data-apb-feat-layout="alternating"] .apb-rx-feat-item:nth-child(even) .apb-rx-feat-media{order:0}
  /* auto-rows must go on the GRID CONTAINER (a grid item ignores it) so tiles size to their
     content on mobile instead of clipping at the fixed 154px desktop row height */
  .apb-rx-feat[data-apb-feat-layout="bento"]{grid-template-columns:1fr;grid-auto-rows:auto}
  .apb-rx-feat[data-apb-feat-layout="bento"] .apb-rx-feat-item:nth-child(1),
  .apb-rx-feat[data-apb-feat-layout="bento"] .apb-rx-feat-item:nth-child(4){grid-column:span 1;grid-row:span 1}
  .apb-rx-feat[data-apb-feat-layout="spotlight"]{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .apb-rx-feat[data-apb-feat-layout="bento"] .apb-rx-feat-item:hover,
  .apb-rx-feat[data-apb-feat-layout="carousel"] .apb-rx-feat-item:hover,
  .apb-rx-feat-rail .apb-rx-feat-item:hover{transform:none}
}

/* ---------- testimonials: circular avatar + quote mark ---------- */
.apb-rx-quote{border-radius:calc(var(--apb-rx-radius,16px) * 1.4);padding:26px;position:relative}
.apb-rx-quote .apb-rx-thumb{width:52px;height:52px;aspect-ratio:1;border-radius:50%;margin:0 0 18px;overflow:hidden;box-shadow:0 0 0 3px #fff,0 0 0 4px var(--apb-rx-line,#e7e8ec)}
.apb-rx-quote blockquote{font-size:15.5px;line-height:1.6;color:var(--apb-rx-ink-2,#23304a);position:relative}
.apb-rx-quote blockquote::before{content:"\201C";position:absolute;top:-26px;left:-4px;font-size:60px;line-height:1;color:var(--apb-rx-accent-text,var(--apb-rx-brand,#4f46e5));opacity:.16;font-family:Georgia,serif}
.apb-rx-quote figcaption{margin-top:16px;color:var(--apb-rx-ink,#0b0d12)}

/* ---------- testimonial_spotlight ---------- */
.apb-rx-spotlight{box-shadow:var(--apb-rx-shadow-2)}
.apb-rx-spotlight blockquote{position:relative}

/* ---------- team grid: round photos ---------- */
.apb-rx-member{border-radius:calc(var(--apb-rx-radius,16px) * 1.4);padding:22px;text-align:center}
.apb-rx-member .apb-rx-team-photo,.apb-rx-team .apb-rx-media{width:88px;height:88px;aspect-ratio:1;border-radius:50%;margin:0 auto 14px;overflow:hidden}
.apb-rx-member figcaption strong{display:block;font-size:15px}
.apb-rx-member figcaption span{color:var(--apb-rx-muted,#5a6472);font-size:13px}

/* ---------- logos: muted -> ink on hover ---------- */
.apb-rx-logos{gap:14px 40px}
.apb-rx-logos span{color:var(--apb-rx-muted,#9aa1ad);font-weight:700;font-size:17px;letter-spacing:-.01em;transition:color var(--apb-rx-t,.28s) var(--apb-rx-ease,ease)}
.apb-rx-logos span:hover{color:var(--apb-rx-ink,#0b0d12)}
.apb-rx-logos-cap{color:var(--apb-rx-muted,#9aa1ad);font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}

/* ---------- stats: band card + dividers ---------- */
.apb-rx-stats{border:var(--apb-rx-border,1px) solid var(--apb-rx-line,#e7e8ec);border-radius:calc(var(--apb-rx-radius,16px) * 1.4);background:linear-gradient(var(--apb-rx-surface,#fff),#fbfbfd);padding:30px 8px;box-shadow:var(--apb-rx-shadow-1)}
.apb-rx-stats>div{position:relative}
.apb-rx-stats>div+div::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);height:46px;width:1px;background:var(--apb-rx-line,#e7e8ec)}
.apb-rx-stat-n{font-size:clamp(30px,4vw,42px);font-weight:800;letter-spacing:-.03em;background:linear-gradient(135deg,var(--apb-rx-brand,#4f46e5),var(--apb-rx-brand2,#7c3aed));-webkit-background-clip:text;background-clip:text;color:transparent}

/* ---------- integration grid: icon tile feel ---------- */
.apb-rx-intg-cell{border-radius:var(--apb-rx-radius,14px);padding:18px;display:flex;flex-direction:column;gap:3px}
.apb-rx-intg-cell strong{font-size:15px}
.apb-rx-intg-cell span{color:var(--apb-rx-muted,#9aa1ad);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.apb-rx-intg-cell img{max-width:100%;max-height:36px;object-fit:contain;display:block}

/* ---------- awards / ratings ---------- */
.apb-rx-award,.apb-rx-rating{border-radius:var(--apb-rx-radius,16px)}
.apb-rx-rating-score{background:linear-gradient(135deg,var(--apb-rx-brand,#4f46e5),var(--apb-rx-brand2,#7c3aed));-webkit-background-clip:text;background-clip:text;color:transparent}

/* ---------- steps: gradient numerals + connector ---------- */
.apb-rx-steps{counter-reset:none}
.apb-rx-step{position:relative}
.apb-rx-step-n{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:var(--apb-rx-radius,14px);font-weight:800;font-size:17px;color:#fff;
  background:linear-gradient(135deg,var(--apb-rx-brand,#4f46e5),var(--apb-rx-brand2,#7c3aed));box-shadow:0 8px 18px -8px var(--apb-rx-glow)}
.apb-rx-step h3{margin:0 0 4px;font-size:18px}

/* ---------- timeline: gradient rail + dot ---------- */
.apb-rx-tl-item{border-left:2px solid transparent;border-image:linear-gradient(var(--apb-rx-brand,#4f46e5),transparent) 1;position:relative}
.apb-rx-tl-item::before{content:"";position:absolute;left:-7px;top:6px;width:12px;height:12px;border-radius:50%;background:var(--apb-rx-brand,#4f46e5);box-shadow:0 0 0 4px var(--apb-rx-surface,#fff)}

/* ---------- pricing: highlight + check marks ---------- */
/* flex column so the CTA bottom-aligns regardless of how many features a tier has (grid stretches
   all tiers to equal height; margin-top:auto pushes the button to the shared baseline). */
.apb-rx-tier{border-radius:calc(var(--apb-rx-radius,16px) * 1.4);padding:28px;position:relative;display:flex;flex-direction:column}
.apb-rx-tier>.apb-rx-btn{margin-top:auto}
/* emphasis WITHOUT scale() so all tiers share the same baseline (gradient border + badge + shadow
   carry the emphasis instead of a transform that misaligns price/feature rows across the row). */
.apb-rx-tier--hot{border-color:transparent;box-shadow:var(--apb-rx-shadow-3,0 30px 70px -20px rgba(11,13,18,.3));
  background:linear-gradient(var(--apb-rx-surface,#fff),var(--apb-rx-surface,#fff)) padding-box,linear-gradient(135deg,var(--apb-rx-brand,#4f46e5),var(--apb-rx-brand2,#7c3aed)) border-box;border:2px solid transparent}
.apb-rx-tier--hot:hover{transform:translateY(-4px)}
/* emphasis knob (0-32): gated behind [data-apb-emph] — that marker is only emitted when the author
   actually sets pricing's `emphasis` slot, so an unset knob leaves cards/duo/tickets byte-identical
   to their pre-knob look (no lift). stacked's own emphasis (outline, further below) is a new variant
   with no back-compat risk and reads the var unguarded. */
.apb-rx-tiers[data-apb-emph] .apb-rx-tier--hot{margin-top:calc(var(--apb-rx-tier-emph,16px) * -1);margin-bottom:calc(var(--apb-rx-tier-emph,16px) * -1);padding-top:calc(28px + var(--apb-rx-tier-emph,16px));padding-bottom:calc(28px + var(--apb-rx-tier-emph,16px))}
/* mobile: tiers collapse to one column (layouts.css @860) — drop the emphasis negative-margin lift so
   the featured card can't overlap its stacked neighbors when emphasis > the row gap */
@media(max-width:860px){.apb-rx-tiers[data-apb-emph] .apb-rx-tier--hot{margin-top:0;margin-bottom:0;padding-top:28px;padding-bottom:28px}}
.apb-rx-badge{position:absolute;top:-12px;left:50%;transform:translateX(-50%);white-space:nowrap;max-width:calc(100% - 16px);overflow:hidden;text-overflow:ellipsis;background:linear-gradient(135deg,var(--apb-rx-brand,#4f46e5),var(--apb-rx-brand2,#7c3aed));color:#fff;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:5px 12px;border-radius:var(--apb-rx-radius-pill,999px);box-shadow:0 8px 18px -8px var(--apb-rx-glow)}
.apb-rx-price{font-size:34px;font-weight:800;letter-spacing:-.03em;margin:6px 0}
.apb-rx-feats{list-style:none;padding:0;margin:18px 0;display:grid;gap:10px}
.apb-rx-feats li{position:relative;padding-left:28px;color:var(--apb-rx-ink-2,#3a4250);font-size:14px}
/* check follows the BRAND (decorative tick, not a status state): tinted circle (::before) + masked glyph (::after) */
.apb-rx-feats li::before{content:"";position:absolute;left:0;top:1px;width:18px;height:18px;border-radius:50%;background:var(--apb-rx-check-bg,#dcfce7)}
.apb-rx-feats li::after{content:"";position:absolute;left:0;top:1px;width:18px;height:18px;background:var(--apb-rx-check,#16a34a);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat}

/* ---------- comparison table ---------- */
.apb-rx-compare{border-collapse:separate;border-spacing:0;border:var(--apb-rx-border,1px) solid var(--apb-rx-line,#e7e8ec);border-radius:var(--apb-rx-radius,16px);overflow:hidden;box-shadow:var(--apb-rx-shadow-1)}
.apb-rx-compare th,.apb-rx-compare td{padding:14px 18px;text-align:left;border-bottom:1px solid var(--apb-rx-line,#eef0f4)}
.apb-rx-compare thead th{background:var(--apb-rx-soft,#fafbfc);font-size:13px;letter-spacing:.03em;text-transform:uppercase;color:var(--apb-rx-muted,#9aa1ad)}
.apb-rx-compare thead th:nth-child(2){color:var(--apb-rx-accent-text,var(--apb-rx-brand,#4f46e5))}
.apb-rx-compare tbody td:nth-child(2){font-weight:700;color:var(--apb-rx-ink,#0b0d12);background:var(--apb-rx-glow-soft)}
.apb-rx-compare tr:last-child th,.apb-rx-compare tr:last-child td{border-bottom:0}

/* ---------- faq: card + animated chevron ---------- */
.apb-rx-faq{max-width:760px;margin-inline:auto;display:grid;gap:10px}
.apb-rx-faq-item{border:var(--apb-rx-border,1px) solid var(--apb-rx-line,#e7e8ec);border-radius:var(--apb-rx-radius,14px);background:var(--apb-rx-surface-2,#fff);transition:box-shadow .25s,border-color .25s}
.apb-rx-faq-item[open]{box-shadow:var(--apb-rx-shadow-1);border-color:var(--apb-rx-line-accent)}
.apb-rx-faq-item summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;font-weight:600;font-size:15.5px}
.apb-rx-faq-item summary::-webkit-details-marker{display:none}
.apb-rx-faq-item summary::after{content:"";flex:none;width:18px;height:18px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa1ad' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform var(--apb-rx-t,.28s) var(--apb-rx-ease,ease)}
.apb-rx-faq-item[open] summary::after{transform:rotate(180deg)}
.apb-rx-faq-item p{margin:0;padding:0 18px 18px;color:var(--apb-rx-muted,#5a6472);line-height:1.6}

/* ---------- gallery / blog media: hover zoom ---------- */
.apb-rx-gal-item,.apb-rx-post-thumb{overflow:hidden}
.apb-rx-gal-item img,.apb-rx-post-thumb img{transition:transform var(--apb-rx-t-slow,.55s) var(--apb-rx-ease,ease)}
.apb-rx-gal-item:hover img,.apb-rx-post:hover .apb-rx-post-thumb img{transform:scale(1.05)}
.apb-rx-post{border-radius:var(--apb-rx-radius,16px)}

/* ---------- about_story / video_feature media ---------- */
.apb-rx-story .apb-rx-media{border-radius:calc(var(--apb-rx-radius,16px) * 1.4);box-shadow:var(--apb-rx-shadow-2)}
.apb-rx-media--video::after,.apb-rx-story .apb-rx-media[data-apb-play]::after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230b0d12'%3E%3Cpolygon points='8 5 19 12 8 19'/%3E%3C/svg%3E") 54%/22px no-repeat;box-shadow:0 10px 30px -8px rgba(0,0,0,.4)}

/* ---------- forms: contact / lead inputs ---------- */
.apb-rx-form input,.apb-rx-form textarea{border:var(--apb-rx-border,1px) solid var(--apb-rx-line,#e7e8ec);border-radius:calc(var(--apb-rx-radius,16px) * .68);transition:border-color .2s,box-shadow .2s}
.apb-rx-form input:focus,.apb-rx-form textarea:focus{outline:none;border-color:var(--apb-rx-brand,#4f46e5);box-shadow:0 0 0 3px var(--apb-rx-ring)}

/* ---------- cta band ---------- */
.apb-rx-cta-band{box-shadow:0 24px 60px -24px var(--apb-rx-glow)}

/* ---------- cta_band · app store badges ---------- */
.apb-rx-stores{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:24px}
.apb-rx-store-badge{display:inline-flex;align-items:center;gap:10px;padding:9px 18px;border-radius:calc(var(--apb-rx-radius,16px) * .68);background:#0b0d12;color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.16);transition:transform var(--apb-rx-t,.28s) var(--apb-rx-ease,ease)}
.apb-rx-store-badge:hover{transform:translateY(-2px)}
.apb-rx-store-ic{font-size:24px}
.apb-rx-store-badge span{display:flex;flex-direction:column;line-height:1.1;text-align:left}
.apb-rx-store-badge small{font-size:10px;opacity:.8}
.apb-rx-store-badge strong{font-size:15px;font-weight:700}
/* ---------- blog_list · ranked ---------- */
.apb-rx-ranked{max-width:760px;margin-inline:auto;display:grid;gap:4px}
.apb-rx-post--ranked{display:flex;align-items:flex-start;gap:18px;background:transparent;border:0;border-bottom:1px solid var(--apb-rx-line,#eef0f4);border-radius:0;padding:18px 4px;transition:background .2s}
.apb-rx-post--ranked:hover{background:var(--color-gray-50,#f6f7f9)}
.apb-rx-post-rank{flex:none;font-size:30px;font-weight:800;letter-spacing:-.03em;line-height:1;width:48px;text-align:center;background:linear-gradient(135deg,var(--apb-rx-brand,#4f46e5),var(--apb-rx-brand2,#7c3aed));-webkit-background-clip:text;background-clip:text;color:transparent}
.apb-rx-post--ranked h3{margin:4px 0 4px;font-size:17px}
.apb-rx-post--ranked p{margin:0;color:var(--apb-rx-muted,#5a6472);font-size:14px}
/* ---------- pricing · tickets reskin ---------- */
.apb-rx-tiers--tickets .apb-rx-price{font-size:30px}
.apb-rx-tiers--tickets .apb-rx-tier{text-align:center}

/* ===================== slider / carousel =====================
   CSS scroll-snap is the baseline: native touch/trackpad swipe works with ZERO JS; apb-recipe-ui.js
   only enhances arrows/dots/autoplay. Tokens (--apb-rx-*) come from recipe-variants.css :root. */
.apb-rx-slider{position:relative}
.apb-rx-slider-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;border-radius:var(--apb-rx-radius,16px)}
.apb-rx-slider-track::-webkit-scrollbar{display:none}
.apb-rx-slide{position:relative;margin:0;flex:0 0 100%;scroll-snap-align:center;min-width:0}
.apb-rx-slide>.apb-rx-media,.apb-rx-slide>img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;border-radius:var(--apb-rx-radius,16px)}
.apb-rx-slide-cap{position:absolute;left:0;right:0;bottom:0;padding:22px 24px;color:#fff;border-radius:0 0 var(--apb-rx-radius,16px) var(--apb-rx-radius,16px);background:linear-gradient(0deg,rgba(8,10,18,.82),rgba(8,10,18,.45) 45%,rgba(8,10,18,0))}
.apb-rx-slide-cap h3{margin:0 0 4px;font-size:20px;font-weight:700;color:#fff}
.apb-rx-slide-cap p{margin:0 0 10px;font-size:14px;opacity:.92}
.apb-rx-slide-cap .apb-rx-btn{margin-top:2px}
/* cards variant: narrower slides reveal a peek of the next */
.apb-rx-slider--cards .apb-rx-slider-track{gap:16px}
.apb-rx-slider--cards .apb-rx-slide{flex-basis:80%}
@media(min-width:760px){.apb-rx-slider--cards .apb-rx-slide{flex-basis:42%}}
/* arrows + dots (only emitted when >1 slide; degrade gracefully if JS is off — snap still scrolls) */
.apb-rx-slider-arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:var(--apb-rx-radius-pill,999px);border:0;background:rgba(255,255,255,.92);color:var(--apb-rx-ink,#0b0d12);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:var(--apb-rx-shadow-2,0 2px 6px rgba(11,13,18,.18));transition:transform var(--apb-rx-t,.28s) var(--apb-rx-ease,ease),background .2s;z-index:2}
.apb-rx-slider-arrow:hover{background:#fff;transform:translateY(-50%) scale(1.07)}
.apb-rx-slider-prev{left:12px}
.apb-rx-slider-next{right:12px}
.apb-rx-slider-prev .apb-rx-ic{transform:rotate(180deg)}
.apb-rx-slider-dots{position:absolute;left:0;right:0;bottom:14px;display:flex;gap:7px;justify-content:center;z-index:2}
.apb-rx-slider-dot{width:8px;height:8px;border-radius:50%;border:0;padding:0;background:rgba(255,255,255,.55);cursor:pointer;transition:background .2s,transform .2s}
.apb-rx-slider-dot[aria-current="true"]{background:#fff;transform:scale(1.25)}
@media(prefers-reduced-motion:reduce){.apb-rx-slider-track{scroll-behavior:auto}}

/* =========================================================================
   PRICING v2 — flexible variants (tiers/toggle/single/duo/compare/split_proof/
   packages/contact). All brand values via --apb-rx-* tokens; CSS-only toggle.
   ========================================================================= */
.apb-rx-price-sub{font-size:12.5px;color:var(--apb-rx-muted,#5a6472);margin:-2px 0 4px}
.apb-rx-price-foot{max-width:760px;margin:22px auto 0;text-align:center;font-size:12.5px;color:var(--apb-rx-muted,#5a6472)}
.apb-rx-guarantee{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--apb-rx-muted,#5a6472);margin-top:14px}
.apb-rx-guarantee svg{width:16px;height:16px;color:var(--apb-rx-check,#16a34a)}
/* badge tones (decoupled from highlight; nowrap + ellipsis safe) */
.apb-rx-badge{white-space:nowrap;max-width:88%;overflow:hidden;text-overflow:ellipsis}
.apb-rx-badge--success{background:var(--apb-rx-check,#16a34a);box-shadow:0 8px 18px -8px var(--apb-rx-glow)}
.apb-rx-badge--neutral{background:var(--apb-rx-ink,#0b0d12);box-shadow:0 8px 18px -8px rgba(11,13,18,.4)}
.apb-rx-badge--outline{background:var(--apb-rx-surface,#fff);color:var(--apb-rx-accent-text,var(--apb-rx-brand,#4f46e5));border:1.5px solid currentColor;box-shadow:none}

/* billing toggle (CSS-only via :has; equal-width segments so the thumb aligns) */
.apb-rx-billing{display:inline-grid;grid-template-columns:1fr 1fr;position:relative;margin:0 auto clamp(28px,4vw,42px);padding:5px;
  border-radius:var(--apb-rx-radius-pill,999px);background:var(--apb-rx-soft,var(--color-gray-100,#f0f1f4));border:1px solid var(--apb-rx-line,#e7e8ec)}
.apb-rx-billing input{position:absolute;opacity:0;pointer-events:none}
.apb-rx-billing label{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;white-space:nowrap;
  padding:9px 20px;border-radius:var(--apb-rx-radius-pill,999px);font-weight:650;font-size:14.5px;color:var(--apb-rx-muted,#5a6472);transition:color var(--apb-rx-t,.28s) var(--apb-rx-ease,ease)}
.apb-rx-billing-thumb{position:absolute;z-index:0;top:5px;bottom:5px;left:5px;width:calc(50% - 5px);border-radius:var(--apb-rx-radius-pill,999px);
  background:var(--apb-rx-surface,#fff);box-shadow:var(--apb-rx-shadow-1);transition:transform var(--apb-rx-t,.32s) var(--apb-rx-ease,ease)}
.apb-rx-billing input:first-of-type:checked ~ label:first-of-type{color:var(--apb-rx-ink,#0b0d12)}
/* annual-selected state (thumb slide + label) is gated to :has support so it can't diverge from the
   :has-driven price swap below — no-:has / no-JS browsers stay on Monthly consistently (fail-open). */
@supports selector(:has(*)){
  .apb-rx-billing input:last-of-type:checked ~ .apb-rx-billing-thumb{transform:translateX(100%)}
  .apb-rx-billing input:last-of-type:checked ~ label:last-of-type{color:var(--apb-rx-ink,#0b0d12)}
}
.apb-rx-billing-save{font-size:11px;font-weight:700;color:var(--apb-rx-check,#15803d);background:var(--apb-rx-check-bg,#dcfce7);border-radius:999px;padding:2px 8px}
.apb-rx-price--toggle{position:relative;min-height:46px;margin:8px 0}
.apb-rx-price--toggle .amt{position:absolute;left:0;right:0;top:0;font-size:38px;font-weight:800;letter-spacing:-.03em;transition:opacity var(--apb-rx-t,.28s) var(--apb-rx-ease,ease),transform var(--apb-rx-t,.28s) var(--apb-rx-ease,ease)}
.apb-rx-price--toggle .amt small{font-size:15px;font-weight:600;color:var(--apb-rx-muted,#5a6472);letter-spacing:0}
.apb-rx-price--toggle .amt-a{opacity:0;transform:translateY(8px)}
.apb-rx-pricing:has(.apb-rx-billing input:last-of-type:checked) .amt-m{opacity:0;transform:translateY(-8px)}
.apb-rx-pricing:has(.apb-rx-billing input:last-of-type:checked) .amt-a{opacity:1;transform:none}
.apb-rx-tiers--duo{grid-template-columns:repeat(2,minmax(0,360px))}

/* stacked (full-width horizontal tier rows: name+price left, features middle, cta right) — SAME
   tier markup as cards, CSS-only reflow. New variant, no back-compat risk. */
.apb-rx-tiers--stacked{display:flex;flex-direction:column;gap:var(--apb-rx-feat-gap,20px);max-width:820px;margin-inline:auto}
.apb-rx-tiers--stacked .apb-rx-tier{flex-direction:row;align-items:center;gap:26px;padding:20px 26px}
.apb-rx-tiers--stacked .apb-rx-tier>h3{flex:0 0 120px;margin:0}
.apb-rx-tiers--stacked .apb-rx-price{flex:0 0 auto;font-size:26px;margin:0}
.apb-rx-tiers--stacked .apb-rx-price-sub{display:none}
.apb-rx-tiers--stacked .apb-rx-feats{flex:1;display:flex;flex-direction:row;flex-wrap:wrap;gap:6px 18px;margin:0}
.apb-rx-tiers--stacked .apb-rx-feats li{padding-left:22px}
.apb-rx-tiers--stacked .apb-rx-btn{flex:0 0 150px;margin:0;padding:11px 0}
.apb-rx-tiers--stacked .apb-rx-tier--hot{outline:calc(var(--apb-rx-tier-emph,16px) / 8) solid color-mix(in srgb,var(--apb-rx-brand,#4f46e5) 45%,transparent);outline-offset:-1px}
@media(max-width:820px){
  .apb-rx-tiers--stacked .apb-rx-tier{flex-direction:column;align-items:stretch;text-align:center;gap:14px}
  /* reset the desktop row-track flex-bases: in a COLUMN flex container flex-basis is HEIGHT, so these
     would otherwise force a 120px empty block under the heading and a 150px-tall blob button */
  .apb-rx-tiers--stacked .apb-rx-tier>h3,.apb-rx-tiers--stacked .apb-rx-btn{flex:0 0 auto}
  .apb-rx-tiers--stacked .apb-rx-feats{justify-content:center}
}

/* spotlight (featured/hot tier enlarged on one side; the rest compact in a rail) — SAME tiers array.
   New variant, no back-compat risk; emphasis biases the hero/rail split. */
.apb-rx-tiers-spotlight{display:grid;grid-template-columns:calc(52% + var(--apb-rx-tier-emph,16px) * 0.6) 1fr;gap:calc(var(--apb-rx-feat-gap,20px) + 6px);align-items:stretch;max-width:940px;margin-inline:auto}
.apb-rx-tiers-spotlight>.apb-rx-tier{height:100%;background:linear-gradient(160deg,color-mix(in srgb,var(--apb-rx-brand,#4f46e5) 9%,var(--apb-rx-surface,#fff)),var(--apb-rx-surface,#fff));border-color:color-mix(in srgb,var(--apb-rx-brand,#4f46e5) 40%,var(--color-gray-200,#e7eaef))}
.apb-rx-tiers-spotlight>.apb-rx-tier .apb-rx-price{font-size:44px}
/* spotlight with only the hero (no rail) collapses to full width — no empty reserved column */
.apb-rx-tiers-spotlight>.apb-rx-tier:only-child{grid-column:1/-1}
.apb-rx-tier-rail{display:flex;flex-direction:column;gap:var(--apb-rx-feat-gap,20px)}
.apb-rx-tier-rail .apb-rx-tier{flex:1;padding:20px 22px}
.apb-rx-tier-rail .apb-rx-feats{gap:6px}
.apb-rx-tier-rail .apb-rx-price-sub{display:none}
@media(max-width:820px){.apb-rx-tiers-spotlight{grid-template-columns:1fr}}

/* single (one centered plan) */
.apb-rx-price-single{max-width:520px;margin-inline:auto;text-align:center;position:relative;padding:clamp(30px,4vw,44px);
  border-radius:calc(var(--apb-rx-radius,16px) * 1.5);box-shadow:var(--apb-rx-shadow-2);
  background:linear-gradient(var(--apb-rx-surface,#fff),var(--apb-rx-surface,#fff)) padding-box,linear-gradient(135deg,var(--apb-rx-brand,#4f46e5),var(--apb-rx-brand2,#7c3aed)) border-box;border:2px solid transparent}
.apb-rx-price-single h3{font-size:20px;margin:0}
.apb-rx-price-single .apb-rx-price{font-size:clamp(44px,6vw,58px);font-weight:800;letter-spacing:-.03em;margin:6px 0}
.apb-rx-price-single .apb-rx-feats{max-width:360px;margin:20px auto;text-align:left;display:grid;grid-template-columns:1fr 1fr;gap:10px 22px}
.apb-rx-price-single .apb-rx-btn{width:100%;max-width:290px;text-align:center;box-sizing:border-box}
@media(max-width:480px){.apb-rx-price-single .apb-rx-feats{grid-template-columns:1fr}}

/* split_proof (plan + proof column beside) */
.apb-rx-price-split{display:grid;grid-template-columns:1.05fr .95fr;gap:32px;align-items:stretch;max-width:1000px;margin-inline:auto}
@media(max-width:820px){.apb-rx-price-split{grid-template-columns:1fr}}
.apb-rx-price-split .apb-rx-tiers{margin:0}
.apb-rx-proof{display:flex;flex-direction:column;gap:14px;justify-content:center}
.apb-rx-proof-q{padding:18px 20px;border-radius:var(--apb-rx-radius,16px);background:var(--apb-rx-surface,#fff);border:1px solid var(--apb-rx-line,#e7e8ec);box-shadow:var(--apb-rx-shadow-1)}
.apb-rx-proof-q p{margin:0 0 12px;font-size:14.5px;line-height:1.55;color:var(--apb-rx-ink-2,#23304a)}
.apb-rx-proof-q .by{display:flex;align-items:center;gap:10px;font-size:13px}
.apb-rx-proof-q .av{width:34px;height:34px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:13px;color:#fff;background:linear-gradient(135deg,var(--apb-rx-brand,#4f46e5),var(--apb-rx-brand2,#7c3aed))}
.apb-rx-proof-q .by span{color:var(--apb-rx-muted,#5a6472)}
.apb-rx-proof-logos{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center;opacity:.6;font-weight:800;font-size:15px;color:var(--apb-rx-muted,#8a93a2)}

/* compare (feature-presence matrix) */
.apb-rx-price-compare{max-width:960px;margin-inline:auto;border:1px solid var(--apb-rx-line,#e7e8ec);border-radius:calc(var(--apb-rx-radius,16px) * 1.2);overflow:hidden;background:var(--apb-rx-surface,#fff);box-shadow:var(--apb-rx-shadow-1)}
.apb-rx-price-compare table{width:100%;border-collapse:collapse}
.apb-rx-price-compare thead th{padding:22px 18px;text-align:center;vertical-align:top;border-bottom:1px solid var(--apb-rx-line,#e7e8ec)}
.apb-rx-price-compare thead th:first-child{text-align:left}
.apb-rx-price-compare .pl-name{font-weight:700;font-size:16px}
.apb-rx-price-compare .pl-price{font-size:26px;font-weight:800;letter-spacing:-.02em;margin:4px 0 10px}
.apb-rx-price-compare .col-hot{background:var(--apb-rx-soft,rgba(20,24,40,.05))}
.apb-rx-price-compare tbody th{text-align:left;font-weight:600;padding:13px 18px;font-size:14px;border-bottom:1px solid var(--apb-rx-line,#eef0f4);color:var(--apb-rx-ink-2,#23304a)}
.apb-rx-price-compare tbody td{text-align:center;padding:13px 18px;border-bottom:1px solid var(--apb-rx-line,#eef0f4);font-size:14px}
.apb-rx-price-compare tbody tr:last-child th,.apb-rx-price-compare tbody tr:last-child td{border-bottom:0}
.apb-rx-ck{color:var(--apb-rx-check,#16a34a);font-weight:800}.apb-rx-dash{color:var(--color-gray-400,#c2c8d0)}
.apb-rx-price-compare .apb-rx-btn{padding:9px 18px;font-size:14px}

/* packages (service deliverables) */
.apb-rx-packages{display:grid;grid-template-columns:repeat(var(--apb-rx-cols,3),minmax(0,340px));justify-content:center;gap:20px}
@media(max-width:820px){.apb-rx-packages{grid-template-columns:1fr}}
.apb-rx-package{padding:26px;border-radius:calc(var(--apb-rx-radius,16px) * 1.2);background:var(--apb-rx-surface,#fff);border:1px solid var(--apb-rx-line,#e7e8ec);box-shadow:var(--apb-rx-shadow-1);display:flex;flex-direction:column;position:relative}
.apb-rx-package--hot{border-color:transparent;background:linear-gradient(var(--apb-rx-surface,#fff),var(--apb-rx-surface,#fff)) padding-box,linear-gradient(135deg,var(--apb-rx-brand,#4f46e5),var(--apb-rx-brand2,#7c3aed)) border-box;border:2px solid transparent;box-shadow:var(--apb-rx-shadow-2)}
.apb-rx-package h3{font-size:20px;margin:6px 0 2px}
.apb-rx-package .from{color:var(--apb-rx-ink,#0b0d12);font-size:20px;font-weight:800;letter-spacing:-.02em;margin-bottom:14px}
.apb-rx-package ul{list-style:none;margin:0 0 20px;padding:0;display:grid;gap:9px;font-size:14px}
.apb-rx-package li{position:relative;padding-left:24px;color:var(--apb-rx-ink-2,#3a4250)}
.apb-rx-package li::before{content:"";position:absolute;left:0;top:2px;width:16px;height:16px;border-radius:50%;background:var(--apb-rx-check-bg,#dcfce7)}
.apb-rx-package li::after{content:"";position:absolute;left:4px;top:6px;width:8px;height:5px;border-left:2px solid var(--apb-rx-check,#16a34a);border-bottom:2px solid var(--apb-rx-check,#16a34a);transform:rotate(-45deg)}
.apb-rx-package .apb-rx-btn{margin-top:auto;text-align:center}

/* contact (enterprise / custom) */
.apb-rx-price-contact{max-width:1000px;margin-inline:auto;display:grid;grid-template-columns:1.1fr .9fr;gap:36px;align-items:center;
  padding:clamp(30px,4vw,44px);border-radius:calc(var(--apb-rx-radius,16px) * 1.4);color:#fff;box-shadow:var(--apb-rx-shadow-3);
  background:linear-gradient(135deg,var(--apb-rx-brand,#4f46e5),var(--apb-rx-brand2,#7c3aed))}
@media(max-width:760px){.apb-rx-price-contact{grid-template-columns:1fr;gap:22px}}
.apb-rx-price-contact h2{margin:0 0 8px;font-size:clamp(24px,3vw,32px);letter-spacing:-.02em}
.apb-rx-price-contact p{margin:0;color:rgba(255,255,255,.85);font-size:16px;line-height:1.55}
.apb-rx-price-contact .apb-rx-btn{background:var(--apb-rx-surface,#fff);color:var(--apb-rx-brand,#4f46e5);margin-top:18px}
.apb-rx-price-contact ul{list-style:none;margin:0;padding:0;display:grid;gap:11px;font-size:15px}
.apb-rx-price-contact li{position:relative;padding-left:26px}
.apb-rx-price-contact li::before{content:"\2713";position:absolute;left:0;font-weight:800;color:#fff}

@media(prefers-reduced-motion:reduce){.apb-rx-billing-thumb,.apb-rx-price--toggle .amt,.apb-rx-billing label{transition:none}}

/* =========================================================================
   TESTIMONIALS v2 — wall / carousel / single / rating + per-item stars/metric/
   featured. Reuses .apb-rx-quote; all brand values via --apb-rx-* tokens.
   ========================================================================= */
.apb-rx-tstars{font-size:13px;letter-spacing:2px;color:var(--apb-rx-star,#f5a623);margin-bottom:9px}
.apb-rx-tstars-off{color:var(--apb-rx-line,#e7e8ec)}
.apb-rx-tmetric{display:inline-block;font-weight:800;font-size:14px;letter-spacing:-.01em;margin-bottom:10px;color:var(--apb-rx-accent-text,var(--apb-rx-brand,#4f46e5))}
.apb-rx-tby{display:flex;align-items:center;gap:11px;margin-top:16px}
.apb-rx-tby .apb-rx-thumb{width:38px;height:38px;aspect-ratio:1;border-radius:50%;margin:0;overflow:hidden;flex:none;box-shadow:none}
.apb-rx-tinitials{display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;color:#fff;background:linear-gradient(135deg,var(--apb-rx-brand,#4f46e5),var(--apb-rx-brand2,#7c3aed))}
.apb-rx-tby strong{display:block;font-size:14px}
.apb-rx-tby span:not(.apb-rx-tinitials){font-size:12.5px;color:var(--apb-rx-muted,#5a6472)}
/* featured card — brand gradient with a fixed dark scrim UNDER the gradient so white text stays legible
   even for LIGHT custom brands (no scale; keeps row baselines). */
.apb-rx-quote--feat{background:linear-gradient(rgba(8,10,22,.22),rgba(8,10,22,.22)),linear-gradient(135deg,var(--apb-rx-brand,#4f46e5),var(--apb-rx-brand2,#7c3aed));border-color:transparent}
.apb-rx-quote--feat blockquote,.apb-rx-quote--feat .apb-rx-tby strong{color:#fff}
.apb-rx-quote--feat .apb-rx-tby span{color:rgba(255,255,255,.78)}
.apb-rx-quote--feat .apb-rx-tstars{color:#ffe08a}.apb-rx-quote--feat .apb-rx-tstars-off{color:rgba(255,255,255,.3)}
.apb-rx-quote--feat .apb-rx-tmetric{color:#fff}
.apb-rx-quote--feat .apb-rx-tinitials{background:rgba(255,255,255,.22)}
.apb-rx-quote--feat blockquote::before{color:rgba(255,255,255,.28)}

/* wall (masonry) */
.apb-rx-twall{columns:4 250px;column-gap:var(--apb-rx-feat-gap,16px);max-width:var(--apb-pg-maxw,1120px);margin-inline:auto}
@media(max-width:900px){.apb-rx-twall{columns:2 240px}}
@media(max-width:560px){.apb-rx-twall{columns:1}}
.apb-rx-twall .apb-rx-quote{break-inside:avoid;margin:0 0 var(--apb-rx-feat-gap,16px);display:inline-block;width:100%;box-sizing:border-box}

/* carousel (scroll-snap strip; user-driven, no autoplay) */
.apb-rx-tcarousel{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 4px 16px;-webkit-overflow-scrolling:touch;
  scrollbar-width:thin;max-width:var(--apb-pg-maxw,1120px);margin-inline:auto}
.apb-rx-tcarousel .apb-rx-quote{flex:0 0 clamp(260px,80vw,340px);scroll-snap-align:start;margin:0}

/* single (one hero testimonial) */
.apb-rx-tsingle{margin:0;max-width:760px;margin-inline:auto;text-align:center;padding:clamp(30px,5vw,52px);
  border-radius:calc(var(--apb-rx-radius,16px) * 1.4);background:var(--apb-rx-surface,#fff);border:1px solid var(--apb-rx-line,#e7e8ec);box-shadow:var(--apb-rx-shadow-2)}
.apb-rx-tsingle .apb-rx-tstars{justify-content:center;font-size:16px}
.apb-rx-tsingle blockquote{margin:0;font-size:clamp(20px,2.6vw,28px);line-height:1.4;letter-spacing:-.01em;font-weight:600}
.apb-rx-tsingle .apb-rx-tby{justify-content:center;margin-top:22px}

/* rating summary headline */
.apb-rx-trating-sum{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-bottom:clamp(24px,3vw,36px)}
.apb-rx-trating-sum .apb-rx-tstars{margin:0;font-size:20px}
.apb-rx-trating-sum span{font-size:17px;font-weight:700;color:var(--apb-rx-ink,#0b0d12)}

/* image-forward single testimonials (portrait / cutout / overlay) — big editorial quote glyph */
.apb-rx-tportrait,.apb-rx-tcutout{max-width:var(--apb-pg-maxw,1120px);margin-inline:auto;border-radius:calc(var(--apb-rx-radius,16px) * 1.5);overflow:hidden;
  border:1px solid var(--apb-rx-line,#e7e8ec);background:var(--apb-rx-surface,#fff);box-shadow:var(--apb-rx-shadow-2)}
/* media() renders <div class="apb-rx-tphoto"><img></div> — size the wrapper, cover the inner img (honour its --apb-rx-focal) */
.apb-rx-tphoto{display:block;width:100%;height:100%}
.apb-rx-tphoto>img{width:100%;height:100%;object-fit:cover;object-position:var(--apb-rx-focal,50% 50%);display:block}
.apb-rx-tportrait blockquote,.apb-rx-tcutout blockquote,.apb-rx-toverlay blockquote{margin:0;position:relative}
.apb-rx-tportrait blockquote::before,.apb-rx-tcutout blockquote::before,.apb-rx-toverlay blockquote::before{content:"\201C";position:absolute;top:-.44em;left:-.06em;
  font-family:Georgia,"Times New Roman",serif;font-size:3.2em;line-height:1;color:var(--apb-rx-brand,#4f46e5);opacity:.16;pointer-events:none}

/* portrait — tall photo | quote panel (real 2-col split; --apb-rx-split ≈ old 1.05fr/1fr ratio) */
.apb-rx-tportrait{display:grid;grid-template-columns:var(--apb-rx-split,51%) minmax(0,1fr);align-items:stretch}
.apb-rx-tphoto-wrap{position:relative;min-height:340px;background:var(--apb-rx-soft)}
.apb-rx-tpanel{padding:clamp(28px,4vw,52px);display:flex;flex-direction:column;justify-content:center}
.apb-rx-tpanel blockquote{font-size:clamp(20px,2.3vw,27px);line-height:1.42;letter-spacing:-.012em;font-weight:600;padding-left:.2em}
.apb-rx-tpanel .apb-rx-tby{margin-top:22px}

/* cutout — brand panel with the person bleeding in beside the quote (real 2-col split; --apb-rx-split ≈ old 1.2fr/.9fr ratio) */
.apb-rx-tcutout{display:grid;grid-template-columns:var(--apb-rx-split,57%) minmax(0,1fr);align-items:end;position:relative;
  background:radial-gradient(120% 140% at 100% 100%,var(--apb-rx-soft),var(--apb-rx-surface,#fff) 60%)}
.apb-rx-tcutout-panel{padding:clamp(30px,4vw,56px);align-self:center}
.apb-rx-tcutout-panel blockquote{font-size:clamp(20px,2.4vw,28px);line-height:1.4;letter-spacing:-.012em;font-weight:650;padding-left:.2em}
.apb-rx-tcutout-panel .apb-rx-tby{margin-top:22px}
.apb-rx-tcutout-photo{position:relative;align-self:end;min-height:300px}
.apb-rx-tcutout-photo::before{content:"";position:absolute;inset:auto 6% 0 6%;height:64%;border-radius:50%;
  background:radial-gradient(closest-side,var(--apb-rx-brand,#4f46e5),transparent);opacity:.16;filter:blur(6px)}
.apb-rx-tcutout-photo .apb-rx-tphoto{position:relative;height:100%;max-height:440px;
  -webkit-mask-image:linear-gradient(180deg,#000 82%,transparent);mask-image:linear-gradient(180deg,#000 82%,transparent)}
.apb-rx-tcutout-photo .apb-rx-tphoto>img{object-position:var(--apb-rx-focal,50% 0%)}

/* overlay — quote over a full-bleed photo with scrim */
.apb-rx-toverlay{position:relative;max-width:var(--apb-pg-maxw,1120px);margin-inline:auto;min-height:clamp(400px,52vw,560px);
  border-radius:calc(var(--apb-rx-radius,16px) * 1.5);overflow:hidden;display:flex;align-items:flex-end;isolation:isolate}
.apb-rx-toverlay .apb-rx-tphoto{position:absolute;inset:0;z-index:-2}
.apb-rx-toverlay::after{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(0deg,rgba(8,10,22,.82),rgba(8,10,22,.28) 52%,rgba(8,10,22,.06))}
/* body-local scrim so long quotes stay legible even where the global scrim is faint (e.g. light photos) */
.apb-rx-toverlay-body{padding:clamp(34px,5vw,60px) clamp(28px,5vw,56px) clamp(28px,5vw,56px);max-width:680px;color:#fff;
  background:linear-gradient(0deg,rgba(8,10,22,.55),rgba(8,10,22,.14) 78%,transparent);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}
.apb-rx-toverlay-body blockquote{font-size:clamp(22px,3vw,34px);line-height:1.34;letter-spacing:-.015em;font-weight:650;padding-left:.16em}
.apb-rx-toverlay-body blockquote::before{color:#fff;opacity:.28}
.apb-rx-toverlay-body .apb-rx-tstars{color:#ffe08a}.apb-rx-toverlay-body .apb-rx-tstars-off{color:rgba(255,255,255,.32)}
.apb-rx-toverlay-body .apb-rx-tmetric{color:#fff}
.apb-rx-toverlay-body .apb-rx-tby strong{color:#fff}.apb-rx-toverlay-body .apb-rx-tby span:not(.apb-rx-tinitials){color:rgba(255,255,255,.82)}
.apb-rx-toverlay-body .apb-rx-tby{margin-top:20px}
@media(max-width:720px){
  .apb-rx-tportrait,.apb-rx-tcutout{grid-template-columns:1fr}
  .apb-rx-tphoto-wrap{min-height:300px}
  .apb-rx-tcutout{align-items:stretch}
  .apb-rx-tcutout-photo{min-height:280px}
}
@media(prefers-reduced-motion:reduce){.apb-rx-quote{transition:none}.apb-rx-quote:hover{transform:none}}

/* spotlight — hero quote + supporting rail (real 2-col split; --apb-rx-split ≈ old 1.35fr/1fr ratio) */
.apb-rx-tspot{max-width:var(--apb-pg-maxw,1120px);margin-inline:auto;display:grid;grid-template-columns:var(--apb-rx-split,57%) minmax(0,1fr);gap:var(--apb-rx-feat-gap,20px);align-items:start}
/* single testimonial (rail omitted) → hero spans the full row, no empty reserved column (parity with feat/pricing spotlight) */
.apb-rx-tspot-hero:only-child{grid-column:1/-1}
.apb-rx-tspot-hero .apb-rx-tsingle{text-align:left;margin:0;height:100%}
.apb-rx-tspot-hero .apb-rx-tsingle .apb-rx-tstars,.apb-rx-tspot-hero .apb-rx-tsingle .apb-rx-tby{justify-content:flex-start}
.apb-rx-tspot-hero .apb-rx-tsingle blockquote{font-size:clamp(21px,2.5vw,30px)}
.apb-rx-tspot-rail{display:flex;flex-direction:column;gap:var(--apb-rx-feat-gap,16px)}
.apb-rx-tspot-rail .apb-rx-quote{margin:0}
@media(max-width:820px){.apb-rx-tspot{grid-template-columns:1fr}}

/* marquee — auto-scrolling quote ticker (CSS-only, seamless via a duplicated group) */
.apb-rx-tmarquee{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.apb-rx-tmarquee-track{display:flex;width:max-content;animation:apb-rx-tmarquee 46s linear infinite}
.apb-rx-tmarquee:hover .apb-rx-tmarquee-track{animation-play-state:paused}
.apb-rx-tmarquee-group{display:flex;gap:var(--apb-rx-feat-gap,16px);padding-right:var(--apb-rx-feat-gap,16px)}
.apb-rx-tchip{flex:0 0 clamp(260px,32vw,340px);margin:0;background:var(--apb-rx-surface,#fff);border:1px solid var(--apb-rx-line,#e7e8ec);
  border-radius:var(--apb-rx-radius,16px);padding:22px;box-shadow:var(--apb-rx-shadow-1)}
.apb-rx-tchip blockquote{margin:0;font-size:15px;line-height:1.5}
@keyframes apb-rx-tmarquee{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.apb-rx-tmarquee{overflow-x:auto}.apb-rx-tmarquee-track{animation:none}.apb-rx-tmarquee-group[aria-hidden]{display:none}}

/* stat — metric-led impact cards */
.apb-rx-tstats{display:grid;grid-template-columns:repeat(var(--apb-rx-cols,3),minmax(0,1fr));gap:18px;max-width:var(--apb-pg-maxw,1120px);margin-inline:auto}
@media(max-width:760px){.apb-rx-tstats{grid-template-columns:1fr}}
.apb-rx-tstat-card{background:var(--apb-rx-surface,#fff);border:1px solid var(--apb-rx-line,#e7e8ec);border-radius:calc(var(--apb-rx-radius,16px) * 1.2);padding:clamp(24px,3vw,34px);
  box-shadow:var(--apb-rx-shadow-1);display:flex;flex-direction:column}
.apb-rx-tstat-n{font-size:clamp(38px,5vw,56px);font-weight:800;letter-spacing:-.03em;line-height:1;margin-bottom:14px;
  color:var(--apb-rx-accent-text,var(--apb-rx-brand,#4f46e5))}
.apb-rx-tstat-card blockquote{margin:0;font-size:16px;line-height:1.5;font-weight:550}
.apb-rx-tstat-card .apb-rx-tby{margin-top:auto;padding-top:18px}

/* video — play-button poster cards */
.apb-rx-tvideos{display:grid;grid-template-columns:repeat(var(--apb-rx-cols,3),minmax(0,1fr));gap:20px;max-width:var(--apb-pg-maxw,1120px);margin-inline:auto}
@media(max-width:760px){.apb-rx-tvideos{grid-template-columns:1fr}}
.apb-rx-tvideo-card{margin:0;display:flex;flex-direction:column}
.apb-rx-tvideo-thumb{position:relative;display:block;aspect-ratio:16/10;border-radius:var(--apb-rx-radius,16px);overflow:hidden;background:var(--apb-rx-soft);margin-bottom:16px}
.apb-rx-tvideo-thumb .apb-rx-tphoto{position:absolute;inset:0}
.apb-rx-tplay{position:absolute;left:50%;top:50%;width:60px;height:60px;transform:translate(-50%,-50%);border-radius:50%;
  background:rgba(255,255,255,.92);box-shadow:0 10px 30px -8px rgba(8,10,22,.5);transition:transform var(--apb-rx-t,.28s) var(--apb-rx-ease,ease)}
.apb-rx-tplay::before{content:"";position:absolute;left:54%;top:50%;transform:translate(-50%,-50%);border-style:solid;border-width:11px 0 11px 18px;
  border-color:transparent transparent transparent var(--apb-rx-brand,#4f46e5)}
.apb-rx-tvideo-thumb:hover .apb-rx-tplay{transform:translate(-50%,-50%) scale(1.08)}
.apb-rx-tvideo-card blockquote{margin:0;font-size:16px;line-height:1.5;font-weight:550}

/* bento — mixed-size mosaic */
.apb-rx-tbento{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:16px;max-width:var(--apb-pg-maxw,1120px);margin-inline:auto}
.apb-rx-tbento-tile{margin:0;background:var(--apb-rx-surface,#fff);border:1px solid var(--apb-rx-line,#e7e8ec);border-radius:var(--apb-rx-radius,16px);
  padding:24px;box-shadow:var(--apb-rx-shadow-1);display:flex;flex-direction:column}
.apb-rx-tbento-tile blockquote{margin:0;font-size:15.5px;line-height:1.5}
.apb-rx-tbento-tile .apb-rx-tby{margin-top:auto;padding-top:16px}
.apb-rx-tbento-tile--big{grid-column:span 2;grid-row:span 2;
  background:linear-gradient(135deg,var(--apb-rx-brand,#4f46e5),var(--apb-rx-brand2,#7c3aed));border-color:transparent;color:#fff;
  box-shadow:var(--apb-rx-shadow-3,0 30px 70px -20px rgba(11,13,18,.3))}
.apb-rx-tbento-tile--big blockquote{font-size:clamp(19px,2.2vw,26px);line-height:1.4;font-weight:600}
.apb-rx-tbento-tile--big .apb-rx-tby strong{color:#fff}.apb-rx-tbento-tile--big .apb-rx-tby span:not(.apb-rx-tinitials){color:rgba(255,255,255,.8)}
.apb-rx-tbento-tile--big .apb-rx-tstars{color:#ffe08a}.apb-rx-tbento-tile--big .apb-rx-tstars-off{color:rgba(255,255,255,.3)}
.apb-rx-tbento-tile--big .apb-rx-tmetric{color:#fff}.apb-rx-tbento-tile--big .apb-rx-tinitials{background:rgba(255,255,255,.22)}
@media(max-width:760px){.apb-rx-tbento{grid-template-columns:1fr}.apb-rx-tbento-tile--big{grid-column:auto;grid-row:auto}}

/* Brand edge-fade mask — deterministic alpha mask applied at placement by
   APB_Media_Archetype_Store::frame_render_attrs() (mode whitelisted, --f intensity / --s spread clamped server-side).
   Alpha mask: the media dissolves into whatever background sits behind it. */
.apb-media-fade{--f:.55;--s:.5}
.apb-media-fade[data-fade="edges"]{-webkit-mask-image:radial-gradient(120% 120% at 50% 50%,#000 calc(100% - var(--f)*60% - var(--s)*30%),transparent calc(100% - var(--f)*60% + var(--s)*30%));mask-image:radial-gradient(120% 120% at 50% 50%,#000 calc(100% - var(--f)*60% - var(--s)*30%),transparent calc(100% - var(--f)*60% + var(--s)*30%))}
.apb-media-fade[data-fade="bottom"]{-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - var(--f)*75% - var(--s)*25%),transparent calc(100% - var(--f)*75% + var(--s)*25%));mask-image:linear-gradient(180deg,#000 calc(100% - var(--f)*75% - var(--s)*25%),transparent calc(100% - var(--f)*75% + var(--s)*25%))}
.apb-media-fade[data-fade="top"]{-webkit-mask-image:linear-gradient(0deg,#000 calc(100% - var(--f)*75% - var(--s)*25%),transparent calc(100% - var(--f)*75% + var(--s)*25%));mask-image:linear-gradient(0deg,#000 calc(100% - var(--f)*75% - var(--s)*25%),transparent calc(100% - var(--f)*75% + var(--s)*25%))}
.apb-media-fade[data-fade="radial"]{-webkit-mask-image:radial-gradient(75% 75% at 50% 45%,#000 calc(25% + var(--f)*25% - var(--s)*20%),transparent calc(45% + var(--f)*25% + var(--s)*30%));mask-image:radial-gradient(75% 75% at 50% 45%,#000 calc(25% + var(--f)*25% - var(--s)*20%),transparent calc(45% + var(--f)*25% + var(--s)*30%))}

/* testimonial wall: per-card CTA + CSS-only collapse/expander (brand-token based) */
.apb-rx-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.apb-rx-quote .apb-rx-tcard-cta{display:block;width:100%;text-align:center;margin-top:14px}
.apb-rx-twall-wrap{position:relative;max-width:var(--apb-pg-maxw,1120px);margin-inline:auto}
.apb-rx-twall--clip{max-height:640px;overflow:hidden}
.apb-rx-twall-toggle:checked ~ .apb-rx-twall--clip{max-height:none}
/* fade mask over the collapsed bottom edge, hidden once expanded */
.apb-rx-twall-wrap::after{content:"";position:absolute;left:0;right:0;bottom:0;height:190px;pointer-events:none;background:linear-gradient(180deg,transparent,var(--apb-rx-surface,#fff))}
.apb-rx-twall-wrap:has(.apb-rx-twall-toggle:checked)::after{display:none}
.apb-rx-twall-toggle:checked ~ .apb-rx-twall-more{display:none}
.apb-rx-twall-more{position:absolute;left:50%;bottom:6px;transform:translateX(-50%);z-index:2;display:inline-flex;align-items:center;gap:9px;cursor:pointer;
  background:var(--apb-rx-surface,#fff);border:1px solid var(--apb-rx-line,#e7e8ec);border-radius:var(--apb-rx-radius-pill,999px);
  padding:12px 24px;font-weight:700;color:var(--apb-rx-ink,#0b0d12);box-shadow:var(--apb-rx-shadow-2,0 14px 34px -12px rgba(11,13,18,.22))}
.apb-rx-twall-more:hover{border-color:var(--apb-rx-line-accent,#e7e8ec)}
.apb-rx-twall-plus{font-size:19px;line-height:1;color:var(--apb-rx-accent-text,var(--apb-rx-brand,#4f46e5))}
/* Brand background overlay — a layer over .apb-rx-media <img>, emitted by
   APB_Media_Archetype_Store::overlay_render_attrs() (type/direction whitelisted, --ov clamped).
   Auto scrim = contrast-targeted gradient; tint/gradient/duotone = brand-token driven. */
.apb-has-overlay{position:relative;isolation:isolate}
.apb-media-overlay{position:absolute;inset:0;pointer-events:none;z-index:1;--ov:.55;--ov1:var(--apb-rx-brand,#4f46e5);--ov2:#0a0e16}
.apb-media-overlay[data-ov="scrim"]{background:linear-gradient(0deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.72) 22%,rgba(0,0,0,.32) 48%,transparent 72%)}
.apb-media-overlay[data-ov="scrim"][data-ovdir="top"]{transform:scaleY(-1)}
.apb-media-overlay[data-ov="scrim"][data-ovdir="center"]{background:radial-gradient(120% 80% at 50% 50%,rgba(0,0,0,.8) 0%,rgba(0,0,0,.55) 40%,transparent 78%)}
.apb-media-overlay[data-ov="tint"]{background:var(--ov1);opacity:var(--ov)}
.apb-media-overlay[data-ov="gradient"]{background:linear-gradient(135deg,var(--ov1),var(--ov2));opacity:var(--ov)}
.apb-media-overlay[data-ov="duotone"]{background:linear-gradient(135deg,var(--ov2),var(--ov1));mix-blend-mode:color;opacity:.92}

/* ---- embedded real APB form host (contact / lead_form / share_subscribe with a form_id) ---- */
.apb-rx-formhost{width:100%;min-width:0;font-family:var(--apb-rx-font,inherit)}
.apb-rx-formhost .apb-form{max-width:none;margin:0}
.apb-rx-formhost--inline{max-width:520px;margin-inline:auto}
.apb-rx-contact .apb-rx-formhost,.apb-rx-leadform .apb-rx-formhost{align-self:start}

/* ---- contact / lead_form layout variants ---- */
/* split_info: contact-detail rows beside the form */
.apb-rx-contact-details{list-style:none;margin:20px 0 0;padding:0;display:flex;flex-direction:column;gap:14px}
.apb-rx-contact-details li{display:flex;align-items:center;gap:12px;font-size:15px;color:var(--apb-rx-ink)}
.apb-rx-contact-dic{flex:0 0 auto;width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:var(--apb-rx-soft,#f4f5f7);color:var(--apb-rx-accent-text,var(--apb-rx-brand))}
.apb-rx-contact-dic svg{width:19px;height:19px}
/* centered: a single centered form card */
.apb-rx-contact--centered .apb-rx-contact-centered{max-width:520px;margin-inline:auto;background:var(--apb-rx-surface,#fff);border:1px solid var(--apb-rx-line,#e7e8ec);border-radius:var(--apb-rx-radius,16px);padding:clamp(24px,4vw,40px);box-shadow:var(--apb-rx-shadow-2,0 12px 30px -16px rgba(11,13,18,.16))}
.apb-rx-contact--centered .apb-rx-contact-head{text-align:center;margin-bottom:22px}
.apb-rx-contact--centered .apb-rx-contact-head h2{margin:0}
/* overlay: form card over a background image */
.apb-rx-contact--overlay{position:relative;padding:clamp(40px,6vw,72px) 24px;overflow:hidden;display:flex;justify-content:center;border-radius:var(--apb-rx-radius,16px)}
.apb-rx-contact-bg{position:absolute;inset:0}
.apb-rx-contact-bg img{width:100%;height:100%;object-fit:cover}
.apb-rx-contact-scrim{position:absolute;inset:0;background:linear-gradient(120deg,rgba(8,10,15,.72),rgba(8,10,15,.42))}
.apb-rx-contact-card{position:relative;width:min(520px,100%);background:var(--apb-rx-surface,#fff);border-radius:var(--apb-rx-radius,16px);padding:clamp(24px,4vw,36px);box-shadow:0 24px 60px -20px rgba(11,13,18,.5)}
.apb-rx-contact-card .apb-rx-contact-head{margin-bottom:20px}
.apb-rx-contact-card .apb-rx-contact-head h2{margin:0}
/* lead_form inline: one horizontal row */
.apb-rx-leadform--inline .apb-rx-leadform-inline{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 28px;background:var(--apb-rx-soft,#f4f5f7);border-radius:var(--apb-rx-radius,16px);padding:clamp(20px,3vw,28px)}
.apb-rx-leadform-inline-head h2{margin:0;font-size:clamp(19px,2.2vw,24px)}
.apb-rx-leadform-inline-head .apb-rx-lead{margin:4px 0 0}
.apb-rx-form--inline{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}
.apb-rx-form--inline label{flex:1 1 150px;min-width:0}
.apb-rx-form--inline .apb-rx-btn{flex:0 0 auto;align-self:stretch;justify-self:auto}
/* lead_form split_benefits: value bullets beside the form */
.apb-rx-leadform-benefits{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-direction:column;gap:12px}
.apb-rx-leadform-benefits li{display:flex;align-items:center;gap:10px;font-size:15px;color:var(--apb-rx-ink)}
.apb-rx-leadform-benefits svg{flex:0 0 auto;width:18px;height:18px;color:var(--apb-rx-accent-text,var(--apb-rx-brand))}
@media(max-width:640px){.apb-rx-leadform--inline .apb-rx-leadform-inline{flex-direction:column;align-items:stretch}.apb-rx-form--inline{flex-direction:column;align-items:stretch}}

/* ---- contact split_media: form beside an image ---- */
.apb-rx-contact--media .apb-rx-contact-mediagrid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,4vw,56px);align-items:center}
.apb-rx-contact--media .apb-rx-contact-head{margin-bottom:20px}
.apb-rx-contact--media .apb-rx-contact-head h2{margin:0}
.apb-rx-contact-pic{aspect-ratio:4/5;border-radius:var(--apb-rx-radius,16px);overflow:hidden}
.apb-rx-contact-pic img{width:100%;height:100%;object-fit:cover}
@media(max-width:760px){.apb-rx-contact--media .apb-rx-contact-mediagrid{grid-template-columns:1fr}.apb-rx-contact-pic{order:-1;aspect-ratio:16/10}}
/* ---- lead_form waitlist: centered signup with social proof ---- */
.apb-rx-leadform--waitlist .apb-rx-waitlist{max-width:540px;margin-inline:auto;text-align:center}
.apb-rx-waitlist-head{margin-bottom:24px}
.apb-rx-waitlist-head h2{margin:0;font-size:clamp(28px,4vw,44px);letter-spacing:-.02em}
.apb-rx-waitlist-head .apb-rx-lead{margin:12px auto 0;max-width:44ch}
.apb-rx-leadform--waitlist .apb-rx-form{max-width:440px;margin-inline:auto;text-align:left}
.apb-rx-waitlist-proof{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:22px;font-size:14px;color:var(--apb-rx-muted,#6b7280)}
.apb-rx-waitlist-avatars{display:flex}
.apb-rx-waitlist-avatars img{width:34px;height:34px;border-radius:50%;object-fit:cover;border:2px solid var(--apb-rx-surface,#fff);margin-left:-10px}
.apb-rx-waitlist-avatars img:first-child{margin-left:0}
/* ---- lead_form proof: form beside a trust panel ---- */
.apb-rx-leadform--proof .apb-rx-lfproof{align-self:center}
.apb-rx-lfproof-q{margin:20px 0 0;font-family:var(--apb-rx-font-display,inherit);font-size:clamp(18px,2.2vw,23px);font-weight:600;line-height:1.4;letter-spacing:-.01em;color:var(--apb-rx-ink)}
.apb-rx-lfproof-q cite{display:block;margin-top:12px;font-style:normal;font-size:14px;font-weight:500;color:var(--apb-rx-muted,#6b7280)}
.apb-rx-lfproof-rating{display:flex;align-items:center;gap:8px;margin-top:18px;font-size:14px;font-weight:600;color:var(--apb-rx-ink)}
.apb-rx-lfproof-stars{color:#f5a623;letter-spacing:1px}
.apb-rx-lfproof-logos{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-top:22px;opacity:.7}
.apb-rx-lfproof-logos img{height:24px;width:auto;object-fit:contain;filter:grayscale(1)}

/* ---- lead_form conversion combos: slider / testimonials / stats / steps ---- */
.apb-rx-leadform--slider,.apb-rx-leadform--tms,.apb-rx-leadform--stats,.apb-rx-leadform--steps{align-items:center}
.apb-rx-lf-head{margin-bottom:20px}
.apb-rx-lf-head h2{margin:0}
.apb-rx-lf-aside{align-self:center}
/* split_slider: auto-crossfading image slider */
.apb-rx-lfslider{position:relative;aspect-ratio:4/3;border-radius:var(--apb-rx-radius,16px);overflow:hidden;background:var(--apb-rx-soft,#f4f5f7)}
.apb-rx-lfslider img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0}
.apb-rx-lfslider--n1 img{opacity:1}
.apb-rx-lfslider--n2 img{animation:apb-cf2 8s infinite}
.apb-rx-lfslider--n3 img{animation:apb-cf3 12s infinite}
.apb-rx-lfslider--n4 img{animation:apb-cf4 16s infinite}
.apb-rx-lfslider--n5 img{animation:apb-cf5 20s infinite}
@keyframes apb-cf2{0%{opacity:0}3%,50%{opacity:1}53%,100%{opacity:0}}
@keyframes apb-cf3{0%{opacity:0}3%,33%{opacity:1}36%,100%{opacity:0}}
@keyframes apb-cf4{0%{opacity:0}3%,25%{opacity:1}28%,100%{opacity:0}}
@keyframes apb-cf5{0%{opacity:0}3%,20%{opacity:1}23%,100%{opacity:0}}
/* split_testimonials: stacked mini quotes */
.apb-rx-lftms{display:flex;flex-direction:column;gap:14px;margin-top:20px}
.apb-rx-lftm{margin:0;padding:18px 20px;border:1px solid var(--apb-rx-line,#e7e8ec);border-radius:var(--apb-rx-radius,16px);background:var(--apb-rx-surface,#fff)}
.apb-rx-lftm p{margin:0 0 12px;font-size:15px;line-height:1.5;color:var(--apb-rx-ink)}
.apb-rx-lftm figcaption{display:flex;align-items:center;gap:10px;font-size:13px}
.apb-rx-lftm figcaption img{width:34px;height:34px;border-radius:50%;object-fit:cover;flex:0 0 auto}
.apb-rx-lftm figcaption b{color:var(--apb-rx-ink);font-weight:700}
.apb-rx-lftm figcaption em{display:block;font-style:normal;color:var(--apb-rx-muted,#6b7280)}
/* split_stats: metric column */
.apb-rx-lfstats{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px}
.apb-rx-lfstat b{display:block;font-family:var(--apb-rx-font-display,inherit);font-size:clamp(28px,3.4vw,38px);font-weight:800;letter-spacing:-.02em;line-height:1;color:var(--apb-rx-accent-text,var(--apb-rx-brand))}
.apb-rx-lfstat span{display:block;margin-top:6px;font-size:14px;color:var(--apb-rx-muted,#6b7280)}
/* split_steps: what-happens-next */
.apb-rx-lfsteps{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-direction:column;gap:16px}
.apb-rx-lfsteps li{display:flex;gap:14px;align-items:flex-start}
.apb-rx-lfstep-n{flex:0 0 auto;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:14px;font-weight:700;background:var(--apb-rx-brand);color:#fff}
.apb-rx-lfsteps b{display:block;font-size:15px;font-weight:700;color:var(--apb-rx-ink)}
.apb-rx-lfsteps li span:not(.apb-rx-lfstep-n){display:block;margin-top:2px;font-size:14px;color:var(--apb-rx-muted,#6b7280);line-height:1.5}
@media(prefers-reduced-motion:reduce){.apb-rx-lfslider img{animation:none}.apb-rx-lfslider img:first-child{opacity:1}}
@media(max-width:760px){.apb-rx-leadform--slider .apb-rx-lfslider{order:-1;aspect-ratio:16/10}}
