/* =========================================================
   APPLE-STYLE LIGHT THEME — Hey Reviver sample (enhanced)
   White surfaces + SF typography + bold animations
   ========================================================= */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

/* --- Anti-snoop: kill text selection + native drag (real protection
   lives on the backend; this is just deterrence). Form fields keep
   selection so users can actually type and edit. ------------------- */
html,body{
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none;
  -webkit-touch-callout:none;
  -webkit-tap-highlight-color:transparent;
}
input,textarea,select,[contenteditable="true"],[contenteditable=""]{
  -webkit-user-select:text;
  -moz-user-select:text;
  -ms-user-select:text;
  user-select:text;
}
img,svg,audio,video{
  -webkit-user-drag:none;
  user-drag:none;
  pointer-events:auto;
}

html{
  scroll-behavior:smooth;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  width:100%;
}
body{
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Helvetica,Arial,sans-serif;
  color:#1d1d1f;
  background:#ffffff;
  line-height:1.47;
  font-weight:400;
  letter-spacing:-.003em;
  /* `clip` (not `hidden`) so it doesn't create a new scroll context that would break position:sticky on the nav */
  overflow-x:clip;
  width:100%;
  max-width:100vw;
  min-width:0;
}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none;transition:color .2s ease}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
ul{list-style:none}

