/* Audience sections (site/content/audience.mjs) — shared by cloud.infinibotos.com
   and infinibotos.com. Self-contained: only the aud- namespace, brand colours with
   fallbacks, inherits each site's fonts. Transform/opacity animations only. */
:root {
  --aud-gold: #fbbf24;
  --aud-gold-2: #f59e0b;
  --aud-gold-soft: rgba(251, 191, 36, .14);
  --aud-ink: #f4f1ea;
  --aud-muted: #b5b0a6;
  --aud-line: rgba(255, 255, 255, .09);
  --aud-line-2: rgba(251, 191, 36, .32);
  --aud-card: rgba(18, 16, 12, .72);
  --aud-r: 18px;
}
.aud-sec { position: relative; padding: clamp(56px, 9vw, 112px) 0; color: var(--aud-ink); }
.aud-sec + .aud-sec { padding-top: clamp(24px, 5vw, 64px); }
.aud-wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.aud-head { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.aud-head--left { margin-left: 0; text-align: left; }
.aud-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aud-gold); }
.aud-eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.aud-head h2 { margin: 0; text-wrap: balance; }
.aud-head .aud-lede { margin: 16px 0 0; font-size: clamp(1rem, 1.6vw, 1.14rem); line-height: 1.6; color: var(--aud-muted); text-wrap: pretty; }
.aud-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; color: var(--aud-gold); background: var(--aud-gold-soft); border: 1px solid var(--aud-line-2); }
.aud-ico svg { width: 22px; height: 22px; }
.aud-ico--sm { width: 36px; height: 36px; border-radius: 10px; }
.aud-ico--sm svg { width: 18px; height: 18px; }

/* Cards + grids */
.aud-grid { display: grid; gap: 16px; }
.aud-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aud-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aud-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.aud-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--aud-r); background: var(--aud-card); border: 1px solid var(--aud-line); box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset; }
.aud-card h3, .aud-steps h3, .aud-list h3, .aud-pt h3 { margin: 4px 0 0; font-size: 1.08rem; line-height: 1.3; color: var(--aud-ink); }
.aud-card p, .aud-steps p, .aud-list p, .aud-pt p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--aud-muted); }
.aud-card--flat { background: rgba(255, 255, 255, .025); }
.aud-say { margin-top: auto !important; padding: 10px 12px; border-radius: 12px; background: rgba(251, 191, 36, .06); border: 1px dashed var(--aud-line-2); color: var(--aud-ink) !important; font-size: .9rem !important; }
.aud-say span { display: block; margin-bottom: 2px; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--aud-gold); }
.aud-tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; color: var(--aud-gold); background: var(--aud-gold-soft); border: 1px solid var(--aud-line-2); }
.aud-ticks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.aud-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.45; color: var(--aud-ink); }
.aud-ticks svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--aud-gold); }
.aud-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 22px auto 0; max-width: 640px; text-align: center; font-size: .95rem; color: var(--aud-muted); }
.aud-note svg { width: 20px; height: 20px; flex: none; color: var(--aud-gold); }
.aud-fine { margin: 14px 0 0; text-align: center; font-size: .86rem; color: var(--aud-muted); }

/* Steps */
.aud-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.aud-steps li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 22px; border-radius: var(--aud-r); background: var(--aud-card); border: 1px solid var(--aud-line); }
.aud-steps__n { position: absolute; top: 18px; right: 20px; font-size: 2.4rem; font-weight: 800; line-height: 1; color: rgba(251, 191, 36, .16); }
.aud-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.aud-list li { display: flex; gap: 14px; align-items: flex-start; }
.aud-pt { display: flex; gap: 12px; align-items: flex-start; }
.aud-pt h3 { margin-top: 0; font-size: 1rem; }
.aud-pt p { font-size: .9rem; }

/* Split layout: copy + media */
.aud-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.aud-split--rev > :first-child { order: 2; }
.aud-modes .aud-split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); }
.aud-modes__cards { display: grid; gap: 14px; }
.aud-mode--advanced { border-color: var(--aud-line-2); }
.aud-how__clip { max-width: 920px; margin: clamp(24px, 4vw, 40px) auto 0; }

