/* ============================================
   WOW EFFECTS
   ============================================ */

/* ============== LOADER ============== */
#loader {
  position: fixed; inset: 0;
  background: #050505;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transition: opacity .6s var(--ease), visibility .6s;
}
#loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-wordmark {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.05em;
  color: #fff;
  overflow: hidden;
}
.loader-wordmark em { color: var(--red); font-style: normal; }
.loader-bar {
  width: min(440px, 70vw);
  height: 2px;
  background: rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  border-radius: 999px;
}
.loader-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--red), #ffab72);
  box-shadow: 0 0 24px var(--red-glow);
  transition: width .15s linear;
}
.loader-pct {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-2);
}
.loader-row {
  display: flex; justify-content: space-between;
  width: min(440px, 70vw);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.15em;
  color: var(--text-3);
  text-transform: uppercase;
}

/* ============== SCROLL PROGRESS ============== */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--red) 0%, #ffab72 100%);
  z-index: 200;
  box-shadow: 0 0 10px var(--red-glow);
}

/* (custom cursor removed — using default system cursor) */

/* ============== NOISE OVERLAY ============== */
.noise {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.2 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============== HERO ============== */
.hero {
  min-height: 100vh;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
/* B149: call-signal waves — sit above the bg gradient, below the content */
#hero-waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(253,97,81,0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 0%, rgba(253,97,81,0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-stat .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}
.hero-stat .num em { color: var(--red); font-style: normal; }
.hero-stat .lbl { font-size: 12px; color: var(--text-3); margin-top: 4px; letter-spacing: 0.08em; text-transform: uppercase; font-family: 'JetBrains Mono', monospace; }

.hero-cta { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.hero-title-line { display: block; overflow: hidden; }
.hero-title-line span { display: inline-block; }

/* Dashboard mockup */
.dashboard {
  background: linear-gradient(160deg, #14100f 0%, #0a0a0a 100%);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 18px;
  position: relative;
  box-shadow:
    0 40px 80px -20px rgba(253,97,81,0.18),
    0 0 0 1px rgba(253,97,81,0.08);
  transform: perspective(1800px) rotateY(-8deg) rotateX(4deg);
  transition: transform .6s var(--ease);
}
.dashboard:hover { transform: perspective(1800px) rotateY(-4deg) rotateX(2deg); }
.dashboard-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.dashboard-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.dashboard-head .dot:nth-child(1) { background: #ff5f57; }
.dashboard-head .dot:nth-child(2) { background: #febc2e; }
.dashboard-head .dot:nth-child(3) { background: #28c840; }
.dashboard-title {
  margin-left: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.1em;
}
.dashboard-title em { color: var(--red); font-style: normal; }
/* Real CRM screenshot inside the hero window chrome (B158) */
.db-shot {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0b0b0e;
  line-height: 0;
}
.db-shot-img {
  display: block;
  width: 100%;
  height: auto;
}
.db-live {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--green);
}
.db-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulseDot 1.4s infinite; }

.db-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 14px;
}
.db-panel {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.db-panel-title {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.15em; color: var(--text-3);
  text-transform: uppercase; margin-bottom: 12px;
}
.call-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 12px;
}
.call-row:last-child { border-bottom: none; }
.call-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #2b1414, #3a1d1d);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700;
  color: var(--red);
  border: 1px solid rgba(253,97,81,0.25);
}
.call-info { flex: 1; min-width: 0; }
.call-name { color: var(--text-0); font-weight: 500; font-size: 12px; }
.call-sub { color: var(--text-3); font-size: 11px; font-family: 'JetBrains Mono', monospace; }
.call-tag { font-size: 10px; padding: 3px 8px; border-radius: 99px; background: rgba(52,211,153,0.1); color: var(--green); font-family: 'JetBrains Mono', monospace; }
.call-tag.warn { background: rgba(253,97,81,0.1); color: var(--red); }

.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.kpi {
  padding: 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
}
.kpi .k-num { font-family: 'JetBrains Mono', monospace; font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.kpi .k-lbl { font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }
.kpi .k-delta { font-size: 10px; color: var(--green); margin-top: 4px; font-family: 'JetBrains Mono', monospace; }

.sparkline { height: 50px; display: block; width: 100%; }

.transcript {
  margin-top: 14px;
  grid-column: 1 / -1;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  line-height: 1.7;
}
.transcript .t-line { display: flex; gap: 10px; }
.transcript .who { color: var(--text-3); min-width: 60px; }
.transcript .who.ai { color: var(--red); }
.transcript .msg { color: var(--text-1); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .dashboard { transform: none; }
  /* .mega-section and .final-cta have their own explicit padding values that beat
     the generic `section { padding:80px 0 }` mobile rule (same specificity but
     declared earlier, so later wins in cascade — but both are class selectors so
     the mobile rule wins only if it comes AFTER. Belt-and-suspenders: set both
     explicitly here where we know they apply.) */
  .mega-section { padding: 80px 0; }
  .final-cta { padding: 80px 0; }
}

/* ============== MARQUEE ============== */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marqueeX 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeX { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Big marquee text */
.big-marquee { padding: 80px 0; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.big-marquee-track {
  display: flex; gap: 50px; width: max-content;
  animation: marqueeX 55s linear infinite;
  align-items: center;
}
.big-word {
  font-size: clamp(70px, 11vw, 150px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.35);
}
.big-word.filled {
  -webkit-text-stroke: 0;
  background: linear-gradient(180deg, #fff 30%, #555 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.big-word.red {
  -webkit-text-stroke: 0;
  color: var(--red);
}
.big-dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 30px var(--red-glow);
  animation: pulseDot 1.6s infinite;
  flex-shrink: 0;
}

/* Number marquee */
.num-marquee { background: var(--surface); }
.num-item {
  display: flex; align-items: center; gap: 18px;
  font-family: 'JetBrains Mono', monospace;
}
.num-item .n { font-size: 40px; font-weight: 700; color: #fff; letter-spacing: -0.03em; }
.num-item .n em { color: var(--red); font-style: normal; }
.num-item .l { font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.15em; max-width: 120px; line-height: 1.3; }

/* Industry pills */
.pill-marquee { padding: 30px 0; }
.pill-marquee .marquee-track { gap: 16px; animation-duration: 50s; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  font-size: 15px; font-weight: 500;
  white-space: nowrap;
  color: var(--text-1);
}
.pill .emoji { font-size: 18px; }
.pill.accent { border-color: rgba(253,97,81,0.3); background: rgba(253,97,81,0.06); color: #fff; }

/* ============== PROBLEM vs SOLUTION ============== */
.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 60px;
}
.ps-col {
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
  position: relative;
  overflow: hidden;
}
.ps-col.red { background: linear-gradient(180deg, rgba(253,97,81,0.06), rgba(253,97,81,0.01)); border-color: rgba(253,97,81,0.2); }
.ps-col.green { background: linear-gradient(180deg, rgba(52,211,153,0.06), rgba(52,211,153,0.01)); border-color: rgba(52,211,153,0.18); }
.ps-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.ps-col.red .ps-label { color: var(--red); }
.ps-col.green .ps-label { color: var(--green); }
.ps-col h3 { font-size: 28px; margin-bottom: 24px; }
.ps-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ps-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-1); font-size: 15px; line-height: 1.5; }
.ps-list .mark {
  flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  margin-top: 1px;
}
.ps-col.red .mark { background: rgba(253,97,81,0.12); color: var(--red); }
.ps-col.green .mark { background: rgba(52,211,153,0.12); color: var(--green); }

@media (max-width: 900px) { .ps-grid { grid-template-columns: 1fr; } }

/* ============== SLIDING CAPABILITY CARDS ============== */
.cap-rail { overflow: hidden; position: relative; margin: 20px 0; }
.cap-rail::before, .cap-rail::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 120px;
  z-index: 2; pointer-events: none;
}
.cap-rail::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.cap-rail::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.cap-track {
  display: flex; gap: 16px; width: max-content;
  animation: marqueeX 60s linear infinite;
}
.cap-rail.reverse .cap-track { animation-direction: reverse; }
.cap-rail:hover .cap-track { animation-play-state: paused; }

/* .cap-grid — static feature-card grid used on websites.html, ai-receptionist.html.
   Distinct from .cap-rail/.cap-track (the scrolling marquee). */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 720px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cap-grid { grid-template-columns: 1fr; }
}
/* Inside .cap-grid the cards fill their grid cell; override the marquee fixed width */
.cap-grid .cap-card { flex: none; width: auto; }

.cap-card {
  flex: 0 0 320px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #101010, #0a0a0a);
  border: 1px solid var(--border);
  display: flex; gap: 16px;
  transition: all .3s var(--ease);
}
.cap-card:hover { border-color: rgba(253,97,81,0.3); transform: translateY(-3px); }
.cap-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(253,97,81,0.15), rgba(253,97,81,0.04));
  border: 1px solid rgba(253,97,81,0.2);
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--red);
}
.cap-body h4 { font-size: 15px; margin-bottom: 4px; font-weight: 600; letter-spacing: -0.01em; }
.cap-body p { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* ============== MEGA HEADLINE ============== */
.mega-section { padding: 180px 0; text-align: left; position: relative; }
.mega-copy {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.96;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 1100px;
  overflow-wrap: break-word;
}
.mega-copy em { font-style: normal; color: var(--red); -webkit-text-fill-color: var(--red); }
.mega-sub {
  margin-top: 32px;
  display: flex; gap: 40px; flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.mega-sub span { position: relative; padding-left: 16px; }
.mega-sub span::before { content: '/'; position: absolute; left: 0; color: var(--red); }

/* ============== STATS BAR ============== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 60px;
}
.stat-cell {
  padding: 50px 30px;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background .3s;
}
.stat-cell:last-child { border-right: none; }
.stat-cell::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) 50%, rgba(253,97,81,0.08), transparent 70%);
  opacity: 0;
  transition: opacity .4s;
}
.stat-cell:hover::before { opacity: 1; }
.stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff, var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-lbl { color: var(--text-2); font-size: 13px; margin-top: 8px; }
@media (max-width: 700px) { .stats-bar { grid-template-columns: 1fr 1fr; } .stat-cell { border-bottom: 1px solid var(--border); } }

/* ============== HORIZONTAL SCROLL ============== */
.hscroll-wrap { height: 500vh; position: relative; }
.hscroll-pin {
  height: 100vh;
  position: absolute;
  top: 0; left: 0; right: 0;
  overflow: hidden;
  display: flex; align-items: center;
}
.hscroll-pin.is-pinned { position: fixed; }
.hscroll-pin.is-end { position: absolute; top: auto; bottom: 0; }
.hscroll-pin > .hscroll-track { width: max-content; }
.hscroll-track {
  display: flex; gap: 32px;
  padding: 0 64px;
  will-change: transform;
}
.hscroll-card {
  flex: 0 0 min(70vw, 640px);
  height: 62vh;
  padding: 40px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #141414, #0a0a0a);
  border: 1px solid var(--border-strong);
  display: flex; flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.hscroll-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(253,97,81,0.12), transparent 50%);
  pointer-events: none;
}
.hscroll-card .idx {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.15em;
}
.hscroll-card h3 { font-size: 40px; letter-spacing: -0.03em; }
.hscroll-card p { color: var(--text-2); max-width: 42ch; }
.hscroll-card .mini-ui {
  margin-top: auto;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-2);
}
@media (max-width: 900px) {
  .hscroll-wrap { height: auto; }
  .hscroll-pin { position: relative; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .hscroll-track { padding: 0 20px; gap: 16px; }
  .hscroll-card { scroll-snap-align: start; height: auto; min-height: 420px; flex: 0 0 min(82vw, 560px); padding: 28px; }
  .hscroll-card h3 { font-size: 28px; }
}

/* ============== GRADIENT SHOWCASE ============== */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 60px;
}
.showcase {
  padding: 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, #141414, #0a0a0a);
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex; flex-direction: column;
}
.showcase-visual {
  height: 220px;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(253,97,81,0.2), rgba(253,97,81,0.02)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 60px);
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  display: grid; place-items: center;
}
.showcase-visual::before {
  content: '';
  position: absolute;
  width: 260%; height: 260%;
  left: -80%; top: -80%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(253,97,81,0.35) 20%, transparent 45%, transparent 100%);
  animation: spin 8s linear infinite;
  opacity: 0.7;
}
.showcase-visual::after {
  content: '';
  position: absolute; inset: 2px;
  background: linear-gradient(160deg, #141414, #0a0a0a);
  border-radius: calc(var(--radius) - 1px);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(253,97,81,0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(253,97,81,0.1), transparent 40%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 40px);
}
@keyframes spin { to { transform: rotate(360deg); } }
/* PERF: the spinning conic-gradient is a continuous GPU repaint.
   Stop it when the user prefers reduced motion. */
/* prefers-reduced-motion: brand animations (marquees, reveals, floaters, orb)
   intentionally run for ALL users. Only the continuous background GPU repaints
   below are stopped — they're invisible to users and only waste battery/heat.
   These two specific rules are kept because the spinning conic gradients repaint
   the GPU compositor every frame even when off-screen, with zero perceptual value. */
@media (prefers-reduced-motion: reduce) {
  /* Spinning conic-gradient border on the featured pricing card — a continuous
     GPU compositor repaint. Stop it; the card still looks great without it. */
  .price-card.featured::before { animation: none !important; }
  /* Rotating conic overlay on the showcase visuals — same reasoning. */
  .showcase-visual::before { animation: none !important; }
}

/* PERF: mobile — remove the spinning conic border on featured pricing card
   (continuous GPU repaint on a phone for a card the user scrolls past in 1s). */
@media (max-width: 768px) {
  .price-card.featured::before { display: none; }
  /* The showcase spin visual is desktop eye-candy; on mobile it's below the fold
     and the animation paints over a tall canvas at every frame. */
  .showcase-visual::before { animation: none !important; opacity: 0.4; }
  /* Floater cards are hidden on ≤1200px already, but belt-and-suspenders:
     no animation cost at all on mobile. */
  .floater { animation: none !important; will-change: auto; }
}
.showcase-emoji {
  position: relative; z-index: 2;
  font-size: 72px;
  filter: drop-shadow(0 8px 20px rgba(253,97,81,0.4));
}
.showcase h3 { font-size: 24px; margin-bottom: 10px; }
.showcase p { color: var(--text-2); font-size: 14px; }
@media (max-width: 900px) { .showcase-grid { grid-template-columns: 1fr; } }

/* ============== USE CASES ============== */
.uc-wrap { overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 32px 40px; margin: 30px -32px 0; -webkit-overflow-scrolling: touch; }
.uc-wrap::-webkit-scrollbar { height: 4px; }
.uc-wrap::-webkit-scrollbar-track { background: transparent; }
.uc-wrap::-webkit-scrollbar-thumb { background: var(--red); border-radius: 99px; }
.uc-track { display: flex; gap: 24px; }
.uc-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  background: #0a0a0a;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .3s var(--ease);
}
.uc-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.uc-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.uc-img-1 { background: linear-gradient(135deg, #3a1410, #0a0a0a); }
.uc-img-2 { background: linear-gradient(135deg, #1a2e1d, #0a0a0a); }
.uc-img-3 { background: linear-gradient(135deg, #2e1a3b, #0a0a0a); }
.uc-img-4 { background: linear-gradient(135deg, #3a2a10, #0a0a0a); }
.uc-img-5 { background: linear-gradient(135deg, #102e3a, #0a0a0a); }
.uc-img-6 { background: linear-gradient(135deg, #3a1035, #0a0a0a); }
.uc-img::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 30px);
}
.uc-ico {
  position: relative; z-index: 2;
  font-size: 56px;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.5));
}
.uc-body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.uc-body .uc-city { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--red); letter-spacing: 0.15em; text-transform: uppercase; }
.uc-body h4 { font-size: 18px; line-height: 1.25; }
.uc-body p { color: var(--text-2); font-size: 13px; line-height: 1.5; }
.uc-body .uc-metric { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border); font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--green); }

/* ============== TESTIMONIAL TICKER ============== */
.ttick { padding: 40px 0; overflow: hidden; }
.ttick-track {
  display: flex; gap: 20px; width: max-content;
  animation: marqueeX 60s linear infinite reverse;
}
.ttick:hover .ttick-track { animation-play-state: paused; }
.tt-card {
  flex: 0 0 420px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.tt-card p { color: var(--text-1); font-size: 15px; line-height: 1.6; margin-bottom: 16px; }
.tt-foot { display: flex; align-items: center; gap: 12px; }
.tt-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  background: linear-gradient(135deg, #2b1414, #3a1d1d);
  color: var(--red);
  border: 1px solid rgba(253,97,81,0.3);
}
.tt-who { font-size: 13px; font-weight: 500; }
.tt-role { font-size: 11px; color: var(--text-3); font-family: 'JetBrains Mono', monospace; }

/* ============== 3D PHONE ============== */
.phone-section { position: relative; overflow: hidden; }
.phone-section .aurora {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 40% at 20% 30%, rgba(253,97,81,0.18), transparent 60%),
    radial-gradient(40% 40% at 80% 70%, rgba(52,211,153,0.06), transparent 60%);
  filter: blur(40px);
  pointer-events: none; z-index: 0;
}
.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  position: relative; z-index: 1;
}
.phone-wrap {
  position: relative;
  perspective: 1800px;
  display: flex; justify-content: center;
}
.phone {
  width: 320px;
  aspect-ratio: 9 / 19;
  border-radius: 44px;
  background: linear-gradient(160deg, #1a1a1a, #050505);
  border: 2px solid rgba(255,255,255,0.08);
  padding: 10px;
  position: relative;
  transform: rotateY(-12deg) rotateX(6deg);
  box-shadow:
    0 50px 100px -20px rgba(253,97,81,0.3),
    0 0 0 1px rgba(253,97,81,0.1),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  transition: transform .6s var(--ease);
}
.phone:hover { transform: rotateY(-6deg) rotateX(2deg); }
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 36px;
  background: linear-gradient(180deg, #0a0a0a, #000);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 24px;
  border-radius: 99px;
  background: #000;
  z-index: 3;
}
.phone-statusbar {
  display: flex; justify-content: space-between;
  padding: 14px 30px 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: #fff;
  z-index: 2;
}
.phone-call-head {
  padding: 40px 20px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.phone-call-head .who { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.phone-call-head .status { font-size: 12px; color: var(--green); font-family: 'JetBrains Mono', monospace; display: inline-flex; gap: 6px; align-items: center; }
.phone-call-head .status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulseDot 1.4s infinite; }
.phone-convo {
  flex: 1; padding: 16px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 13px;
}
.phone-convo::-webkit-scrollbar { display: none; }
.msg {
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 80%;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
  animation: msgIn .5s var(--ease) forwards;
}
.msg.user { background: rgba(255,255,255,0.08); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg.ai { background: var(--red); color: #fff; align-self: flex-start; border-bottom-left-radius: 4px; }
@keyframes msgIn { to { opacity: 1; transform: translateY(0); } }
.phone-actions {
  padding: 16px; display: flex; justify-content: space-around;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.phone-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
}
.phone-btn.end { background: var(--red); box-shadow: 0 0 20px var(--red-glow); }

.phone-floaters {
  position: absolute;
  inset: -10px -10px -10px -10px;
  pointer-events: none;
}
.floater {
  position: absolute;
  padding: 10px 14px;
  border-radius: 12px;
  /* PERF: removed `backdrop-filter: blur(8px)` — it forced the browser to re-blur
     the background behind 3 cards on EVERY frame of the infinite float animation,
     the main cause of the laggy scroll on Mac Chrome (iOS ignores backdrop-filter so
     it felt fine there). The 96%-opaque bg looks identical. will-change keeps the
     transform animation on the GPU's compositor so it doesn't repaint. */
  background: rgba(20,20,20,0.96);
  border: 1px solid var(--border-strong);
  font-size: 12px;
  display: flex; gap: 10px; align-items: center;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.6);
  animation: floaty 6s ease-in-out infinite;
  will-change: transform;
  z-index: 2;
}
.floater .fico {
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(253,97,81,0.15); color: var(--red);
  font-size: 13px;
}
.floater .ft { font-size: 11px; color: var(--text-3); font-family: 'JetBrains Mono', monospace; }
.floater .fd { font-size: 13px; color: #fff; }
.f1 { top: 12%; left: -8%; animation-delay: 0s; }
.f2 { top: 46%; left: -14%; animation-delay: 2s; }
.f3 { bottom: 14%; right: -8%; animation-delay: 4s; }
/* Floaters are positioned at left:-8%/-14% (outside the phone) — fine on a wide
   desktop, but on tablet/mobile they overflow off the left edge of the screen.
   Hide them ≤1200px; the phone mock reads fine without the decorative cards. */
@media (max-width: 1200px) {
  .phone-floaters { display: none; }
  /* "What Sarah can do" cards go full-width on tablet/mobile — their icon+text
     hugged the left with dead space on the right. Center the content. Scoped to
     .cap-grid so the homepage scrolling marquee (.cap-rail) cards are untouched. */
  .cap-grid .cap-card { justify-content: center; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 900px) { .phone-grid { grid-template-columns: 1fr; } }

/* ============== HOW IT WORKS ============== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
  position: relative;
}
.step {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #101010, #0a0a0a);
  border: 1px solid var(--border);
  position: relative;
}
.step .step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 80px; font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--red);
  letter-spacing: -0.05em;
  line-height: 1.1;
  margin-bottom: 40px;
  display: block;
}
.step h4 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 14px; }
.step .step-time {
  display: inline-block;
  margin-top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--red);
  padding: 4px 10px;
  background: rgba(253,97,81,0.08);
  border-radius: 6px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
@media (max-width: 700px) { .steps-grid { grid-template-columns: 1fr; } }

/* ============== PRICING ============== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 60px;
}
.pricing-grid.bundles { grid-template-columns: 1fr 1fr 1fr; }
.price-card {
  padding: 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #101010, #0a0a0a);
  border: 1px solid var(--border-strong);
  position: relative;
  display: flex; flex-direction: column;
}
.price-card.featured {
  border-color: rgba(253,97,81,0.4);
  background: linear-gradient(180deg, #1a1110, #0a0a0a);
  box-shadow: 0 30px 60px -20px rgba(253,97,81,0.2);
}
.price-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--ang, 0deg), transparent 0%, var(--red) 30%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotAng 6s linear infinite;
  pointer-events: none;
}
@keyframes rotAng { to { --ang: 360deg; } }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

.price-badge {
  /* B165: top-right pill aligned to the TITLE row (cards use 36px padding),
     so it sits level with the heading, not floating above it. */
  position: absolute; top: 34px; right: 22px; z-index: 2;
  display: inline-flex; margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; padding: 5px 11px;
  background: var(--red); color: #fff;
  border-radius: 999px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.price-card.featured h3 { padding-right: 96px; }
/* Slim grids (AI plan tiers) use smaller padding → nudge the badge up to match. */
.pricing-grid.slim .price-card.featured .price-badge { top: 24px; right: 18px; }
.price-card h3 { font-size: 22px; margin-bottom: 6px; }
.price-card .pc-sub { color: var(--text-2); font-size: 14px; margin-bottom: 28px; }
/* Setup fee is now the PRIMARY number; subscription is secondary */
.price-amt { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; order: 2; }
.price-amt .pr { font-family: 'JetBrains Mono', monospace; font-size: 24px; font-weight: 500; color: var(--text-2); letter-spacing: -0.02em; }
.price-amt .pu { color: var(--text-3); font-size: 12px; font-family: 'JetBrains Mono', monospace; }
.price-setup {
  font-family: 'JetBrains Mono', monospace;
  font-size: 56px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
  order: 1;
}
.price-setup .lbl {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.price-setup .note {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.02em;
  margin-top: 6px;
}
.price-card { display: flex; flex-direction: column; }
.price-card h3, .price-card .pc-sub, .price-card .price-badge { order: 0; }
.price-feat { order: 3; }
.price-card .btn { order: 4; }
.price-feat { list-style: none; flex: 1; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.price-feat li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-1); }
.price-feat .check {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(52,211,153,0.12);
  color: var(--green);
  display: grid; place-items: center;
  font-size: 11px; flex-shrink: 0; margin-top: 2px;
}
.price-card .btn { justify-content: center; width: 100%; }

@media (max-width: 900px) {
  .pricing-grid, .pricing-grid.bundles { grid-template-columns: 1fr; }
}
/* Tablet: 5-col grids (pricing tiers + Enterprise) collapse to 2-up or 3-up.
   !important beats inline grid-template overrides on ai-receptionist / pricing. */
@media (min-width: 900px) and (max-width: 1100px) {
  /* 5 narrow cards become 3+2 on mid-range viewports */
  .pricing-grid.bundles[style*="repeat(5"] { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (min-width: 660px) and (max-width: 900px) {
  .pricing-grid.bundles { grid-template-columns: 1fr 1fr !important; }
  .web-grid { grid-template-columns: 1fr 1fr !important; }
}
/* Mobile: force single-column. !important beats inline repeat(4,1fr) / repeat(5,1fr)
   used on the tier grids in websites.html / pricing.html / ai-receptionist.html. */
@media (max-width: 660px) {
  .pricing-grid.bundles, .web-grid { grid-template-columns: 1fr !important; }
}

/* ============== COMPARISON TABLE ============== */
.compare-table {
  margin-top: 60px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.compare-head {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  background: linear-gradient(180deg, #141414, #0a0a0a);
  border-bottom: 1px solid var(--border);
}
.compare-head > div {
  padding: 22px 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
}
.compare-head .with { color: var(--red); border-left: 1px solid var(--border); }
.compare-head .without { border-left: 1px solid var(--border); }
.compare-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.compare-row:last-child { border-bottom: none; }
.compare-row > div { padding: 22px 28px; font-size: 14px; }
.compare-row .label { color: var(--text-0); font-weight: 500; }
.compare-row .without { color: var(--text-3); border-left: 1px solid var(--border); }
.compare-row .with { color: var(--text-0); border-left: 1px solid var(--border); background: rgba(253,97,81,0.025); }

@media (max-width: 700px) {
  .compare-head > div, .compare-row > div { padding: 14px 16px; font-size: 12px; }
}

/* ============== TESTIMONIALS LARGE ============== */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.test-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #101010, #0a0a0a);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 20px;
}
.test-card .quote-ico {
  width: 32px; height: 32px;
  color: var(--red);
  opacity: 0.5;
}
.test-card .q { font-size: 16px; line-height: 1.55; color: var(--text-0); flex: 1; }
.test-card .stars { color: var(--red); font-size: 14px; letter-spacing: 2px; }
.test-foot { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }

@media (max-width: 900px) { .test-grid { grid-template-columns: 1fr; } }

/* ============== INDUSTRIES GRID ============== */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 60px;
}
.ind-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0f0f0f, #0a0a0a);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all .3s var(--ease);
  min-height: 180px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.ind-card:hover {
  border-color: rgba(253,97,81,0.3);
  transform: translateY(-2px);
  background: linear-gradient(180deg, #141010, #0a0a0a);
}
.ind-emoji { font-size: 32px; margin-bottom: 16px; }
.ind-card h4 { font-size: 18px; margin-bottom: 6px; }
.ind-card p { color: var(--text-2); font-size: 13px; }
.ind-card .ind-arrow {
  position: absolute; top: 22px; right: 22px;
  opacity: 0; transition: all .3s var(--ease);
  color: var(--red);
}
.ind-card:hover .ind-arrow { opacity: 1; transform: translate(0, 0); }

@media (max-width: 700px) { .ind-grid { grid-template-columns: 1fr 1fr; } }

/* ============== FINAL CTA ============== */
.final-cta {
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(253,97,81,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(253,97,81,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.final-cta h2 {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
  max-width: 16ch;
  margin: 0 auto 28px;
}
.final-cta .lead { margin: 0 auto 40px; }
.final-cta .btns { display: inline-flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   B151 — stat-card comparison (Without Grippy / With Grippy)
   ========================================================= */
.cmp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}
.cmp-card {
  border-radius: 26px;
  padding: 34px 36px 30px;
  position: relative;
  overflow: hidden;
}
.cmp-card.without {
  background: linear-gradient(180deg, #121212, #0b0b0b);
  border: 1px solid #242424;
}
.cmp-card.with {
  background: linear-gradient(180deg, #FD6151, #ec4f3f);
  color: #0a0a0a;
  box-shadow: 0 30px 70px -25px rgba(253,97,81,0.5);
}
.cmp-head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  margin-bottom: 14px;
}
.cmp-card.without .cmp-head { color: var(--text-3); }
.cmp-card.with .cmp-head { color: rgba(0,0,0,0.55); }
.cmp-card.with .cmp-day { color: rgba(0,0,0,0.45); }
.cmp-row {
  display: flex; align-items: baseline; gap: 22px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cmp-card.with .cmp-row { border-top-color: rgba(0,0,0,0.12); }
.cmp-row:first-of-type { border-top: none; }
.cmp-n {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.03em;
  line-height: 1;
  min-width: 96px;
  font-variant-numeric: tabular-nums;
}
.cmp-card.without .cmp-n { color: #6a6a6a; }
.cmp-card.with .cmp-n { color: #0a0a0a; }
.cmp-t { font-size: 15px; line-height: 1.4; align-self: center; }
.cmp-card.without .cmp-t { color: var(--text-1); }
.cmp-card.with .cmp-t { color: rgba(0,0,0,0.82); }
@media (max-width: 820px) {
  .cmp-grid { grid-template-columns: 1fr; }
  .cmp-n { font-size: 26px; min-width: 78px; }
}
/* On very small phones the .cmp-n min-width + gap can push the text off-screen
   inside the single-col card (card padding 36px each side = 375-72 = 303px content).
   Drop min-width so the row flexes safely. */
@media (max-width: 480px) {
  .cmp-n { min-width: 60px; font-size: 22px; }
  .cmp-row { gap: 14px; }
}

/* =========================================================
   B153 — billing toggle, enterprise strip, status icons
   ========================================================= */
.bill-toggle {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 28px auto 0; justify-content: center; width: 100%;
}
.bill-toggle .bt-opt {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3);
  transition: color .25s;
}
.bill-toggle .bt-opt em { color: var(--red); font-style: normal; }
.bill-toggle[data-bill="m"] .bt-m,
.bill-toggle[data-bill="a"] .bt-a { color: #fff; }
.bt-switch {
  width: 52px; height: 28px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: rgba(255,255,255,0.05);
  position: relative; cursor: pointer; padding: 0; flex-shrink: 0;
  transition: background .25s;
}
.bill-toggle[data-bill="a"] .bt-switch { background: var(--red); border-color: var(--red); }
.bt-knob {
  position: absolute; top: 2px; left: 2px;
  width: 22px; height: 22px; border-radius: 50%; background: #fff;
  transition: left .25s var(--ease);
}
.bill-toggle[data-bill="a"] .bt-knob { left: 26px; }

.ent-strip {
  margin-top: 22px;
  border: 1px solid var(--border); border-radius: 22px;
  background: linear-gradient(135deg, rgba(253,97,81,0.06), rgba(255,255,255,0.01));
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.ent-strip .ent-cta { text-align: right; flex-shrink: 0; }
/* On mobile the ent-strip wraps, center-align the CTA block */
@media (max-width: 600px) {
  .ent-strip { padding: 22px 20px; text-align: center; }
  .ent-strip .ent-cta { text-align: center; width: 100%; }
}

/* phone status-bar signal + battery icons */
.phone-statusbar .sb-icons { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.phone-statusbar .sb-icons svg { display: block; }

/* =========================================================
   B153 — "answering the call" loader
   ========================================================= */
.loader-stage { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.call-badge { position: relative; width: 84px; height: 84px; display: grid; place-items: center; margin-bottom: 6px; }
.call-core {
  position: relative; z-index: 2;
  width: 64px; height: 64px; border-radius: 20px;
  background: linear-gradient(135deg, #FF7050, #FD6151 55%, #D9421C);
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(253,97,81,0.6);
  animation: callBreathe 1.6s ease-in-out infinite;
}
.call-rings { position: absolute; inset: 0; z-index: 1; }
.call-rings span {
  position: absolute; inset: 0; margin: auto;
  width: 64px; height: 64px; border-radius: 50%;
  border: 1.5px solid rgba(253,97,81,0.6);
  animation: callSonar 2.2s cubic-bezier(.2,.7,.2,1) infinite;
}
.call-rings span:nth-child(2) { animation-delay: 0.7s; }
.call-rings span:nth-child(3) { animation-delay: 1.4s; }
@keyframes callSonar {
  0%   { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes callBreathe {
  0%,100% { transform: translateY(0) scale(1); }
  50%     { transform: translateY(-2px) scale(1.04); }
}
/* when connected, rings stop + core settles */
#loader.connected .call-rings span { animation: none; opacity: 0; }
#loader.connected .call-core { animation: none; box-shadow: 0 12px 36px -6px rgba(52,211,153,0.45); background: linear-gradient(135deg, #34D399, #10b981); }
.loader-status {
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
  color: var(--text-1); letter-spacing: -0.01em; min-height: 20px;
}
#loader.connected .loader-status { color: var(--green); }
.loader-state { color: var(--text-3); }
#loader.connected .loader-state { color: var(--green); }

/* =========================================================
   B153 — warm aurora glow (mix the black with soft orange,
   like the glow behind the phone — NOT a solid orange section)
   ========================================================= */
.warm-section { position: relative; isolation: isolate; }
.warm-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(46% 55% at 12% 18%, rgba(253,97,81,0.11), transparent 60%),
    radial-gradient(40% 50% at 88% 82%, rgba(253,97,81,0.07), transparent 60%);
}

/* =========================================================
   B154 — warm-section edge blend (fade glow into neighbours)
   ========================================================= */
.warm-section::before {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
}

/* =========================================================
   B154 — giant GRIPPY watermark after the footer
   ========================================================= */
.giant-grippy {
  font-family: 'Inter', sans-serif; font-weight: 900;
  font-size: clamp(110px, 27vw, 460px);
  line-height: 0.74; letter-spacing: -0.06em;
  text-align: center; white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(253,97,81,0.16), rgba(253,97,81,0.02));
  -webkit-background-clip: text; background-clip: text;
  user-select: none; overflow: hidden;
  padding: 10px 0 24px; margin-top: -1vw;
}

/* =========================================================
   B160 — Mobile off-canvas nav + hamburger
   ========================================================= */
.nav-toggle {
  display: none;
  width: 42px; height: 42px; padding: 0;
  background: transparent; border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  margin-left: auto;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; border-radius: 2px;
  background: var(--text-0); transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.mobile-overlay.open { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed; top: 0; right: 0; z-index: 201;
  width: min(82vw, 360px); height: 100%;
  background: linear-gradient(180deg, #141010 0%, #0a0a0a 100%);
  border-left: 1px solid var(--border-strong);
  box-shadow: -30px 0 80px -20px rgba(0,0,0,0.7);
  transform: translateX(100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column; padding: 76px 26px 32px;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0) !important; }
.mm-close {
  position: absolute; top: 18px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--text-1); font-size: 24px; line-height: 1; cursor: pointer;
  transition: background .2s;
}
.mm-close:hover { background: rgba(255,255,255,0.1); }
.mm-links { display: flex; flex-direction: column; gap: 2px; }
.mm-links a {
  font-size: 19px; font-weight: 600; color: var(--text-0);
  padding: 15px 6px; border-bottom: 1px solid var(--border);
  transition: color .2s, padding-left .2s;
}
.mm-links a:hover { color: var(--red); padding-left: 12px; }
.mm-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.mm-cta .btn { width: 100%; justify-content: center; padding: 14px 18px; font-size: 15px; }

@media (max-width: 1024px) {
  .header { padding: 12px 14px; }
  .header-inner { padding: 12px 16px; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* =========================================================
   B171 — Centralize EVERYTHING on mobile
   ========================================================= */
@media (max-width: 900px) {
  main, .shell { text-align: center; }
  .eyebrow { display: inline-flex; }
  .h-hero, .h-section, .lead, h1, h2, h3, p, .pc-sub, .pr-deposit, .pr-fine { margin-left: auto; margin-right: auto; }
  /* center every row/grid of items */
  .hero-cta, .hero-stats, .header-cta, .steps-grid, .pricing-grid, .pricing-grid.bundles,
  .cmp-grid, .ind-grid, .footer-grid, .stats-bar, .web-grid, .crm-grid, .recep-cards,
  .bill-toggle, .ent-strip, .footer-bottom, .cap-grid, .phone-grid, .test-grid { justify-content: center; place-items: center; }
  /* checklists: keep the TEXT left-aligned but center the block itself (readable) */
  .price-feat { display: inline-block; text-align: left; }
  /* B181.x: .mm-links must stay a vertical stack — the inline-block above made the
     mobile-menu nav links flow sideways and overflow off the panel. Restore column. */
  .mm-links { display: flex; flex-direction: column; width: 100%; text-align: left; }
  .footer-grid ul { padding: 0; }
  .hero-copy { align-items: center; }
}

/* =========================================================
   B172 — center hero/intro on product pages (NOT the homepage 2-col hero)
   ========================================================= */
.hero .shell:not(.hero-grid) { text-align: center; }
.hero .shell:not(.hero-grid) .h-hero,
.hero .shell:not(.hero-grid) .lead { margin-left: auto; margin-right: auto; }
.hero .shell:not(.hero-grid) .hero-cta { justify-content: center; }
.hero .shell:not(.hero-grid) .eyebrow { display: inline-flex; }

/* =========================================================
   TABLET RANGE — 901px–1200px
   Covers iPad landscape (1024px), iPad Pro 11" portrait/landscape,
   and the general gap between the 900px mobile rules and 1280px desktop.
   Rule of thumb: tighten gaps, reduce oversized section padding,
   collapse cramped 2-col grids where the content can't breathe.
   ========================================================= */
@media (min-width: 901px) and (max-width: 1200px) {

  /* ---- Section vertical rhythm ---- */
  /* Desktop default is 120px; this range gets 90px so sections don't
     read as giant empty blocks on the shorter tablet viewport. */
  section { padding: 90px 0; }
  section.tight { padding: 60px 0; }
  .stack-section { padding: 70px 0 60px; }
  .mega-section { padding: 120px 0; }
  .final-cta { padding: 100px 0; }

  /* ---- Shell padding ---- */
  /* At 1024px, 32px side padding leaves ~960px. Nudge down to 24px
     to reclaim a little extra content width without breaking layout. */
  .shell { padding: 0 24px; }

  /* ---- Hero grid ---- */
  /* 80px gap at ~960px content width is nearly 10% wasted. Cut to 48px.
     Also ease back the 3D tilt so the dashboard doesn't clip on the right. */
  .hero-grid { gap: 48px; }
  .dashboard { transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); }
  .dashboard:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }

  /* ---- Stats bar ---- */
  /* 50px top/bottom padding × 4 cells reads as enormous empty space.
     Tighten to 32px. */
  .stat-cell { padding: 32px 22px; }

  /* ---- Phone section ---- */
  /* 80px gap is too wide at 1024px; 48px gives each side more breathing room. */
  .phone-grid { gap: 48px; }

  /* ---- Steps grid ---- */
  /* 3 columns at 1024px is fine but the default gap and card padding leave
     it looking sparse. Minor tightening only. */
  .steps-grid { gap: 18px; }

  /* ---- Testimonials ---- */
  /* 3-col at tablet is a bit cramped — drop to 2-col so quotes have room. */
  .test-grid { grid-template-columns: repeat(2, 1fr); }

  /* ---- Industries grid ---- */
  /* 3-col works at 1024px, stays as-is. No change needed here. */

  /* ---- Pricing grid ---- */
  /* 2-col (AI plans) is fine. 3-col bundles can feel tight — keep as-is,
     the gap:24px already gives enough room at 960px content width. */

  /* ---- Comparison stat cards (Without / With Grippy) ---- */
  /* 2-col is comfortable at tablet — no change. */

  /* ---- Footer grid — collapse to 2-col AND center the columns (they were
     left-hugging with large dead space on a portrait tablet). ---- */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    justify-items: center;
    text-align: center;
  }
  .footer-grid ul { padding: 0; }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  /* ---- Hero — collapse to ONE column so the dashboard mock doesn't float with
     empty space beside the taller copy column on a portrait tablet. Center the copy. ---- */
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { align-items: center; text-align: center; }
  .hero-copy .h-hero, .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { max-width: 560px; margin-left: auto; margin-right: auto; }

  /* ---- Receptionist persona cards ---- */
  /* Already handled at 1100px (3-col). No additional change needed. */

}