:root{
  --ink:#1d1d1f;
  --ink-2:#424245;
  --grey:#86868b;
  --grey-2:#6e6e73;
  --hairline:#d2d2d7;
  --bg:#ffffff;
  --bg-grey:#f5f5f7;
  --blue:#0071e3;
  --blue-hover:#0077ed;
  --blue-active:#006edb;
  --grad:linear-gradient(135deg,#0071e3 0%,#7e57ff 50%,#ff5b7c 100%);
}

.ap-container{max-width:1080px;margin:0 auto;padding:0 22px;position:relative;z-index:2}
.ap-narrow{max-width:820px}
.ap-center{text-align:center}

/* ---------- Scroll progress ---------- */
.ap-progress{
  position:fixed;top:0;left:0;height:3px;width:0%;
  background:var(--grad);z-index:100;
  box-shadow:0 0 12px rgba(0,113,227,.4);
  transition:width .1s linear;
}

/* ---------- Subtle light mesh ---------- */
.ap-mesh{
  position:fixed;inset:-15%;z-index:0;pointer-events:none;
  background:
    radial-gradient(circle at 18% 22%,rgba(0,113,227,.10),transparent 45%),
    radial-gradient(circle at 82% 18%,rgba(255,91,124,.08),transparent 45%),
    radial-gradient(circle at 60% 78%,rgba(126,87,255,.08),transparent 45%);
  filter:blur(50px);
  animation:ap-mesh-shift 22s ease-in-out infinite;
}
@keyframes ap-mesh-shift{
  0%,100%{transform:translate(0,0) scale(1)}
  33%{transform:translate(-2%,2%) scale(1.04)}
  66%{transform:translate(2%,-2%) scale(.98)}
}

/* ---------- Top nav ---------- */
.ap-nav{
  position:sticky;top:0;z-index:50;
  background:rgba(251,251,253,.85);
  backdrop-filter:saturate(180%) blur(20px);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  border-bottom:1px solid rgba(0,0,0,.06);
  padding-left:env(safe-area-inset-left,0);
  padding-right:env(safe-area-inset-right,0);
}
.ap-nav-inner{
  max-width:1080px;margin:0 auto;padding:0 22px;
  height:56px;display:flex;align-items:center;
  justify-content:space-between;gap:24px;
}
.ap-logo{
  display:inline-flex;align-items:center;gap:10px;
  color:var(--ink);flex-shrink:0;
  text-decoration:none;
}
.ap-logo svg,.ap-logo img{
  height:32px;width:auto;max-width:100px;
  flex-shrink:0;display:block;
}
.ap-logo-text{
  font-size:17px;font-weight:600;letter-spacing:-.015em;
  color:var(--ink);
  white-space:nowrap;
}
.ap-nav-links{
  display:flex;align-items:center;gap:30px;
  font-size:12px;color:var(--ink);font-weight:400;letter-spacing:-.01em;
}
.ap-nav-links a{opacity:.85}
.ap-nav-links a:hover{opacity:1}
.ap-link{
  color:var(--blue);font-weight:400;
  display:inline-flex;align-items:center;gap:2px;
}
.ap-link:hover{text-decoration:underline}

/* Hamburger toggle (mobile) */
.ap-nav-toggle{
  display:none;
  width:44px;height:44px;
  border:none;background:transparent;cursor:pointer;
  padding:0;position:relative;
  flex-shrink:0;
}
.ap-nav-toggle span{
  display:block;position:absolute;left:50%;
  width:22px;height:2px;margin-left:-11px;
  background:var(--ink);border-radius:2px;
  transition:transform .3s cubic-bezier(.2,.7,.3,1),opacity .2s ease,top .3s cubic-bezier(.2,.7,.3,1);
}
.ap-nav-toggle span:nth-child(1){top:16px}
.ap-nav-toggle span:nth-child(2){top:22px}
.ap-nav-toggle span:nth-child(3){top:28px}
.ap-nav-toggle.open span:nth-child(1){top:22px;transform:rotate(45deg)}
.ap-nav-toggle.open span:nth-child(2){opacity:0}
.ap-nav-toggle.open span:nth-child(3){top:22px;transform:rotate(-45deg)}

/* ---------- Buttons ---------- */
.ap-btn{
  display:inline-flex;align-items:center;justify-content:center;
  height:42px;padding:0 22px;border-radius:980px;
  font-size:17px;font-weight:400;letter-spacing:-.01em;
  white-space:nowrap;transition:all .2s ease;
}
.ap-btn-primary{background:var(--blue);color:#fff}
.ap-btn-primary:hover{background:var(--blue-hover)}

/* ---------- Reveal ---------- */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .9s cubic-bezier(.2,.7,.3,1),transform .9s cubic-bezier(.2,.7,.3,1)}
.reveal.in{opacity:1;transform:translateY(0)}

/* =========================================================
   HERO
   ========================================================= */
.ap-hero{
  position:relative;
  padding:48px 0 0;
  text-align:center;
  overflow:visible;
}
.ap-hero-inner{max-width:980px;margin:0 auto;padding:0 22px;position:relative;z-index:2}

.ap-eyebrow.ap-rev{
  font-size:21px;font-weight:600;color:var(--ink);
  letter-spacing:-.01em;margin-bottom:6px;
}

.ap-display{
  font-size:clamp(38px,8.5vw,100px);
  font-weight:600;letter-spacing:-.04em;line-height:1.05;
  color:var(--ink);margin:8px 0 18px;
}
.ap-grad{
  background:var(--grad);
  background-size:200% 200%;
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
  animation:ap-grad-shift 8s ease-in-out infinite;
}
@keyframes ap-grad-shift{
  0%,100%{background-position:0% 50%}
  50%{background-position:100% 50%}
}

/* Rotator (light theme version) */
.ap-rotator{
  display:inline-block;position:relative;
  vertical-align:bottom;height:1.05em;overflow:hidden;
  min-width:4ch;max-width:100%;line-height:1.05;
}
.ap-rotator>span{
  display:block;line-height:1.05;
  animation:ap-rot-cycle 24s infinite;
  background:var(--grad);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
  white-space:nowrap;
}
@keyframes ap-rot-cycle{
  0%,10%   {transform:translateY(0)}
  12.5%,22.5%{transform:translateY(-100%)}
  25%,35%  {transform:translateY(-200%)}
  37.5%,47.5%{transform:translateY(-300%)}
  50%,60%  {transform:translateY(-400%)}
  62.5%,72.5%{transform:translateY(-500%)}
  75%,85%  {transform:translateY(-600%)}
  87.5%,97.5%{transform:translateY(-700%)}
  100%     {transform:translateY(-800%)}
}

.ap-tagline{
  font-size:clamp(18px,2.4vw,28px);
  font-weight:600;color:var(--ink);
  letter-spacing:-.015em;line-height:1.25;
  max-width:760px;margin:32px auto 32px;
}
.ap-pricing{
  font-size:17px;color:var(--ink-2);
  letter-spacing:-.01em;margin-bottom:24px;
}
.ap-pricing strong{font-weight:600;color:var(--ink)}
.ap-cta{
  display:flex;justify-content:center;align-items:center;
  gap:24px;flex-wrap:wrap;margin-bottom:60px;
}
.ap-cta .ap-link{font-size:17px}

/* Hero stage with floating chips */
.ap-stage{
  position:relative;
  max-width:560px;margin:30px auto 0;
  padding:40px 0 80px;
}
.ap-device{position:relative;z-index:2;perspective:1400px}
.ap-device-shadow{
  position:absolute;left:50%;bottom:-30px;
  width:80%;height:50px;
  transform:translateX(-50%);
  background:radial-gradient(ellipse at center,rgba(0,0,0,.18),transparent 70%);
  filter:blur(24px);
  z-index:0;
}
.ap-device-frame{
  position:relative;z-index:1;
  background:linear-gradient(180deg,#f5f5f7,#e8e8ed);
  padding:6px;border-radius:36px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 0 0 1px rgba(0,0,0,.06),
    0 30px 60px -20px rgba(0,0,0,.18);
  transform:rotateY(-5deg) rotateX(4deg);
  transition:transform .3s cubic-bezier(.2,.7,.3,1);
}
.ap-device-screen{
  background:#fff;border-radius:30px;
  padding:28px 26px;
  text-align:left;
  border:1px solid rgba(0,0,0,.04);
}
.ap-call-bar{
  display:flex;justify-content:space-between;align-items:center;
  font-size:12px;font-weight:500;color:var(--grey-2);
  padding-bottom:14px;border-bottom:1px solid var(--hairline);
  margin-bottom:14px;
}
.ap-call-status{display:inline-flex;align-items:center;gap:6px;color:var(--blue);font-weight:500}
.ap-dot{
  width:7px;height:7px;border-radius:50%;background:var(--blue);
  animation:ap-blink 1.4s infinite;
}
@keyframes ap-blink{50%{opacity:.3}}
.ap-call-tag{
  background:#f5f5f7;color:var(--ink-2);
  padding:3px 9px;border-radius:5px;font-weight:500;
}
.ap-call-name{font-size:22px;font-weight:600;color:var(--ink);letter-spacing:-.02em}
.ap-call-meta{font-size:13px;color:var(--grey);margin:2px 0 16px}
.ap-wave{
  display:flex;justify-content:center;align-items:center;
  gap:3px;height:46px;margin-bottom:18px;
}
.ap-wave span{
  display:block;width:3px;border-radius:2px;
  background:linear-gradient(180deg,var(--blue),#7e57ff);
  animation:ap-wave 1.2s ease-in-out infinite;
}
@keyframes ap-wave{
  0%,100%{transform:scaleY(.3)}
  50%{transform:scaleY(1)}
}
.ap-wave span:nth-child(1){height:30%;animation-delay:0s}
.ap-wave span:nth-child(2){height:55%;animation-delay:.05s}
.ap-wave span:nth-child(3){height:80%;animation-delay:.1s}
.ap-wave span:nth-child(4){height:65%;animation-delay:.15s}
.ap-wave span:nth-child(5){height:90%;animation-delay:.2s}
.ap-wave span:nth-child(6){height:50%;animation-delay:.25s}
.ap-wave span:nth-child(7){height:75%;animation-delay:.3s}
.ap-wave span:nth-child(8){height:95%;animation-delay:.35s}
.ap-wave span:nth-child(9){height:60%;animation-delay:.4s}
.ap-wave span:nth-child(10){height:80%;animation-delay:.45s}
.ap-wave span:nth-child(11){height:45%;animation-delay:.5s}
.ap-wave span:nth-child(12){height:70%;animation-delay:.55s}
.ap-wave span:nth-child(13){height:55%;animation-delay:.6s}
.ap-wave span:nth-child(14){height:85%;animation-delay:.65s}
.ap-wave span:nth-child(15){height:40%;animation-delay:.7s}
.ap-wave span:nth-child(16){height:65%;animation-delay:.75s}
.ap-wave span:nth-child(17){height:50%;animation-delay:.8s}
.ap-wave span:nth-child(18){height:75%;animation-delay:.85s}

.ap-bubble{
  background:#f5f5f7;border-radius:14px;padding:11px 14px;
  font-size:14px;color:var(--ink);line-height:1.42;
  margin-bottom:8px;max-width:92%;
}
.ap-bubble.ap-bubble-r{
  background:var(--blue);color:#fff;margin-left:auto;
}
.ap-bubble.ap-bubble-r .ap-who{color:rgba(255,255,255,.75)}
.ap-who{
  display:block;font-size:10.5px;font-weight:600;
  text-transform:uppercase;letter-spacing:.06em;
  color:var(--grey);margin-bottom:2px;
}
.ap-transfer{
  margin-top:14px;
  display:flex;align-items:center;gap:12px;
  padding:12px 14px;border-radius:14px;
  background:linear-gradient(135deg,#0071e3,#7e57ff);
  color:#fff;
}
.ap-transfer-pulse{
  width:10px;height:10px;border-radius:50%;background:#fff;
  flex-shrink:0;
  box-shadow:0 0 0 0 rgba(255,255,255,.7);
  animation:ap-pulse 1.5s infinite;
}
@keyframes ap-pulse{
  0%{box-shadow:0 0 0 0 rgba(255,255,255,.7)}
  70%{box-shadow:0 0 0 10px rgba(255,255,255,0)}
  100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}
}
.ap-transfer-label{font-size:13px;font-weight:600}
.ap-transfer-sub{font-size:12px;opacity:.85}
.ap-arrow{margin-left:auto;font-size:22px;font-weight:300;line-height:1}

/* Floating chips around device */
.ap-chip{
  position:absolute;z-index:3;
  background:#fff;border-radius:14px;
  padding:12px 16px;
  border:1px solid var(--hairline);
  box-shadow:0 14px 30px -12px rgba(0,0,0,.12);
  animation:ap-chip-float 6s ease-in-out infinite;
  text-align:left;min-width:120px;
}
.ap-chip-num{
  font-size:22px;font-weight:600;letter-spacing:-.02em;
  line-height:1;color:var(--ink);
  font-variant-numeric:tabular-nums;
}
.ap-chip-num span{color:var(--blue);font-size:.7em}
.ap-chip-label{
  margin-top:4px;font-size:11.5px;font-weight:500;
  color:var(--grey);letter-spacing:.01em;
}
.ap-chip-1{top:30px;left:-40px;animation-delay:0s}
.ap-chip-1 .ap-chip-num{color:#0071e3}
.ap-chip-2{top:48%;right:-40px;animation-delay:1.8s}
.ap-chip-2 .ap-chip-num{color:#7e57ff}
.ap-chip-3{bottom:60px;left:0px;animation-delay:3.2s}
.ap-chip-3 .ap-chip-num{color:#10b981}
@keyframes ap-chip-float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-12px)}
}

/* =========================================================
   GENERIC SECTIONS
   ========================================================= */
.ap-section{
  position:relative;
  padding:140px 0;
  background:#fff;
  z-index:1;
}
.ap-section-grey{background:var(--bg-grey)}
.ap-section + .ap-section{padding-top:0}
.ap-section + .ap-section .ap-container{padding-top:140px}

.ap-headline{
  font-size:clamp(30px,6.4vw,80px);
  font-weight:600;letter-spacing:-.035em;line-height:1.07;
  color:var(--ink);margin-bottom:22px;
}
.ap-muted{color:var(--grey)}
.ap-eyebrow{
  font-size:14px;font-weight:600;
  text-transform:uppercase;letter-spacing:.08em;
  color:var(--blue);margin-bottom:14px;
}
.ap-sub{
  font-size:clamp(16px,2vw,22px);
  font-weight:500;color:var(--ink-2);
  line-height:1.5;letter-spacing:-.012em;
  max-width:780px;margin-bottom:50px;
}

/* Stats */
.ap-stats{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:50px;margin-top:70px;
  padding-top:50px;border-top:1px solid var(--hairline);
}
.ap-stat-num{
  font-size:clamp(56px,7.5vw,96px);
  font-weight:600;letter-spacing:-.04em;line-height:1;
  color:var(--ink);
  display:flex;align-items:baseline;
  font-variant-numeric:tabular-nums;
}
.ap-stat-suffix{font-size:.55em;color:var(--blue);margin-left:2px;font-weight:600}
.ap-stat-label{
  margin-top:14px;font-size:17px;color:var(--ink-2);
  letter-spacing:-.01em;line-height:1.4;
}

/* =========================================================
   FALLING PENNIES (light gold)
   ========================================================= */
.ap-pennies{
  position:absolute;inset:0;
  pointer-events:none;overflow:hidden;z-index:0;
}
.ap-penny{
  position:absolute;top:-50px;left:var(--x);
  width:30px;height:30px;border-radius:50%;
  display:grid;place-items:center;
  font-weight:700;font-size:15px;color:#92400e;
  background:radial-gradient(circle at 35% 30%,#fef3c7,#fcd34d 60%,#d97706);
  box-shadow:
    0 4px 12px -2px rgba(217,119,6,.35),
    inset 0 -3px 5px rgba(120,53,15,.2),
    inset 0 2px 3px rgba(255,255,255,.45);
  animation:ap-penny-fall var(--r) linear var(--d) infinite;
  opacity:0;
}
@keyframes ap-penny-fall{
  0%{transform:translateY(0) rotate(0);opacity:0}
  6%{opacity:.85}
  90%{opacity:.85}
  100%{transform:translateY(800px) rotate(720deg);opacity:0}
}

/* =========================================================
   COST BLOCK (with VS circle)
   ========================================================= */
.ap-cost-intro{max-width:820px;margin:0 auto}
.ap-cost-intro .ap-sub{margin-left:auto;margin-right:auto}
.ap-cost-block{
  display:grid;grid-template-columns:1fr auto 1fr;
  gap:clamp(20px,3vw,36px);align-items:center;justify-items:center;
  background:#fff;border:1px solid var(--hairline);
  border-radius:28px;padding:clamp(28px,3.5vw,44px);
  margin:0 auto 30px;max-width:920px;
  box-shadow:0 20px 60px -30px rgba(0,0,0,.15);
}
.ap-cost-cell{
  display:flex;flex-direction:column;gap:14px;
  min-width:0;width:100%;text-align:left;
}
.ap-cost-tag{
  font-size:13px;font-weight:600;
  text-transform:uppercase;letter-spacing:.08em;
  color:var(--grey);
  padding:5px 12px;border-radius:6px;
  background:var(--bg-grey);align-self:flex-start;
}
.ap-cost-tag-on{background:var(--blue);color:#fff}
.ap-cost-num{
  font-size:clamp(40px,5vw,56px);
  font-weight:600;letter-spacing:-.03em;line-height:1;
  color:var(--ink);display:flex;align-items:baseline;gap:4px;
  font-variant-numeric:tabular-nums;
  flex-wrap:wrap;
}
.ap-cost-num-on{color:var(--blue)}
.ap-cost-currency{font-size:.55em;font-weight:500;color:var(--grey-2)}
.ap-cost-num-on .ap-cost-currency{color:var(--blue);opacity:.7}
.ap-cost-unit{font-size:14px;font-weight:500;color:var(--grey);margin-left:6px;width:100%}

/* Bar fill */
.ap-bar{
  height:8px;border-radius:4px;background:var(--bg-grey);
  overflow:hidden;
}
.ap-bar-fill{
  height:100%;width:0;border-radius:4px;
  transition:width 1.6s cubic-bezier(.2,.7,.3,1) .3s;
}
.ap-bar-fill-old{background:linear-gradient(90deg,#ff5b7c,#f43f5e)}
.ap-bar-fill-new{background:var(--grad)}

.ap-cost-list{display:flex;flex-direction:column;gap:6px;margin-top:6px}
.ap-cost-list li{
  font-size:15px;color:var(--ink-2);
  padding-left:20px;position:relative;
}
.ap-cost-list li::before{
  content:'';position:absolute;left:0;top:9px;
  width:8px;height:1.5px;background:var(--grey);
}

/* VS circle */
.ap-vs{display:flex;align-items:center;justify-content:center;padding:10px 0}
.ap-vs-circle{
  width:140px;height:140px;border-radius:50%;
  background:radial-gradient(circle at 30% 30%,rgba(0,113,227,.2),rgba(126,87,255,.15) 60%,rgba(0,0,0,0) 80%);
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  gap:6px;text-align:center;
  border:2px solid rgba(0,113,227,.3);
  position:relative;
  animation:ap-vs-pulse 3s ease-in-out infinite;
}
@keyframes ap-vs-pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(0,113,227,.35),inset 0 0 25px rgba(0,113,227,.15)}
  50%{box-shadow:0 0 0 10px rgba(0,113,227,0),inset 0 0 35px rgba(0,113,227,.25)}
}
.ap-vs-num{
  font-size:46px;font-weight:600;color:var(--blue);letter-spacing:-.04em;
  font-variant-numeric:tabular-nums;line-height:1;
  display:inline-flex;align-items:baseline;justify-content:center;
  margin:0;
}
.ap-vs-num > span:first-child{display:inline-block}
.ap-vs-num > span:last-child{font-size:24px;font-weight:600;margin-left:2px;line-height:1}
.ap-vs-label{
  font-size:11px;font-weight:600;color:var(--grey);
  text-transform:uppercase;letter-spacing:.12em;
  line-height:1;margin:0;
}

.ap-foot{
  text-align:center;font-size:17px;color:var(--ink-2);
  letter-spacing:-.01em;
}
.ap-foot strong{color:var(--ink);font-weight:600}

/* =========================================================
   TILT
   ========================================================= */
.ap-tilt{
  transition:transform .3s cubic-bezier(.2,.7,.3,1);
  transform-style:preserve-3d;
}

/* =========================================================
   AI VOICE
   ========================================================= */
.ap-voice{margin-top:60px;perspective:1400px}
.ap-voice-card{
  background:#fff;border-radius:24px;
  border:1px solid var(--hairline);
  padding:36px;
  max-width:640px;margin:0 auto;
  box-shadow:0 12px 40px -16px rgba(0,0,0,.08);
}
.ap-voice-meta{
  display:flex;justify-content:space-between;align-items:center;
  padding-bottom:24px;margin-bottom:24px;
  border-bottom:1px solid var(--hairline);
}
.ap-voice-name{font-size:20px;font-weight:600;color:var(--ink);letter-spacing:-.02em}
.ap-voice-sub{font-size:14px;color:var(--grey);margin-top:2px}
.ap-voice-play{
  width:50px;height:50px;border-radius:50%;
  background:var(--blue);color:#fff;
  display:grid;place-items:center;
  transition:.2s ease;
}
.ap-voice-play:hover{background:var(--blue-hover);transform:scale(1.04)}
.ap-voice-play svg{margin-left:3px;width:20px;height:20px}
.ap-voice-wave{
  display:flex;justify-content:center;align-items:center;
  gap:3px;height:80px;margin-bottom:24px;
}
.ap-voice-wave span{
  display:block;width:4px;border-radius:2px;
  background:linear-gradient(180deg,#0071e3,#7e57ff);
  animation:ap-wave 1.4s ease-in-out infinite;
}
.ap-voice-wave span:nth-child(1){height:25%;animation-delay:0s}
.ap-voice-wave span:nth-child(2){height:45%;animation-delay:.04s}
.ap-voice-wave span:nth-child(3){height:65%;animation-delay:.08s}
.ap-voice-wave span:nth-child(4){height:55%;animation-delay:.12s}
.ap-voice-wave span:nth-child(5){height:80%;animation-delay:.16s}
.ap-voice-wave span:nth-child(6){height:35%;animation-delay:.2s}
.ap-voice-wave span:nth-child(7){height:90%;animation-delay:.24s}
.ap-voice-wave span:nth-child(8){height:50%;animation-delay:.28s}
.ap-voice-wave span:nth-child(9){height:70%;animation-delay:.32s}
.ap-voice-wave span:nth-child(10){height:40%;animation-delay:.36s}
.ap-voice-wave span:nth-child(11){height:85%;animation-delay:.4s}
.ap-voice-wave span:nth-child(12){height:60%;animation-delay:.44s}
.ap-voice-wave span:nth-child(13){height:75%;animation-delay:.48s}
.ap-voice-wave span:nth-child(14){height:95%;animation-delay:.52s}
.ap-voice-wave span:nth-child(15){height:50%;animation-delay:.56s}
.ap-voice-wave span:nth-child(16){height:65%;animation-delay:.6s}
.ap-voice-wave span:nth-child(17){height:30%;animation-delay:.64s}
.ap-voice-wave span:nth-child(18){height:80%;animation-delay:.68s}
.ap-voice-wave span:nth-child(19){height:55%;animation-delay:.72s}
.ap-voice-wave span:nth-child(20){height:90%;animation-delay:.76s}
.ap-voice-wave span:nth-child(21){height:45%;animation-delay:.8s}
.ap-voice-wave span:nth-child(22){height:70%;animation-delay:.84s}
.ap-voice-wave span:nth-child(23){height:35%;animation-delay:.88s}
.ap-voice-wave span:nth-child(24){height:60%;animation-delay:.92s}
.ap-voice-wave span:nth-child(25){height:80%;animation-delay:.96s}
.ap-voice-wave span:nth-child(26){height:50%;animation-delay:1.0s}
.ap-voice-wave span:nth-child(27){height:75%;animation-delay:1.04s}
.ap-voice-wave span:nth-child(28){height:40%;animation-delay:1.08s}
.ap-voice-wave span:nth-child(29){height:65%;animation-delay:1.12s}
.ap-voice-wave span:nth-child(30){height:55%;animation-delay:1.16s}
.ap-voice-tags{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.ap-voice-tags span{
  padding:6px 14px;border-radius:999px;
  background:var(--bg-grey);color:var(--ink-2);
  font-size:13px;font-weight:500;
}

/* =========================================================
   ROUTE / LIVE TRANSFER
   ========================================================= */
.ap-route{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  margin-top:50px;
}
.ap-route-step{
  flex:1;min-width:240px;display:flex;align-items:center;gap:14px;
  background:var(--bg-grey);
  border-radius:18px;padding:22px;
  transition:.3s ease;
}
.ap-route-step.done{background:#eaf3ff;color:var(--ink)}
.ap-route-step.active{
  background:linear-gradient(135deg,#0071e3,#7e57ff);
  color:#fff;
  box-shadow:0 16px 40px -14px rgba(0,113,227,.45);
  animation:ap-route-pulse 2.4s ease-in-out infinite;
}
@keyframes ap-route-pulse{
  0%,100%{box-shadow:0 16px 40px -14px rgba(0,113,227,.45)}
  50%{box-shadow:0 22px 50px -14px rgba(0,113,227,.65)}
}
.ap-route-num{
  width:38px;height:38px;border-radius:50%;
  display:grid;place-items:center;
  font-size:15px;font-weight:600;letter-spacing:-.01em;
  background:#fff;color:var(--blue);flex-shrink:0;
}
.ap-route-step.active .ap-route-num{background:rgba(255,255,255,.2);color:#fff}
.ap-route-title{font-size:17px;font-weight:600;letter-spacing:-.015em}
.ap-route-sub{font-size:13.5px;opacity:.75;margin-top:2px}
.ap-route-step.done .ap-route-sub{color:var(--grey-2);opacity:1}
.ap-route-line{flex:0 0 24px;height:2px;background:var(--hairline);border-radius:2px}

/* =========================================================
   INDUSTRIES — animated cards
   ========================================================= */
.ap-ind-grid{
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:16px;margin-top:50px;
}
.ap-ind-card{
  position:relative;display:flex;flex-direction:column;gap:12px;
  background:#fff;border-radius:20px;
  padding:24px;border:1px solid var(--hairline);
  overflow:hidden;
  transition:transform .4s cubic-bezier(.2,.7,.3,1),box-shadow .4s,border-color .4s;
}
.ap-ind-card::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(circle at var(--mx,50%) var(--my,50%),var(--accent),transparent 55%);
  opacity:0;transition:opacity .3s ease;pointer-events:none;
}
.ap-ind-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px -16px rgba(0,0,0,.12);
  border-color:transparent;
}
.ap-ind-card:hover::before{opacity:.12}
.ap-ind-card>*{position:relative;z-index:1}

.ap-ind-visual{
  height:104px;border-radius:14px;
  background:var(--bg-grey);
  display:flex;align-items:center;justify-content:center;
  position:relative;overflow:hidden;
  color:var(--accent);
  margin-bottom:6px;
}
.ap-ind-icon{
  width:44px;height:44px;border-radius:11px;
  background:var(--bg-grey);
  display:grid;place-items:center;
  color:var(--accent);
  font-size:24px;line-height:1;
  transition:background-color .3s ease,color .3s ease,transform .3s ease;
}
.ap-ind-icon svg{
  width:22px;height:22px;
}
.ap-ind-card:hover .ap-ind-icon{
  background:var(--accent);color:#fff;
  transform:scale(1.05) rotate(-3deg);
}
.ap-ind-card h3{font-size:18px;font-weight:600;color:var(--ink);letter-spacing:-.015em}
.ap-ind-card p{font-size:14px;color:var(--ink-2);line-height:1.45;flex:1}
.ap-ind-stat{
  font-size:13px;color:var(--grey);
  padding-top:12px;border-top:1px solid var(--hairline);
}
.ap-ind-stat strong{
  color:var(--accent);font-weight:600;font-size:16px;letter-spacing:-.015em;
  display:inline-block;margin-right:6px;
}

/* Visual: house with ping (real estate) */
.ap-ind-visual-house{position:relative}
.ap-house{
  width:42px;height:38px;
  background:var(--accent);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 11l9-8 9 8v10a1 1 0 0 1-1 1h-5v-7H9v7H4a1 1 0 0 1-1-1z'/></svg>") center/contain no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 11l9-8 9 8v10a1 1 0 0 1-1 1h-5v-7H9v7H4a1 1 0 0 1-1-1z'/></svg>") center/contain no-repeat;
  animation:ap-house-bob 3s ease-in-out infinite;
}
@keyframes ap-house-bob{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-3px)}
}
.ap-ping{
  position:absolute;
  width:14px;height:14px;border-radius:50%;
  background:var(--accent);
  top:50%;left:50%;
  margin-top:-22px;margin-left:8px;
  animation:ap-ping 1.8s ease-out infinite;
}
@keyframes ap-ping{
  0%  {transform:scale(.3);opacity:.8}
  100%{transform:scale(2.6);opacity:0}
}

/* Visual: sun (solar) */
.ap-ind-visual-sun{position:relative}
.ap-sun{
  position:relative;width:36px;height:36px;border-radius:50%;
  background:radial-gradient(circle at 35% 35%,#fef3c7,var(--accent) 65%);
  box-shadow:0 0 24px rgba(245,158,11,.5);
  animation:ap-sun-glow 3s ease-in-out infinite;
  z-index:2;
}
@keyframes ap-sun-glow{
  0%,100%{box-shadow:0 0 18px rgba(245,158,11,.45)}
  50%    {box-shadow:0 0 36px rgba(245,158,11,.8)}
}
.ap-ind-visual-sun .ap-ring{
  position:absolute;top:50%;left:50%;
  width:60px;height:60px;border-radius:50%;
  margin:-30px 0 0 -30px;
  border:1.5px solid var(--accent);
  animation:ap-ring 3s ease-out infinite;
  z-index:1;
}
.ap-ind-visual-sun .ap-ring.r2{animation-delay:1.5s}
@keyframes ap-ring{
  0%  {transform:scale(.4);opacity:.7}
  100%{transform:scale(1.5);opacity:0}
}

/* Visual: shield (insurance) — looped draw */
.ap-ind-visual-shield svg{width:48px;height:56px}
.ap-shield-path{
  stroke-dasharray:300;
  animation:ap-shield-draw 5s ease-in-out infinite;
}
.ap-shield-check{
  stroke-dasharray:80;
  animation:ap-shield-check-draw 5s ease-in-out infinite;
}
@keyframes ap-shield-draw{
  0%   {stroke-dashoffset:300}
  35%  {stroke-dashoffset:0}
  75%  {stroke-dashoffset:0}
  100% {stroke-dashoffset:-300}
}
@keyframes ap-shield-check-draw{
  0%,30%{stroke-dashoffset:80}
  55%   {stroke-dashoffset:0}
  80%   {stroke-dashoffset:0}
  100%  {stroke-dashoffset:-80}
}

/* Visual: rate chart (mortgage) — looped draw */
.ap-ind-visual-rate svg{width:140px;height:56px}
.ap-rate-path{
  stroke-dasharray:200;
  animation:ap-rate-draw 4s ease-in-out infinite;
}
.ap-rate-dot{
  animation:ap-rate-dot 4s ease-in-out infinite;
}
@keyframes ap-rate-draw{
  0%   {stroke-dashoffset:200}
  40%  {stroke-dashoffset:0}
  75%  {stroke-dashoffset:0}
  100% {stroke-dashoffset:-200}
}
@keyframes ap-rate-dot{
  0%,35% {opacity:0;transform:scale(.6)}
  45%    {opacity:1;transform:scale(1)}
  60%    {opacity:1;transform:scale(1.4)}
  72%    {opacity:1;transform:scale(1)}
  85%,100%{opacity:0;transform:scale(.6)}
}

/* Visual: bars (auto) — equalizer loop */
.ap-bars-inner{
  display:flex;align-items:flex-end;justify-content:center;
  gap:6px;height:56px;
}
.ap-bars-inner span{
  width:9px;background:var(--accent);border-radius:2px 2px 0 0;
  height:var(--h);
  animation:ap-bar-eq 1.4s ease-in-out infinite alternate;
  transform-origin:bottom;
}
.ap-bars-inner span:nth-child(1){animation-delay:0s}
.ap-bars-inner span:nth-child(2){animation-delay:.18s}
.ap-bars-inner span:nth-child(3){animation-delay:.36s}
.ap-bars-inner span:nth-child(4){animation-delay:.54s}
.ap-bars-inner span:nth-child(5){animation-delay:.72s}
@keyframes ap-bar-eq{
  from{transform:scaleY(.3)}
  to  {transform:scaleY(1)}
}

/* Visual: calendar (healthcare) — staggered pulse loop */
.ap-ind-visual-cal{
  display:grid;
  grid-template-columns:repeat(4,15px);
  grid-template-rows:repeat(3,15px);
  gap:6px;
  justify-content:center;
  align-content:center;
}
.ap-cal-cell{
  width:15px;height:15px;border-radius:4px;
  background:rgba(0,0,0,.08);
}
.ap-cal-cell.on{
  background:var(--accent);
  animation:ap-cal-pulse 3s ease-in-out infinite;
}
.ap-cal-cell.on:nth-child(2) {animation-delay:0s}
.ap-cal-cell.on:nth-child(4) {animation-delay:.3s}
.ap-cal-cell.on:nth-child(5) {animation-delay:.6s}
.ap-cal-cell.on:nth-child(7) {animation-delay:.9s}
.ap-cal-cell.on:nth-child(10){animation-delay:1.2s}
.ap-cal-cell.on:nth-child(11){animation-delay:1.5s}
@keyframes ap-cal-pulse{
  0%,100%{transform:scale(1);opacity:1}
  50%    {transform:scale(.7);opacity:.55}
}

/* Visual: funnel (education) — wave loop */
.ap-funnel-inner{
  display:flex;flex-direction:column;align-items:center;
  gap:6px;width:140px;
}
.ap-funnel-inner span{
  width:var(--w);height:8px;border-radius:4px;
  background:var(--accent);
  animation:ap-funnel-wave 2.6s ease-in-out infinite;
  transform-origin:center;
}
.ap-funnel-inner span:nth-child(1){animation-delay:0s;opacity:.4}
.ap-funnel-inner span:nth-child(2){animation-delay:.2s;opacity:.6}
.ap-funnel-inner span:nth-child(3){animation-delay:.4s;opacity:.85}
.ap-funnel-inner span:nth-child(4){animation-delay:.6s;opacity:1}
@keyframes ap-funnel-wave{
  0%,100%{transform:scaleX(.55)}
  50%    {transform:scaleX(1)}
}

/* Visual: scale (legal) */
.ap-scale-mini{position:relative;width:90px;height:64px}
.ap-scale-mini .ap-scale-pillar{
  position:absolute;left:50%;bottom:6px;transform:translateX(-50%);
  width:3px;height:48px;background:var(--accent);border-radius:2px;
}
.ap-scale-mini .ap-scale-bar{
  position:absolute;left:50%;top:8px;transform:translateX(-50%) rotate(-8deg);
  width:72px;height:3px;background:var(--accent);border-radius:2px;
  transform-origin:center;
  animation:ap-scale-tip-mini 4s ease-in-out infinite;
}
@keyframes ap-scale-tip-mini{
  0%,100%{transform:translateX(-50%) rotate(-8deg)}
  50%   {transform:translateX(-50%) rotate(8deg)}
}
.ap-scale-mini .ap-scale-tray{
  position:absolute;width:16px;height:5px;
  background:var(--accent);border-radius:2px;
}
.ap-scale-mini .ap-scale-tray.l{left:5px;top:26px;animation:ap-tray-l-mini 4s ease-in-out infinite}
.ap-scale-mini .ap-scale-tray.r{right:5px;top:14px;animation:ap-tray-r-mini 4s ease-in-out infinite}
@keyframes ap-tray-l-mini{0%,100%{transform:translateY(0)}50%{transform:translateY(14px)}}
@keyframes ap-tray-r-mini{0%,100%{transform:translateY(0)}50%{transform:translateY(-14px)}}

/* =========================================================
   DEMO CARDS
   ========================================================= */
.ap-demos{
  display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:50px;
}
.ap-demo-card{
  display:flex;align-items:center;gap:14px;width:100%;text-align:left;
  background:#fff;border-radius:18px;
  padding:18px 20px;border:1px solid var(--hairline);
  transition:.3s ease;
}
.ap-demo-card:hover{
  transform:translateY(-3px);
  border-color:var(--blue);
  box-shadow:0 16px 30px -14px rgba(0,113,227,.25);
}
.ap-demo-play{
  width:42px;height:42px;border-radius:50%;
  background:var(--blue);color:#fff;
  display:grid;place-items:center;flex-shrink:0;
}
.ap-demo-play svg{margin-left:2px}
.ap-demo-title{font-size:15px;font-weight:600;color:var(--ink);letter-spacing:-.01em}
.ap-demo-meta{font-size:12.5px;color:var(--grey);margin-top:2px}
.ap-demo-bars{display:flex;gap:3px;align-items:center;height:22px;margin-left:auto}
.ap-demo-bars span{
  width:3px;background:var(--blue);opacity:.5;border-radius:2px;
  animation:ap-wave 1.5s ease-in-out infinite;
}
.ap-demo-bars span:nth-child(1){height:40%;animation-delay:0s}
.ap-demo-bars span:nth-child(2){height:80%;animation-delay:.1s}
.ap-demo-bars span:nth-child(3){height:60%;animation-delay:.2s}
.ap-demo-bars span:nth-child(4){height:90%;animation-delay:.3s}
.ap-demo-bars span:nth-child(5){height:50%;animation-delay:.4s}
.ap-demo-bars span:nth-child(6){height:75%;animation-delay:.5s}
.ap-demo-bars span:nth-child(7){height:40%;animation-delay:.6s}
.ap-demo-bars span:nth-child(8){height:65%;animation-delay:.7s}

/* =========================================================
   COMPARE TABLE
   ========================================================= */
.ap-table{
  margin-top:50px;border-radius:24px;
  border:1px solid var(--hairline);overflow:hidden;
  background:#fff;
}
.ap-table-row{
  display:grid;grid-template-columns:1.6fr 1fr 1fr;
  align-items:stretch;
  border-top:1px solid var(--hairline);
  font-size:16px;color:var(--ink-2);
}
.ap-table-row:first-child{border-top:none}
.ap-table-row > div{
  padding:18px 28px;
  display:flex;align-items:center;
}
.ap-table-row > div:first-child{font-weight:500;color:var(--ink)}

/* Highlighted Hey Reviver column — body cells (solid blue) */
.ap-table-row .ap-on{
  color:#fff;font-weight:600;
  background:var(--blue);
  border-left:1px solid var(--blue);
}

.ap-table-head{
  background:var(--bg-grey);
  font-size:13px;font-weight:600;
  text-transform:uppercase;letter-spacing:.08em;
  color:var(--ink);
}
.ap-table-head > div:first-child{color:var(--grey)}

/* Highlighted Hey Reviver column — header */
.ap-table-head .ap-on{
  background:var(--blue);
  color:#fff;
  border-left:1px solid var(--blue);
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.ap-cta-section{
  padding:140px 0 160px;
  background:#fff;
  text-align:center;
  position:relative;
}
.ap-cta-section .ap-cta{justify-content:center;margin-top:32px;margin-bottom:0}

/* =========================================================
   FOOTER
   ========================================================= */
.ap-footer{
  background:var(--bg-grey);
  padding:40px 0 22px;
  font-size:12px;color:var(--grey-2);
  border-top:1px solid var(--hairline);
  position:relative;z-index:2;
}
.ap-footer-cols{
  display:grid;grid-template-columns:repeat(4,1fr);gap:30px;
  padding-bottom:30px;border-bottom:1px solid var(--hairline);
}
.ap-footer h5{
  font-size:12px;font-weight:600;color:var(--ink);
  margin-bottom:10px;letter-spacing:-.005em;
}
.ap-footer a{
  display:block;color:var(--grey-2);
  font-size:12px;line-height:1.9;
}
.ap-footer a:hover{text-decoration:underline}
.ap-footer-bottom{
  padding-top:20px;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;
}
.ap-footer-meta a{display:inline}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
  .reveal{opacity:1;transform:none}
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1100px){
  .ap-cost-block{grid-template-columns:1fr;gap:24px;justify-items:stretch}
  .ap-vs{padding:0}
  .ap-vs-circle{width:120px;height:120px}
  .ap-vs-num{font-size:42px}
  .ap-cost-cell{align-items:center;text-align:center}
  .ap-cost-num{justify-content:center}
}
@media (max-width:1000px){
  .ap-ind-grid{grid-template-columns:repeat(2,1fr)}
  .ap-demos{grid-template-columns:1fr}
  .ap-chip{display:none}
  .ap-stats{grid-template-columns:1fr;gap:36px}
  .ap-route-line{flex-basis:100%;height:1px;width:60%}
  .ap-route-step{min-width:100%}
  .ap-footer-cols{grid-template-columns:repeat(2,1fr)}
}

/* Mobile nav drop-down (≤900px) */
@media (max-width:900px){
  .ap-nav-toggle{display:block}
  .ap-nav-cta{display:none}
  .ap-nav-links{
    position:fixed;top:56px;left:0;right:0;
    flex-direction:column;align-items:stretch;gap:0;
    padding:8px 22px 18px;
    background:rgba(251,251,253,.97);
    backdrop-filter:saturate(180%) blur(20px);
    -webkit-backdrop-filter:saturate(180%) blur(20px);
    border-bottom:1px solid rgba(0,0,0,.08);
    box-shadow:0 12px 40px -10px rgba(0,0,0,.1);
    transform:translateY(-12px);
    opacity:0;visibility:hidden;
    transition:transform .3s cubic-bezier(.2,.7,.3,1),opacity .25s ease,visibility .3s;
    z-index:45;
  }
  .ap-nav-links.open{
    transform:translateY(0);opacity:1;visibility:visible;
  }
  .ap-nav-links a{
    display:block;width:100%;
    padding:15px 4px;
    font-size:17px;color:var(--ink);font-weight:500;
    border-bottom:1px solid rgba(0,0,0,.06);
    opacity:1;
  }
  .ap-nav-links a:last-child{border-bottom:none}
  body.ap-nav-open{overflow:hidden}
}

@media (max-width:600px){
  .ap-section{padding:72px 0}
  .ap-section + .ap-section .ap-container{padding-top:72px}
  .ap-hero{padding:24px 0 0}
  .ap-hero-inner{padding:0 18px}
  .ap-ind-grid{grid-template-columns:1fr;gap:14px;margin-top:36px}
  .ap-cost-block{padding:24px}
  .ap-cost-num{font-size:42px}
  /* The math — card style on mobile (each row = a labelled card) */
  .ap-table{
    background:transparent;border:none;border-radius:0;
    display:flex;flex-direction:column;gap:12px;
    margin-top:32px;overflow:visible;
  }
  .ap-table-head{display:none}
  .ap-table-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    background:#fff;
    border:1px solid var(--hairline);
    border-radius:16px;
    padding:14px 14px 16px;
    font-size:14px;
    box-shadow:0 4px 14px -10px rgba(0,0,0,.08);
  }
  .ap-table-row > div:first-child{
    grid-column:1/-1;
    padding:0 2px 10px;
    margin-bottom:4px;
    border-bottom:1px solid var(--hairline);
    font-size:12.5px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:.06em;
    color:var(--ink);
    display:block;
  }
  .ap-table-row > div:not(:first-child){
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:3px;
    padding:9px 12px;
    border-radius:11px;
    background:var(--bg-grey);
    color:var(--ink);
    font-weight:600;
    font-size:15px;
    border-left:none;
    min-height:54px;
  }
  .ap-table-row > div:not(:first-child)::before{
    content:'Manual SDR';
    font-size:10px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--grey);
    line-height:1;
  }
  .ap-table-row > div.ap-on{
    background:var(--blue);
    color:#fff;
  }
  .ap-table-row > div.ap-on::before{
    content:'Hey Reviver';
    color:rgba(255,255,255,.78);
  }
  .ap-cta-section{padding:72px 0 80px}
  /* Prevent iOS auto-zoom on focus by keeping inputs ≥16px */
  input,textarea,select{font-size:16px !important}
  /* Tighter container side-padding */
  .ap-container{padding:0 18px}
  .ap-nav-inner{padding:0 16px;gap:12px;height:56px}
  /* Hero device side margins */
  .ap-stage{
    padding:24px 0 48px;
    max-width:100%;
    margin-top:18px;
  }
  /* Disable 3D rotate on mobile so card sits flat and doesn't overflow */
  .ap-device-frame{transform:none;border-radius:28px;padding:5px}
  .ap-device-shadow{bottom:-20px;height:36px}
  .ap-device-screen{padding:20px 18px;border-radius:24px}
  .ap-call-name{font-size:19px}
  .ap-bubble{font-size:13.5px;padding:10px 12px;max-width:96%}
  .ap-transfer{padding:11px 12px}
  .ap-transfer-label{font-size:12.5px}
  .ap-transfer-sub{font-size:11.5px}
  /* Eyebrow + display */
  .ap-eyebrow.ap-rev{font-size:16px;margin-bottom:4px}
  /* Nudge just the headline down on mobile (without changing hero padding) */
  .ap-display{font-size:clamp(34px,9.5vw,46px);line-height:1.05;margin-top:40px}
  .ap-headline{font-size:clamp(28px,7.5vw,36px)}
  .ap-sub{font-size:16px;margin-bottom:36px}
  /* Pricing line */
  .ap-pricing{font-size:15px;margin-bottom:20px}
  /* CTA buttons full-width */
  .ap-cta{flex-direction:column;align-items:stretch;gap:10px;margin-bottom:36px}
  .ap-cta .ap-btn{width:100%}
  .ap-cta .ap-link{justify-content:center;font-size:16px}
  /* Stats */
  .ap-stats{margin-top:48px;padding-top:40px;gap:30px}
  .ap-stat-num{font-size:54px}
  /* Voice card */
  .ap-voice{margin-top:40px}
  .ap-voice-card{padding:24px;border-radius:20px}
  .ap-voice-name{font-size:18px}
  .ap-voice-wave{height:64px;margin-bottom:18px}
  /* Route */
  .ap-route{margin-top:36px;gap:10px}
  .ap-route-step{padding:18px;border-radius:16px}
  .ap-route-title{font-size:15.5px}
  .ap-route-sub{font-size:12.5px}
  /* Compare table tighter */
  .ap-table{margin-top:36px;border-radius:18px}
  /* Demos margin */
  .ap-demos{margin-top:36px}
  /* Footer */
  .ap-footer-cols{grid-template-columns:1fr 1fr;gap:24px}
  .ap-footer-bottom{flex-direction:column;align-items:flex-start}
}

/* Extra-small phones (≤380px): scale down further */
@media (max-width:380px){
  .ap-container{padding:0 14px}
  .ap-hero-inner{padding:0 14px}
  .ap-nav-inner{padding:0 14px;gap:8px}
  .ap-logo svg,.ap-logo img{height:28px;max-width:80px}
  .ap-logo-text{font-size:15px}
  .ap-display{font-size:clamp(30px,9vw,38px)}
  .ap-headline{font-size:26px}
  .ap-sub{font-size:15px}
  .ap-eyebrow.ap-rev{font-size:14px}
  .ap-tagline{font-size:17px}
  .ap-cost-block{padding:18px;border-radius:20px}
  .ap-cost-num{font-size:36px}
  .ap-stat-num{font-size:46px}
  .ap-stat-label{font-size:15px}
  .ap-section{padding:60px 0}
  .ap-section + .ap-section .ap-container{padding-top:60px}
  .ap-stage{padding:18px 0 36px}
  .ap-device-screen{padding:18px 14px}
  .ap-device-frame{padding:4px;border-radius:24px}
  .ap-bubble{font-size:13px;padding:9px 11px}
  .ap-voice-card{padding:20px}
  .ap-voice-wave{height:54px}
  .ap-route-step{padding:16px;min-width:100%}
  .ap-table-row{font-size:13.5px;padding:12px 12px 14px}
  .ap-table-row > div:not(:first-child){padding:8px 10px;font-size:14px;min-height:48px}
  .ap-cta-section{padding:60px 0 72px}
}

/* =========================================================
   INTEGRATIONS — Hey Reviver hub + CRM spokes
   ========================================================= */
#integrations .ap-sub{margin-bottom:0}
.ap-integ{margin-top:0}

.ap-integ-stage{
  --r:380px;
  --pulse-start:130px;
  position:relative;
  width:min(1080px,100%);
  aspect-ratio:1080/800;
  margin:5px auto -20px;
}
.ap-integ-stage::before{
  content:"";
  position:absolute;inset:0;
  background:radial-gradient(circle at 50% 50%,rgba(126,87,255,.08),transparent 58%);
  pointer-events:none;
}

/* Connection lines */
.ap-integ-lines{
  position:absolute;inset:0;
  width:100%;height:100%;
  pointer-events:none;
}
.ap-integ-lines-mobile{display:none}
.ap-integ-line{
  stroke:#9fb6dc;
  stroke-width:1.4;
  stroke-opacity:.7;
  stroke-dasharray:4 7;
  stroke-linecap:round;
  fill:none;
  animation:ap-integ-flow 1.8s linear infinite;
}
.ap-integ-line:nth-child(1){animation-delay:0s}
.ap-integ-line:nth-child(2){animation-delay:-.22s}
.ap-integ-line:nth-child(3){animation-delay:-.44s}
.ap-integ-line:nth-child(4){animation-delay:-.66s}
.ap-integ-line:nth-child(5){animation-delay:-.88s}
.ap-integ-line:nth-child(6){animation-delay:-1.1s}
.ap-integ-line:nth-child(7){animation-delay:-1.32s}
.ap-integ-line:nth-child(8){animation-delay:-1.54s}
@keyframes ap-integ-flow{
  to{stroke-dashoffset:-22}
}

/* Data packets traveling outward */
.ap-integ-pulse{
  position:absolute;
  top:50%;left:50%;
  width:7px;height:7px;
  border-radius:50%;
  background:#7e57ff;
  box-shadow:0 0 12px rgba(126,87,255,.7),0 0 4px rgba(126,87,255,1);
  pointer-events:none;
  z-index:2;
  transform:translate(-50%,-50%) rotate(var(--a)) translateY(calc(-1 * var(--pulse-start,130px))) rotate(calc(-1 * var(--a)));
  animation:ap-integ-pulse-out 2.4s linear infinite;
  animation-delay:var(--d);
}
@keyframes ap-integ-pulse-out{
  0%   {transform:translate(-50%,-50%) rotate(var(--a)) translateY(calc(-1 * var(--pulse-start,130px))) rotate(calc(-1 * var(--a)));opacity:0}
  12%  {opacity:1}
  85%  {opacity:1}
  100% {transform:translate(-50%,-50%) rotate(var(--a)) translateY(calc(-1 * var(--r))) rotate(calc(-1 * var(--a)));opacity:0}
}

/* Hub (center) */
.ap-integ-hub{
  position:absolute;
  top:50%;left:50%;
  transform:translate(-50%,-50%);
  z-index:4;
  width:220px;height:220px;
}

/* Outer soft halo */
.ap-integ-hub-ring.r2{
  position:absolute;
  inset:-58px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(126,87,255,.20),transparent 62%);
  filter:blur(12px);
  animation:ap-integ-hub-pulse 4.5s ease-in-out infinite;
  pointer-events:none;
}
/* Crisp inner ring */
.ap-integ-hub-ring.r1{
  position:absolute;
  inset:-18px;
  border-radius:50%;
  border:1.4px solid rgba(126,87,255,.28);
  pointer-events:none;
}
@keyframes ap-integ-hub-pulse{
  0%,100%{transform:scale(1);opacity:.55}
  50%    {transform:scale(1.08);opacity:.9}
}

/* Hub: gradient ball */
.ap-integ-hub-card{
  position:relative;
  width:100%;height:100%;
  border-radius:50%;
  background:var(--grad);
  overflow:hidden;
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  color:#fff;
  box-shadow:
    0 18px 48px rgba(126,87,255,.28),
    0 6px 16px rgba(0,113,227,.18),
    inset 0 1px 0 rgba(255,255,255,.18);
  animation:ap-integ-hub-breath 4s ease-in-out infinite;
}
.ap-integ-hub-card::before{
  content:"";
  position:absolute;inset:0;
  background:radial-gradient(circle at 50% 22%,rgba(255,255,255,.32),transparent 55%);
  animation:ap-integ-hub-shine 8s linear infinite;
  pointer-events:none;
}
.ap-integ-hub-card > *{position:relative;z-index:1}
@keyframes ap-integ-hub-breath{
  0%,100%{transform:scale(1)}
  50%    {transform:scale(1.025)}
}
@keyframes ap-integ-hub-shine{
  to{transform:rotate(360deg)}
}
.ap-integ-hub-abbr{
  font-size:60px;font-weight:700;letter-spacing:-.025em;
  line-height:1;
}
.ap-integ-hub-name{
  font-size:15px;font-weight:500;
  letter-spacing:-.005em;
  margin-top:6px;
  opacity:.95;
}

/* Spokes */
.ap-integ-spokes{
  position:absolute;inset:0;
  pointer-events:none;
  z-index:3;
}
.ap-integ-spoke{
  position:absolute;
  top:50%;left:50%;
  --r:380px;
  display:inline-flex;align-items:center;gap:10px;
  padding:10px 20px 10px 14px;
  background:#fff;
  border-radius:999px;
  white-space:nowrap;
  pointer-events:auto;
  box-shadow:
    0 2px 6px rgba(0,0,0,.04),
    inset 0 0 0 1px rgba(0,0,0,.11);
  transform:
    translate(-50%,-50%)
    rotate(var(--a))
    translateY(calc(-1 * var(--r)))
    rotate(calc(-1 * var(--a)));
  transition:transform .3s cubic-bezier(.2,.7,.3,1),box-shadow .3s ease;
  animation:ap-integ-spoke-pulse 3.6s ease-in-out infinite;
}
@keyframes ap-integ-spoke-pulse{
  0%,100%{
    box-shadow:
      0 2px 6px rgba(0,0,0,.04),
      inset 0 0 0 1px rgba(0,0,0,.11);
  }
  50%{
    box-shadow:
      0 6px 22px color-mix(in srgb,var(--c,#7e57ff) 18%,rgba(0,0,0,.04)),
      inset 0 0 0 1px color-mix(in srgb,var(--c,#7e57ff) 20%,rgba(0,0,0,.11));
  }
}
.ap-integ-spoke:nth-of-type(1){animation-delay:0s}
.ap-integ-spoke:nth-of-type(2){animation-delay:.45s}
.ap-integ-spoke:nth-of-type(3){animation-delay:.9s}
.ap-integ-spoke:nth-of-type(4){animation-delay:1.35s}
.ap-integ-spoke:nth-of-type(5){animation-delay:1.8s}
.ap-integ-spoke:nth-of-type(6){animation-delay:2.25s}
.ap-integ-spoke:nth-of-type(7){animation-delay:2.7s}
.ap-integ-spoke:nth-of-type(8){animation-delay:3.15s}
.ap-integ-spoke:hover{
  animation:none;
  z-index:5;
  background:#fff;
  box-shadow:
    0 14px 36px color-mix(in srgb,var(--c,#7e57ff) 32%,transparent),
    0 4px 10px color-mix(in srgb,var(--c,#7e57ff) 20%,transparent),
    inset 0 0 0 1.5px var(--c,#7e57ff);
  transform:
    translate(-50%,-50%)
    rotate(var(--a))
    translateY(calc(-1 * var(--r)))
    rotate(calc(-1 * var(--a)))
    scale(1.06);
}
.ap-integ-spoke.out,
.ap-integ-pulse.out{--r:460px}
.ap-integ-spoke.in,
.ap-integ-pulse.in{--r:360px}
.ap-integ-mark{
  width:14px;height:14px;border-radius:50%;
  background:var(--c,#1d1d1f);
  flex-shrink:0;
  position:relative;
  animation:ap-integ-mark-glow 2.4s ease-in-out infinite;
}
@keyframes ap-integ-mark-glow{
  0%,100%{box-shadow:0 0 0 0 transparent}
  50%    {box-shadow:0 0 8px 1px color-mix(in srgb,var(--c,#1d1d1f) 75%,transparent)}
}
.ap-integ-mark::after{
  content:"";
  position:absolute;inset:0;
  border-radius:50%;
  background:var(--c,#1d1d1f);
  animation:ap-integ-mark-ping 2.4s cubic-bezier(.4,0,.6,1) infinite;
  pointer-events:none;
}
@keyframes ap-integ-mark-ping{
  0%        {transform:scale(1);   opacity:.45}
  70%, 100% {transform:scale(1.55);opacity:0}
}
.ap-integ-spoke:nth-child(1) .ap-integ-mark::after{animation-delay:0s}
.ap-integ-spoke:nth-child(2) .ap-integ-mark::after{animation-delay:.3s}
.ap-integ-spoke:nth-child(3) .ap-integ-mark::after{animation-delay:.6s}
.ap-integ-spoke:nth-child(4) .ap-integ-mark::after{animation-delay:.9s}
.ap-integ-spoke:nth-child(5) .ap-integ-mark::after{animation-delay:1.2s}
.ap-integ-spoke:nth-child(6) .ap-integ-mark::after{animation-delay:1.5s}
.ap-integ-spoke:nth-child(7) .ap-integ-mark::after{animation-delay:1.8s}
.ap-integ-spoke:nth-child(8) .ap-integ-mark::after{animation-delay:2.1s}
.ap-integ-name{
  font-size:16px;font-weight:500;
  color:var(--ink);letter-spacing:-.01em;
}

/* Bullets below diagram */
.ap-integ-bullets{
  margin:54px auto 0;
  max-width:920px;
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:18px;
  list-style:none;
}
.ap-integ-bullets li{
  display:flex;align-items:flex-start;gap:10px;
  font-size:15px;color:var(--ink-2);
  letter-spacing:-.01em;line-height:1.45;
}
.ap-integ-tick{
  width:22px;height:22px;flex-shrink:0;
  border-radius:50%;
  background:var(--blue);color:#fff;
  font-size:12px;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;
  margin-top:1px;
}

/* Mid-sized screens — tighten orbit + hub */
@media (max-width:1024px){
  .ap-integ-stage{width:min(840px,100%);--pulse-start:105px}
  .ap-integ-spoke.out,
  .ap-integ-pulse.out{--r:355px}
  .ap-integ-spoke.in,
  .ap-integ-pulse.in{--r:280px}
  .ap-integ-hub{width:185px;height:185px}
  .ap-integ-hub-abbr{font-size:50px}
  .ap-integ-hub-name{font-size:13px}
  .ap-integ-mark{width:12px;height:12px}
  .ap-integ-name{font-size:14px}
  .ap-integ-spoke{padding:9px 17px 9px 12px;gap:9px}
}

/* Mobile — all 8 spokes evenly spaced at 45° around a square stage */
@media (max-width:720px){
  .ap-integ-stage{
    width:100%;
    max-width:380px;
    aspect-ratio:1/1;
    --pulse-start:55px;
    background:var(--bg-grey);
    border-radius:24px;
    margin:5px auto 0;
  }
  .ap-integ-stage::before{
    background:radial-gradient(circle at 50% 50%,rgba(126,87,255,.08),transparent 60%);
  }
  /* Swap line SVGs */
  .ap-integ-lines-desktop{display:none}
  .ap-integ-lines-mobile{
    display:block;
    position:absolute;inset:0;
    width:100%;height:100%;
    pointer-events:none;
  }
  /* Default radius for all 8 spokes (out/in distinction removed) */
  .ap-integ-spoke.out,
  .ap-integ-spoke.in,
  .ap-integ-pulse.out,
  .ap-integ-pulse.in{--r:108px}
  /* Push the top-center pair (Salesforce/GoHighLevel) and bottom-center pair (Twilio/Zapier) further out for breathing room */
  .ap-integ-spoke:nth-of-type(2),
  .ap-integ-spoke:nth-of-type(3),
  .ap-integ-spoke:nth-of-type(6),
  .ap-integ-spoke:nth-of-type(7),
  .ap-integ-pulse:nth-of-type(2),
  .ap-integ-pulse:nth-of-type(3),
  .ap-integ-pulse:nth-of-type(6),
  .ap-integ-pulse:nth-of-type(7){--r:128px}
  /* Override angles: 45° apart starting at -67.5° (top-left) */
  .ap-integ-spoke:nth-of-type(1){--a:-67.5deg!important}
  .ap-integ-spoke:nth-of-type(2){--a:-22.5deg!important}
  .ap-integ-spoke:nth-of-type(3){--a:22.5deg!important}
  .ap-integ-spoke:nth-of-type(4){--a:67.5deg!important}
  .ap-integ-spoke:nth-of-type(5){--a:112.5deg!important}
  .ap-integ-spoke:nth-of-type(6){--a:157.5deg!important}
  .ap-integ-spoke:nth-of-type(7){--a:202.5deg!important}
  .ap-integ-spoke:nth-of-type(8){--a:247.5deg!important}
  .ap-integ-pulse:nth-of-type(1){--a:-67.5deg!important}
  .ap-integ-pulse:nth-of-type(2){--a:-22.5deg!important}
  .ap-integ-pulse:nth-of-type(3){--a:22.5deg!important}
  .ap-integ-pulse:nth-of-type(4){--a:67.5deg!important}
  .ap-integ-pulse:nth-of-type(5){--a:112.5deg!important}
  .ap-integ-pulse:nth-of-type(6){--a:157.5deg!important}
  .ap-integ-pulse:nth-of-type(7){--a:202.5deg!important}
  .ap-integ-pulse:nth-of-type(8){--a:247.5deg!important}
  /* Smaller hub */
  .ap-integ-hub{width:96px;height:96px}
  .ap-integ-hub-ring.r2{inset:-18px;filter:blur(7px)}
  .ap-integ-hub-ring.r1{inset:-6px}
  .ap-integ-hub-abbr{font-size:28px}
  .ap-integ-hub-name{font-size:9.5px;margin-top:2px}
  /* Compact pills so all 8 fit without overlap */
  .ap-integ-spoke{
    padding:4px 9px 4px 6px;
    gap:5px;
  }
  .ap-integ-mark{width:8px;height:8px}
  .ap-integ-name{font-size:10px;letter-spacing:0}
  .ap-integ-bullets{
    grid-template-columns:1fr;
    gap:14px;
    margin-top:38px;
  }
}

/* =========================================================
   TRUST page — Security / Privacy / Terms feature cards
   ========================================================= */
.ap-trust-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:50px;
}
.ap-trust-card{
  background:#fff;
  border-radius:18px;
  padding:28px;
  box-shadow:
    0 4px 14px rgba(0,0,0,.04),
    inset 0 0 0 1px rgba(0,0,0,.06);
  transition:transform .3s cubic-bezier(.2,.7,.3,1),box-shadow .3s ease;
}
.ap-section:not(.ap-section-grey) .ap-trust-card{
  background:var(--bg-grey);
  box-shadow:
    0 4px 14px rgba(0,0,0,.03),
    inset 0 0 0 1px rgba(0,0,0,.04);
}
.ap-trust-card:hover{
  transform:translateY(-4px);
  box-shadow:
    0 14px 32px color-mix(in srgb,var(--accent,#0071e3) 14%,rgba(0,0,0,.06)),
    inset 0 0 0 1px color-mix(in srgb,var(--accent,#0071e3) 30%,rgba(0,0,0,.06));
}
.ap-trust-icon{
  width:48px;height:48px;border-radius:14px;
  background:var(--accent,var(--blue));
  color:#fff;
  display:inline-flex;
  align-items:center;justify-content:center;
  margin-bottom:18px;
  box-shadow:0 6px 16px color-mix(in srgb,var(--accent,#0071e3) 28%,transparent);
}
.ap-trust-icon svg{width:22px;height:22px}
.ap-trust-h{
  font-size:18px;font-weight:600;letter-spacing:-.015em;
  color:var(--ink);margin-bottom:8px;line-height:1.3;
}
.ap-trust-p{
  font-size:14.5px;color:var(--ink-2);
  line-height:1.55;letter-spacing:-.005em;
}

@media (max-width:880px){
  .ap-trust-grid{grid-template-columns:1fr 1fr;gap:18px}
  .ap-trust-card{padding:24px}
}
@media (max-width:600px){
  .ap-trust-grid{grid-template-columns:1fr;gap:14px;margin-top:36px}
  .ap-trust-card{padding:22px}
}