/* Clips */
.aud-clip { margin: 0; }
.aud-clip__box { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--aud-r); background: #050505; border: 1px solid var(--aud-line-2); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .6), 0 0 60px -20px rgba(251, 191, 36, .25); }
.aud-clip__box img, .aud-clip__box video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.aud-clip__box video { opacity: 0; transition: opacity .4s ease; }
.aud-clip.is-playing video { opacity: 1; }
.aud-clip--tall .aud-clip__box { aspect-ratio: 9 / 16; }
.aud-clip--phone { max-width: 300px; margin-inline: auto; }
.aud-clip--phone .aud-clip__box { border-radius: 30px; border-width: 6px; border-color: #1b1a17; outline: 1px solid var(--aud-line-2); }
.aud-clip__cap { position: absolute; left: 50%; bottom: 14px; z-index: 2; max-width: calc(100% - 72px); margin: 0; padding: 7px 12px; transform: translateX(-50%) translateY(4px); border-radius: 10px; font-size: .9rem; font-weight: 600; line-height: 1.35; text-align: center; color: #fff; background: rgba(0, 0, 0, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.aud-clip__cap.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.aud-clip__btn { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; opacity: 0; transition: opacity .25s; }
.aud-clip.is-ready .aud-clip__btn { opacity: 1; }
.aud-clip__btn:focus-visible { opacity: 1; outline: 2px solid var(--aud-gold); outline-offset: 2px; }
.aud-i-pause, .aud-i-play { display: block; width: 14px; height: 14px; }
.aud-i-pause { border-left: 4px solid #fff; border-right: 4px solid #fff; width: 12px; }
.aud-i-play { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.aud-clip figcaption { margin-top: 12px; text-align: center; font-size: .9rem; font-weight: 600; color: var(--aud-ink); }
.aud-clip figcaption small { display: block; margin-top: 4px; font-weight: 400; font-size: .8rem; color: var(--aud-muted); }
.aud-phone__media { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.aud-phone__media .aud-clip--b { margin-top: 48px; }
.aud-phone__pts { margin-top: 8px; gap: 18px; }

/* Plugins list */
.aud-plist { display: grid; gap: 10px; margin-bottom: 16px; }
.aud-pitem { display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 44px; border-radius: 14px; background: var(--aud-card); border: 1px solid var(--aud-line); color: var(--aud-ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.aud-pitem:hover { border-color: var(--aud-line-2); transform: translateY(-1px); }
.aud-pitem > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.aud-pitem small { font-size: .86rem; color: var(--aud-muted); line-height: 1.4; }
.aud-pitem > svg { width: 18px; height: 18px; color: var(--aud-gold); flex: none; }

/* Buttons */
.aud-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.aud-cta--left { justify-content: flex-start; }
.aud-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px; font-weight: 700; font-size: 1rem; text-decoration: none; color: var(--aud-ink); border: 1px solid var(--aud-line-2); background: rgba(255, 255, 255, .03); transition: transform .2s, box-shadow .2s; }
.aud-btn svg { width: 18px; height: 18px; }
.aud-btn--gold { color: #1a1204; border: 0; background: linear-gradient(180deg, #fcd34d, var(--aud-gold) 45%, var(--aud-gold-2)); box-shadow: 0 10px 30px -10px rgba(251, 191, 36, .6), 0 1px 0 rgba(255, 255, 255, .5) inset; }
.aud-btn:hover { transform: translateY(-1px); }
.aud-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--aud-gold); text-decoration: none; }
.aud-link svg { width: 16px; height: 16px; }

/* Hero media */
.aud-hero-media { position: relative; }
.aud-hero-media .aud-clip__box { box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .95), 0 0 90px -30px rgba(251, 191, 36, .45); }
.aud-hero-media figcaption { font-size: .85rem; }

/* Sticky mobile CTA */
.aud-sticky { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 10px; border-radius: 18px; background: rgba(10, 9, 7, .9); border: 1px solid var(--aud-line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .9); transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.aud-sticky.on { transform: translateY(0); }
.aud-sticky[hidden] { display: none; }
.aud-sticky__btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border-radius: 12px; font-weight: 800; font-size: 1rem; color: #1a1204; text-decoration: none; background: linear-gradient(180deg, #fcd34d, var(--aud-gold) 45%, var(--aud-gold-2)); }
.aud-sticky__btn svg { width: 18px; height: 18px; }
.aud-sticky__fine { text-align: center; font-size: .74rem; color: var(--aud-muted); }
@media (min-width: 761px) { .aud-sticky { display: none !important; } }

/* Responsive */
@media (max-width: 1000px) {
  .aud-grid--3, .aud-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aud-split, .aud-modes .aud-split { grid-template-columns: 1fr; }
  .aud-split--rev > :first-child { order: 0; }
}
@media (max-width: 760px) {
  .aud-wrap { width: min(100% - 32px, 560px); }
  .aud-grid--2, .aud-grid--3, .aud-grid--4, .aud-steps { grid-template-columns: 1fr; }
  .aud-grid { gap: 12px; }
  .aud-card, .aud-steps li { padding: 18px; }
  .aud-clip__box { aspect-ratio: 9 / 16; max-height: 78vh; margin-inline: auto; }
  .aud-clip:not(.aud-clip--phone) .aud-clip__box { max-width: min(100%, 420px); }
  .aud-clip--still .aud-clip__box { aspect-ratio: auto; max-height: none; }
  .aud-clip--still .aud-clip__box img { position: static; height: auto; }
  .aud-phone__media { grid-template-columns: 1fr 1fr; gap: 12px; }
  .aud-phone__media .aud-clip--b { margin-top: 32px; }
  .aud-clip--phone .aud-clip__box { border-radius: 22px; border-width: 4px; }
  .aud-cta, .aud-cta--left { flex-direction: column; align-items: stretch; }
  .aud-head { text-align: left; }
  .aud-note { justify-content: flex-start; text-align: left; }
  .aud-clip__cap { font-size: .82rem; bottom: 12px; }
  body.aud-has-sticky { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .aud-sticky, .aud-clip__box video, .aud-clip__cap, .aud-btn, .aud-pitem { transition: none; }
}

/* Hero: copy + real mesh recording (cloud home; the landing reuses the grid) */
.aud-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 56px); align-items: center; text-align: left; }
.aud-hero__copy h1 { margin: 18px 0 0 !important; max-width: 13ch; }
.aud-hero__copy .lede { margin-left: 0 !important; margin-right: 0 !important; }
.aud-hero__copy .lede b { color: var(--aud-gold); font-weight: 700; }
.aud-hero__copy .cta-row { justify-content: flex-start !important; }
.aud-hero__watch svg { width: 16px; height: 16px; }
@media (max-width: 1000px) {
  .aud-hero__grid { grid-template-columns: 1fr; text-align: center; }
  .aud-hero__copy h1 { margin-inline: auto !important; }
  .aud-hero__copy .lede { margin-inline: auto !important; }
  .aud-hero__copy .cta-row { justify-content: center !important; }
}
@media (max-width: 760px) {
  .aud-hero { padding-top: 18px !important; }
  .aud-hero__copy .pill { font-size: 11px; }
  .aud-hero__copy h1 { font-size: clamp(34px, 10.4vw, 46px) !important; max-width: 12ch; }
  .aud-hero__copy .lede { font-size: 16.5px; margin-top: 14px !important; }
  .aud-hero__copy .cta-row { flex-direction: column; align-items: stretch; margin-top: 20px !important; }
  .aud-hero__copy .cta-row .btn { width: 100%; justify-content: center; }
  .aud-hero__watch { display: none !important; }
  .aud-hero .hero__fine { margin-top: 12px; font-size: 13px; }
  .aud-hero-media { margin-top: 4px; }
  .aud-hero-media .aud-clip__box { max-height: 72vh; }
}

/* Closing plan CTAs */
.aud-close { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 28px auto 0; max-width: 980px; text-align: left; }
.aud-close__plan { display: flex; flex-direction: column; gap: 4px; padding: 16px; min-height: 44px; border-radius: 16px; border: 1px solid var(--aud-line); background: rgba(255, 255, 255, .03); color: var(--aud-ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.aud-close__plan b { font-size: 1.1rem; }
.aud-close__plan small { font-size: .86rem; color: var(--aud-muted); }
.aud-close__plan em { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-style: normal; font-weight: 800; color: var(--aud-gold); }
.aud-close__plan em svg { width: 16px; height: 16px; }
.aud-close__plan.is-hot { border-color: var(--aud-gold); background: linear-gradient(180deg, rgba(251, 191, 36, .14), rgba(251, 191, 36, .03)); }
.aud-close__plan:hover { transform: translateY(-2px); border-color: var(--aud-line-2); }
@media (max-width: 760px) { .aud-close { grid-template-columns: 1fr 1fr; } }
.aud-hero__copy h1 { font-size: clamp(40px, 4.7vw, 70px) !important; line-height: 1.02 !important; }
.aud-hero__copy h1 .it { display: inline !important; }
@media (max-width: 760px) { .aud-hero__copy h1 { font-size: clamp(31px, 9vw, 40px) !important; } }

/* Phones: compact steps, swipeable use cases (shorter scroll for social traffic) */
@media (max-width: 760px) {
  .aud-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; align-items: start; }
  .aud-steps li .aud-ico { grid-row: span 2; }
  .aud-steps li h3 { margin: 0; padding-right: 28px; }
  .aud-steps__n { font-size: 1.6rem; top: 14px; right: 14px; }
  .aud-biz .aud-grid--3 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 4px 16px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .aud-biz .aud-grid--3::-webkit-scrollbar { display: none; }
  .aud-biz .aud-card { flex: 0 0 84%; scroll-snap-align: center; }
  .aud-biz .aud-swipe { display: flex; }
}
.aud-swipe { display: none; align-items: center; justify-content: center; gap: 8px; margin: 2px 0 0; font-size: .8rem; color: var(--aud-muted); }
.aud-swipe svg { width: 16px; height: 16px; color: var(--aud-gold); }
/* Clips that only exist in one shape keep it on every screen */
@media (max-width: 760px) {
  .aud-clip--wide .aud-clip__box { aspect-ratio: 16 / 9; max-height: none; max-width: 100% !important; }
}
.aud-clip--tall:not(.aud-clip--phone) { max-width: 380px; margin-inline: auto; }
/* Small phone-frame clips: compact captions above the play button */
.aud-clip--phone .aud-clip__cap { max-width: calc(100% - 18px); bottom: 62px; padding: 5px 8px; font-size: .74rem; line-height: 1.3; }
@media (max-width: 760px) { .aud-clip--phone .aud-clip__cap { font-size: .66rem; bottom: 56px; } .aud-clip--phone .aud-clip__btn { width: 38px; height: 38px; } }
/* The poster image is the LCP; the video sits 1px inside it so its first frame (painted
   later) is never a larger LCP candidate. The box border hides the inset. */
.aud-clip__box video { inset: 1px; width: calc(100% - 2px); height: calc(100% - 2px); }

/* Long pages: skip rendering below-the-fold sections until they near the viewport
   (cuts style/layout work on slow phones; 'auto' remembers each section's real height). */
main > section:not(:first-child), main > .aud-sec { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* Hero clip: crop the recording's 1-2px edge (a green capture hairline) so only the gold frame shows. */
.aud-hero-media .aud-clip__box img, .aud-hero-media .aud-clip__box video { scale: 1.012; }

/* ── paid-first 11-29: proof + Cloud / Learn checkout + tiny free link in the home hero ── */
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.hero-proof li { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13.5px; color: var(--fg);
  background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--line-2, rgba(245, 242, 234, 0.14)); }
.hero-proof li > svg { width: 15px; height: 15px; color: var(--gold); }
.hero-proof__stars { color: var(--gold); letter-spacing: 1px; font-size: 12px; }
.hero-pay { margin-top: 18px; }
.hero__fine .hero-free { color: var(--fg-2); text-decoration: underline; text-decoration-color: rgba(245, 242, 234, 0.3); text-underline-offset: 3px; }
.aud-hero .hero-proof { justify-content: inherit; }
@media (max-width: 720px) {
  .aud-hero .hero-proof { justify-content: center; margin-top: 14px; }
  .aud-hero .hero-proof li { min-height: 30px; font-size: 12.5px; padding: 0 10px; }
  .aud-hero .hero-pay { flex-direction: column; gap: 10px; margin-top: 16px; }
  .aud-hero .hero-pay .btn { width: 100%; justify-content: center; }
  .aud-hero .hero__fine .hero-free { display: inline-flex; min-height: 32px; align-items: center; }
}
/* live-checkout-fix-1201: proof chips on one row on phones so the product visual shows sooner */
@media (max-width: 560px) {
  .aud-hero .hero-proof { flex-wrap: nowrap; gap: 6px; margin-top: 12px; }
  .aud-hero .hero-proof li { min-height: 30px; padding: 0 9px; font-size: 12px; white-space: nowrap; }
  .aud-hero .hero-proof__stars { letter-spacing: 0; font-size: 11px; }
  .aud-hero .hero-pay { margin-top: 14px; }
}
