/* =========================================================
   PIQUUP — Master stylesheet
   Brand tokens pulled from production piquup.com styles.css
   ========================================================= */
:root {
  --teal: #0E6B5E;
  --teal-dark: #094D44;
  --teal-light: #E8F5F1;
  --teal-soft: #D4EBE4;
  --gold: #F0A500;
  --gold-dark: #C88800;
  --gold-light: #FFF6E0;
  --gold-soft: #FCEFC8;
  --ink-900: #1A1A18;
  --ink-700: #2F2F2C;
  --ink-500: #6B6B65;
  --ink-400: #8A8A82;
  --ink-300: #B5B5AD;
  --ink-200: #D6D6CF;
  --ink-100: #E5E5DF;
  --ink-50: #F5F5F0;
  --ink-0: #FAFAF7;
  --white: #FFFFFF;

  --display: 'Fraunces', 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1200px;
  --container-tight: 920px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  --shadow-md: 0 2px 4px rgba(0,0,0,0.04), 0 12px 28px rgba(0,0,0,0.05);
  --shadow-lg: 0 4px 8px rgba(0,0,0,0.04), 0 20px 50px rgba(26, 26, 24, 0.08);
  --shadow-xl: 0 4px 8px rgba(0,0,0,0.04), 0 24px 60px rgba(26, 26, 24, 0.10), 0 40px 100px rgba(26, 26, 24, 0.06);
  --shadow-teal: 0 2px 6px rgba(14, 107, 94, 0.18), 0 16px 40px rgba(14, 107, 94, 0.16);
  --shadow-gold: 0 2px 6px rgba(240, 165, 0, 0.20), 0 16px 40px rgba(240, 165, 0, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(at top left, rgba(240, 165, 0, 0.05), transparent 40%),
    radial-gradient(at bottom right, rgba(14, 107, 94, 0.05), transparent 50%),
    var(--ink-0);
  color: var(--ink-700);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--teal); color: var(--white); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink-900); }

/* =========================================================
   AMBIENT
   ========================================================= */
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-wash {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 15% 20%, rgba(240, 165, 0, 0.08), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(14, 107, 94, 0.08), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(240, 165, 0, 0.04), transparent 40%);
  animation: washDrift 50s ease-in-out infinite;
}
@keyframes washDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(2%, -1%) scale(1.04); }
  50% { transform: translate(-1%, 2%) scale(0.98); }
  75% { transform: translate(-2%, -2%) scale(1.02); }
}
.amb-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; mix-blend-mode: multiply; }
.amb-orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(240, 165, 0, 0.25), transparent 70%); top: -160px; right: -120px; animation: ambFloat 25s ease-in-out infinite; }
.amb-orb-2 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(14, 107, 94, 0.18), transparent 70%); top: 35%; left: -180px; animation: ambFloat 30s ease-in-out infinite reverse; animation-delay: -10s; }
.amb-orb-3 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(240, 165, 0, 0.16), transparent 70%); bottom: 15%; right: 10%; animation: ambFloat 35s ease-in-out infinite; animation-delay: -16s; }
@keyframes ambFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.05); }
  66% { transform: translate(-40px, 50px) scale(0.95); }
}

/* =========================================================
   LAYOUT
   ========================================================= */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; z-index: 5; }
.narrow { max-width: var(--container-tight); margin: 0 auto; padding: 0 24px; position: relative; z-index: 5; }
@media (max-width: 720px) { .container, .narrow { padding: 0 20px; } }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
.eyebrow { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--teal); font-weight: 600; }
.h-hero { font-family: var(--display); font-size: clamp(48px, 7.6vw, 96px); line-height: 1; font-weight: 700; letter-spacing: -0.04em; color: var(--ink-900); }
.h-section { font-family: var(--display); font-size: clamp(40px, 5vw, 72px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; color: var(--ink-900); }
.h-block { font-family: var(--display); font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -0.025em; color: var(--ink-900); }
.lede { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-500); max-width: 560px; }
.hero-accent { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.teal-em { color: var(--teal); }

/* =========================================================
   ANIMATIONS — global keyframes
   ========================================================= */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulseRing { 0% { transform: scale(0.85); opacity: 0.8; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes waveBar { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
@keyframes typingDot { 0%, 100% { opacity: 0.3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }
@keyframes bounceIn { 0% { opacity: 0; transform: translateY(8px) scale(0.92); } 50% { transform: translateY(-3px) scale(1.02); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }

.word { display: inline-block; opacity: 0; transform: translateY(0.4em); animation: fadeUp 1s cubic-bezier(0.2, 0.85, 0.3, 1) forwards; }
.word-space { display: inline-block; width: 0.25em; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s cubic-bezier(0.2, 0.85, 0.3, 1), transform 1s cubic-bezier(0.2, 0.85, 0.3, 1); }
[data-reveal].seen { opacity: 1; transform: translateY(0); }
[data-stagger] > * { opacity: 0; transform: translateY(20px); transition: opacity 0.85s cubic-bezier(0.2, 0.85, 0.3, 1), transform 0.85s cubic-bezier(0.2, 0.85, 0.3, 1); }
[data-stagger].seen > * { opacity: 1; transform: translateY(0); }
[data-stagger].seen > *:nth-child(1) { transition-delay: 0s; }
[data-stagger].seen > *:nth-child(2) { transition-delay: 0.08s; }
[data-stagger].seen > *:nth-child(3) { transition-delay: 0.16s; }
[data-stagger].seen > *:nth-child(4) { transition-delay: 0.24s; }
[data-stagger].seen > *:nth-child(5) { transition-delay: 0.32s; }
[data-stagger].seen > *:nth-child(6) { transition-delay: 0.40s; }

/* =========================================================
   NAV
   ========================================================= */
.nav { backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); background: rgba(255, 255, 255, 0.78); border-bottom: 1px solid rgba(229, 229, 223, 0.72); position: sticky; top: 0; z-index: 50; }
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 80px; }
.piquup-logo { display: inline-flex; align-items: baseline; font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; line-height: 1; transition: opacity 0.2s; }
.piquup-logo:hover { opacity: 0.85; }
.logo-piq { color: var(--teal); }
.logo-uu { background: linear-gradient(120deg, var(--gold) 0%, var(--gold-dark) 30%, var(--gold) 60%, var(--gold-dark) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 5s ease-in-out infinite; }
.logo-p { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link { color: var(--ink-700); font-size: 14px; font-weight: 500; position: relative; padding: 4px 0; transition: color 0.2s; }
.nav-link::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform 0.4s cubic-bezier(0.2, 0.85, 0.3, 1); }
.nav-link:hover { color: var(--ink-900); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-link.active { color: var(--teal); }
.nav-link.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 20px; }

/* =========================================================
   BUTTONS — 10px radius like piquup.com
   ========================================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 10px; font-family: var(--sans); font-size: 15px; font-weight: 600; transition: background 0.2s, transform 0.2s, box-shadow 0.2s, color 0.2s; border: 1px solid transparent; white-space: nowrap; text-decoration: none; position: relative; overflow: hidden; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.20) 50%, transparent 70%); transform: translateX(-100%); transition: transform 0.6s; }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: var(--shadow-teal); }
.btn-primary:hover::after { transform: translateX(100%); }
.btn-secondary { background: var(--white); color: var(--ink-900); border-color: var(--ink-200); }
.btn-secondary:hover { background: var(--ink-50); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold); color: var(--ink-900); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.btn-ghost { color: var(--ink-700); font-weight: 500; }
.btn-ghost:hover { color: var(--ink-900); }
.btn-white { background: var(--white); color: var(--ink-900); }
.btn-white:hover { background: var(--ink-50); transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.4); }
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); transform: translateY(-1px); }
.btn-lg { padding: 14px 28px; font-size: 16px; }

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding: 80px 0 140px; }
@media (max-width: 720px) { .hero { padding: 56px 0 80px; } }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 56px; } }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; background: var(--white); border: 1px solid var(--ink-100); border-radius: 999px; font-size: 13px; color: var(--ink-700); font-weight: 500; margin-bottom: 32px; box-shadow: var(--shadow-sm); opacity: 0; animation: fadeUp 0.8s 0.1s cubic-bezier(0.2, 0.85, 0.3, 1) forwards; }
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); position: relative; }
.hero-eyebrow .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--teal); animation: pulseRing 2.4s ease-out infinite; }
.hero h1 { margin-bottom: 32px; }
.hero-sub { font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-500); line-height: 1.55; max-width: 540px; margin-bottom: 40px; opacity: 0; animation: fadeUp 0.8s 1.3s cubic-bezier(0.2, 0.85, 0.3, 1) forwards; }
.hero-cta { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.8s 1.45s cubic-bezier(0.2, 0.85, 0.3, 1) forwards; }
.hero-meta { font-size: 14px; color: var(--ink-400); opacity: 0; animation: fadeUp 0.8s 1.6s cubic-bezier(0.2, 0.85, 0.3, 1) forwards; }

/* Page hero variant (subpages) */
.page-hero { position: relative; padding: 80px 0 60px; text-align: center; }
.page-hero .h-hero { font-size: clamp(40px, 6vw, 80px); max-width: 920px; margin: 16px auto 24px; }
.page-hero .lede { margin: 0 auto 32px; text-align: center; }
.page-hero .hero-eyebrow { margin: 0 auto 24px; }

/* =========================================================
   CALL DEMO — slanted by default, straightens on hover
   ========================================================= */
.call-wrap { position: relative; opacity: 0; animation: fadeUp 1s 0.5s cubic-bezier(0.2, 0.85, 0.3, 1) forwards; }
.call-tabs { display: inline-flex; padding: 4px; background: var(--ink-100); border-radius: 999px; gap: 4px; margin-bottom: 18px; }
.call-tab { padding: 8px 18px; font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink-500); border-radius: 999px; cursor: pointer; transition: all 0.3s; }
.call-tab:hover { color: var(--ink-700); }
.call-tab.on { background: var(--white); color: var(--ink-900); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,0.06); }

.call-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: rotate(1.5deg);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease;
}
.call-card:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.04), 0 32px 80px rgba(26, 26, 24, 0.14), 0 50px 120px rgba(26, 26, 24, 0.08);
}

.call-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--ink-100); }
.call-header-left { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--ink-500); min-width: 0; }
.call-header-left > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #1DA56B; position: relative; flex-shrink: 0; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #1DA56B; animation: pulseRing 1.8s ease-out infinite; }
.audio-toggle { width: 32px; height: 32px; border-radius: 999px; background: var(--ink-50); border: 1px solid var(--ink-100); color: var(--ink-500); display: grid; place-items: center; flex-shrink: 0; }

.transcript { display: flex; flex-direction: column; gap: 16px; padding: 18px 0; min-height: 320px; }
.t-line { border-left: 3px solid var(--teal); padding-left: 14px; opacity: 0; transform: translateY(8px); animation: tLineIn 0.5s cubic-bezier(0.2, 0.85, 0.3, 1) forwards; }
.t-line.caller { border-left-color: var(--gold); }
@keyframes tLineIn { to { opacity: 1; transform: translateY(0); } }
.t-line:nth-child(1) { animation-delay: 1.5s; }
.t-line:nth-child(2) { animation-delay: 3.0s; }
.t-line:nth-child(3) { animation-delay: 4.6s; }
.t-line:nth-child(4) { animation-delay: 6.6s; }
.t-line:nth-child(5) { animation-delay: 7.8s; }
.t-speaker { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.t-text { font-size: 14px; line-height: 1.5; color: var(--ink-700); }
.t-wave { display: inline-flex; align-items: end; gap: 2px; height: 12px; opacity: 0; transition: opacity 0.4s; }
.t-line.speaking .t-wave { opacity: 1; }
.t-wave .b { width: 2px; background: var(--teal); border-radius: 1px; transform-origin: bottom; animation: waveBar 0.7s ease-in-out infinite; }
.t-line.caller .t-wave .b { background: var(--gold); }
.t-wave .b:nth-child(1) { height: 100%; animation-delay: 0s; }
.t-wave .b:nth-child(2) { height: 70%; animation-delay: 0.12s; }
.t-wave .b:nth-child(3) { height: 100%; animation-delay: 0.25s; }
.t-wave .b:nth-child(4) { height: 50%; animation-delay: 0.38s; }

.status-row { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--ink-100); min-height: 50px; }
.status-pill { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; opacity: 0; transform: translateY(8px) scale(0.92); animation: bounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.sp-teal { background: var(--teal-light); color: var(--teal); }
.sp-gold { background: var(--gold-light); color: var(--gold-dark); }
.sp-gray { background: var(--ink-100); color: var(--ink-700); }
.status-pill:nth-child(1) { animation-delay: 9s; }
.status-pill:nth-child(2) { animation-delay: 9.2s; }
.status-pill:nth-child(3) { animation-delay: 9.4s; }

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip { padding: 60px 0; border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); background: rgba(255, 255, 255, 0.5); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 880px) { .trust-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; } }
.trust-cell { display: flex; flex-direction: column; gap: 6px; }
.trust-num { font-family: var(--display); font-size: clamp(40px, 4.4vw, 60px); font-weight: 700; line-height: 1; color: var(--ink-900); letter-spacing: -0.03em; }
.trust-num .unit { font-size: 0.5em; color: var(--ink-400); margin-left: 4px; }
.trust-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-500); }

/* =========================================================
   SECTIONS
   ========================================================= */
section { padding: 140px 0; position: relative; z-index: 5; }
section.tight { padding: 100px 0; }
section.bg-white { background: var(--white); }
section.bg-soft { background: var(--ink-50); }
@media (max-width: 720px) { section { padding: 80px 0; } section.tight { padding: 64px 0; } }

.section-head { text-align: center; margin-bottom: 64px; }
.section-head .eyebrow { margin-bottom: 16px; display: inline-block; }
.section-head h2 { margin: 0 auto; max-width: 920px; }
.section-head .lede { margin: 20px auto 0; text-align: center; }

/* =========================================================
   "WHAT PIQUUP ACTUALLY DOES" — 3 cards
   ========================================================= */
.three-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .three-grid { grid-template-columns: 1fr; } }

.card-clean { background: var(--white); border: 1px solid var(--ink-100); border-radius: 16px; padding: 32px; box-shadow: var(--shadow-sm); transition: all 0.4s cubic-bezier(0.2, 0.85, 0.3, 1); text-align: left; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.card-clean:hover { transform: translateY(-6px); border-color: var(--ink-200); box-shadow: var(--shadow-lg); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--teal-light); display: grid; place-items: center; margin-bottom: 24px; transition: transform 0.3s, background 0.3s; flex-shrink: 0; }
.card-clean:hover .card-icon { transform: translateY(-2px) scale(1.04); background: var(--teal-soft); }
.card-icon svg { width: 24px; height: 24px; stroke: var(--teal); }
.card-clean h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-900); margin-bottom: 14px; }
.card-clean p { color: var(--ink-500); font-size: 15px; line-height: 1.6; }

/* =========================================================
   INDUSTRY ORB SELECTOR — async lava blobs
   ========================================================= */
.industries-section { background: radial-gradient(ellipse 1200px 600px at 50% 0%, rgba(232, 245, 241, 0.6), transparent 70%), var(--ink-50); border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); position: relative; overflow: hidden; }

.orb-stage-wrap { position: relative; margin-bottom: 56px; }
.orb-stage { display: flex; align-items: center; justify-content: center; gap: 32px; height: 320px; position: relative; transition: gap 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); }
@media (max-width: 720px) { .orb-stage { gap: 16px; height: 240px; } }

.orb-btn { flex-shrink: 0; cursor: pointer; position: relative; display: flex; flex-direction: column; align-items: center; background: transparent; transition: transform 1.1s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.8s ease; transform-origin: center; }
.orb-shape { position: relative; width: 180px; height: 180px; transition: transform 1.1s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.8s ease, filter 0.8s ease; filter: saturate(0.7); opacity: 0.55; }
.orb-btn[data-pos="far"] .orb-shape { transform: scale(0.45); }
.orb-btn[data-pos="adj"] .orb-shape { transform: scale(0.7); opacity: 0.85; filter: saturate(0.9); }
.orb-btn[data-pos="active"] .orb-shape { transform: scale(1.15); opacity: 1; filter: saturate(1.15); }
.orb-btn:hover .orb-shape { filter: saturate(1.2) brightness(1.05); }
@media (max-width: 720px) {
  .orb-shape { width: 130px; height: 140px; }
  .orb-btn[data-pos="far"] { display: none; }
}

/* Lava lamp blob — base */
.blob {
  position: absolute;
  inset: 0;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  background: conic-gradient(from 0deg, var(--c1) 0deg, var(--c2) 90deg, var(--c3) 180deg, var(--c4) 270deg, var(--c1) 360deg);
  filter: blur(0.5px);
}
.blob::before {
  content: "";
  position: absolute;
  inset: -15%;
  border-radius: 50% 50% 60% 40% / 40% 50% 50% 60%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
}
.blob::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
  background: conic-gradient(from 180deg, var(--c2), var(--c4), var(--c1), var(--c2));
  mix-blend-mode: overlay;
  filter: blur(8px);
  opacity: 0.8;
}

/* Each orb gets its own unique keyframes + timing so they're NOT synchronized */
@keyframes morphA {
  0%, 100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
  17% { border-radius: 25% 75% 30% 70% / 70% 25% 75% 30%; }
  34% { border-radius: 50% 50% 30% 70% / 30% 70% 30% 70%; }
  51% { border-radius: 75% 25% 60% 40% / 30% 50% 60% 50%; }
  68% { border-radius: 30% 70% 50% 50% / 70% 30% 50% 50%; }
  85% { border-radius: 65% 35% 70% 30% / 40% 60% 35% 65%; }
}
@keyframes morphB {
  0%, 100% { border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%; }
  20% { border-radius: 70% 30% 50% 50% / 40% 60% 30% 70%; }
  40% { border-radius: 30% 70% 40% 60% / 65% 35% 70% 30%; }
  60% { border-radius: 55% 45% 65% 35% / 25% 75% 45% 55%; }
  80% { border-radius: 35% 65% 30% 70% / 60% 40% 65% 35%; }
}
@keyframes morphC {
  0%, 100% { border-radius: 55% 45% 30% 70% / 70% 30% 55% 45%; }
  15% { border-radius: 30% 70% 65% 35% / 35% 65% 40% 60%; }
  35% { border-radius: 70% 30% 45% 55% / 50% 50% 70% 30%; }
  55% { border-radius: 45% 55% 70% 30% / 30% 70% 25% 75%; }
  75% { border-radius: 65% 35% 30% 70% / 75% 25% 50% 50%; }
  90% { border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%; }
}
@keyframes morphD {
  0%, 100% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; }
  25% { border-radius: 75% 25% 75% 25% / 25% 75% 25% 75%; }
  50% { border-radius: 30% 70% 30% 70% / 70% 30% 70% 30%; }
  75% { border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%; }
}
@keyframes morphE {
  0%, 100% { border-radius: 40% 60% 55% 45% / 65% 35% 60% 40%; }
  22% { border-radius: 70% 30% 30% 70% / 30% 70% 50% 50%; }
  44% { border-radius: 35% 65% 70% 30% / 55% 45% 35% 65%; }
  66% { border-radius: 60% 40% 45% 55% / 75% 25% 45% 55%; }
  88% { border-radius: 25% 75% 50% 50% / 40% 60% 70% 30%; }
}
@keyframes morphF {
  0%, 100% { border-radius: 65% 35% 40% 60% / 35% 65% 50% 50%; }
  18% { border-radius: 30% 70% 60% 40% / 70% 30% 60% 40%; }
  38% { border-radius: 55% 45% 25% 75% / 45% 55% 75% 25%; }
  58% { border-radius: 70% 30% 50% 50% / 50% 50% 30% 70%; }
  78% { border-radius: 40% 60% 70% 30% / 65% 35% 40% 60%; }
}
@keyframes morphInner {
  0%, 100% { border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%; }
  25% { border-radius: 60% 40% 30% 70% / 60% 50% 50% 40%; }
  50% { border-radius: 50% 50% 70% 30% / 40% 70% 30% 60%; }
  75% { border-radius: 30% 70% 50% 50% / 50% 60% 40% 50%; }
}
@keyframes hueShiftA { 0%, 100% { filter: blur(0.5px) hue-rotate(0deg); } 50% { filter: blur(0.5px) hue-rotate(25deg); } }
@keyframes hueShiftB { 0%, 100% { filter: blur(0.5px) hue-rotate(-10deg); } 50% { filter: blur(0.5px) hue-rotate(15deg); } }
@keyframes hueShiftC { 0%, 100% { filter: blur(0.5px) hue-rotate(5deg); } 50% { filter: blur(0.5px) hue-rotate(-20deg); } }
@keyframes hueShiftD { 0%, 100% { filter: blur(0.5px) hue-rotate(-15deg); } 50% { filter: blur(0.5px) hue-rotate(30deg); } }
@keyframes hueShiftE { 0%, 100% { filter: blur(0.5px) hue-rotate(10deg); } 50% { filter: blur(0.5px) hue-rotate(-25deg); } }
@keyframes hueShiftF { 0%, 100% { filter: blur(0.5px) hue-rotate(-5deg); } 50% { filter: blur(0.5px) hue-rotate(20deg); } }
@keyframes shineOrbit { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes shineOrbitR { 0% { transform: rotate(360deg); } 100% { transform: rotate(0deg); } }

/* Apply unique combo to each industry */
.orb-legal .blob { animation: morphA 9s ease-in-out infinite, hueShiftA 16s linear infinite; }
.orb-legal .blob::before { animation: shineOrbit 14s linear infinite; }
.orb-legal .blob::after { animation: morphInner 11s ease-in-out infinite reverse; }

.orb-medical .blob { animation: morphB 12s ease-in-out infinite, hueShiftB 19s linear infinite; animation-delay: -2.4s, -3.1s; }
.orb-medical .blob::before { animation: shineOrbitR 17s linear infinite; }
.orb-medical .blob::after { animation: morphInner 9s ease-in-out infinite; animation-delay: -1.8s; }

.orb-medspa .blob { animation: morphC 14s ease-in-out infinite, hueShiftC 21s linear infinite; animation-delay: -4.2s, -6.5s; }
.orb-medspa .blob::before { animation: shineOrbit 19s linear infinite; }
.orb-medspa .blob::after { animation: morphInner 13s ease-in-out infinite reverse; animation-delay: -3.7s; }

.orb-home .blob { animation: morphD 8s ease-in-out infinite, hueShiftD 14s linear infinite; animation-delay: -5.1s, -8.3s; }
.orb-home .blob::before { animation: shineOrbitR 12s linear infinite; }
.orb-home .blob::after { animation: morphInner 7s ease-in-out infinite; animation-delay: -2.9s; }

.orb-realestate .blob { animation: morphE 13s ease-in-out infinite, hueShiftE 18s linear infinite; animation-delay: -3.6s, -4.8s; }
.orb-realestate .blob::before { animation: shineOrbit 16s linear infinite; }
.orb-realestate .blob::after { animation: morphInner 10s ease-in-out infinite reverse; animation-delay: -4.4s; }

.orb-fitness .blob { animation: morphF 11s ease-in-out infinite, hueShiftF 20s linear infinite; animation-delay: -6.8s, -9.2s; }
.orb-fitness .blob::before { animation: shineOrbitR 15s linear infinite; }
.orb-fitness .blob::after { animation: morphInner 12s ease-in-out infinite; animation-delay: -5.5s; }

/* Industry color palettes */
.orb-legal .blob { --c1: #0E6B5E; --c2: #4FA593; --c3: #E8F5F1; --c4: #F0A500; }
.orb-medical .blob { --c1: #F0A500; --c2: #FFD68A; --c3: #FFF6E0; --c4: #0E6B5E; }
.orb-medspa .blob { --c1: #F8C8D0; --c2: #FFE0D4; --c3: #FFF6E0; --c4: #F0A500; }
.orb-home .blob { --c1: #6E9B8C; --c2: #A8C8E0; --c3: #E8F5F1; --c4: #0E6B5E; }
.orb-realestate .blob { --c1: #F0A500; --c2: #0E6B5E; --c3: #FFD68A; --c4: #4FA593; }
.orb-fitness .blob { --c1: #FF9472; --c2: #0E6B5E; --c3: #F0A500; --c4: #FFD68A; }

.orb-btn[data-pos="active"]::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 220px; height: 220px; border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; border: 1px dashed rgba(14, 107, 94, 0.18); animation: morphA 9s ease-in-out infinite, spinSlow 30s linear infinite; pointer-events: none; }

.orb-label { margin-top: 30px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-400); white-space: nowrap; text-align: center; opacity: 0; transition: opacity 0.6s 0.3s; }
.orb-btn[data-pos="active"] .orb-label { opacity: 1; color: var(--ink-900); font-weight: 600; }
.orb-btn[data-pos="adj"] .orb-label { opacity: 0.5; }

.orb-arrow { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--ink-200); background: var(--white); color: var(--ink-900); display: grid; place-items: center; position: absolute; top: 45%; transform: translateY(-50%); z-index: 10; box-shadow: var(--shadow-sm); font-size: 18px; transition: all 0.3s; }
.orb-arrow:hover { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); transform: translateY(-50%) scale(1.05); }
.orb-arrow.prev { left: 24px; }
.orb-arrow.next { right: 24px; }
@media (max-width: 720px) { .orb-arrow { width: 36px; height: 36px; font-size: 14px; } .orb-arrow.prev { left: 8px; } .orb-arrow.next { right: 8px; } }

/* Interactive industry stage */
.industry-stage { background: var(--white); border: 1px solid var(--ink-100); border-radius: 20px; padding: 40px; box-shadow: var(--shadow-lg); min-height: 360px; }
@media (max-width: 720px) { .industry-stage { padding: 28px 24px; } }
.stage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 880px) { .stage-grid { grid-template-columns: 1fr; gap: 32px; } }
.stage-panel { display: none; }
.stage-panel.on { display: contents; animation: fadeUp 0.6s cubic-bezier(0.2, 0.85, 0.3, 1); }
.stage-side h3 { font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 16px; }
.stage-side p { color: var(--ink-500); font-size: 15.5px; line-height: 1.6; margin-bottom: 22px; }
.stage-integrations { display: flex; gap: 6px; flex-wrap: wrap; }
.stage-int { padding: 5px 12px; background: var(--ink-50); border: 1px solid var(--ink-100); border-radius: 999px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--ink-700); transition: all 0.3s; }
.stage-int:hover { background: var(--teal-light); border-color: var(--teal-soft); color: var(--teal); }

.stage-log { background: var(--ink-50); border: 1px solid var(--ink-100); border-radius: 14px; overflow: hidden; }
.stage-log-head { font-family: var(--mono); font-size: 11px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.14em; padding: 12px 16px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--ink-100); background: var(--white); }
.stage-row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; border-bottom: 1px dashed var(--ink-100); font-size: 14px; cursor: pointer; transition: background 0.2s; position: relative; }
.stage-row:last-child { border-bottom: 0; }
.stage-row:hover { background: var(--white); }
.stage-row::after { content: "▾"; position: absolute; right: 16px; top: 14px; color: var(--ink-300); font-size: 11px; transition: transform 0.3s, color 0.2s; opacity: 0; }
.stage-row:hover::after { opacity: 1; color: var(--teal); }
.stage-row.open::after { transform: rotate(180deg); opacity: 1; color: var(--teal); }
.stage-time { font-family: var(--mono); font-size: 11.5px; color: var(--ink-500); min-width: 50px; }
.stage-action small { display: block; color: var(--ink-500); font-size: 12px; margin-top: 2px; }
.stage-status { font-family: var(--mono); font-size: 11px; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.02em; }
.ss-teal { background: var(--teal-light); color: var(--teal); }
.ss-gold { background: var(--gold-light); color: var(--gold-dark); }

.stage-row-detail {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.2, 0.85, 0.3, 1), padding 0.4s ease, opacity 0.3s ease;
  padding: 0 8px;
  opacity: 0;
  background: var(--white);
  border-radius: 8px;
  margin-top: 0;
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.55;
}
.stage-row.open .stage-row-detail {
  max-height: 200px;
  padding: 12px;
  opacity: 1;
  margin-top: 10px;
}
.stage-row-detail strong { color: var(--ink-900); font-weight: 600; }

/* =========================================================
   SETUP STEPS
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border: 1px solid var(--ink-100); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 32px 26px; border-right: 1px solid var(--ink-100); position: relative; transition: background 0.3s; }
.step:last-child { border-right: 0; }
@media (max-width: 900px) { .step:nth-child(2) { border-right: 0; } .step:nth-child(-n+2) { border-bottom: 1px solid var(--ink-100); } }
@media (max-width: 560px) { .step { border-right: 0; border-bottom: 1px solid var(--ink-100); } .step:last-child { border-bottom: 0; } }
.step:hover { background: var(--ink-50); }
.step::after { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: var(--teal); transition: width 0.7s cubic-bezier(0.2, 0.85, 0.3, 1); }
.step:hover::after { width: 100%; }
.step-num { font-family: var(--mono); font-size: 11px; color: var(--teal); letter-spacing: 0.16em; margin-bottom: 22px; text-transform: uppercase; font-weight: 600; }
.step h4 { font-family: var(--display); font-size: 24px; line-height: 1.15; margin-bottom: 12px; font-weight: 600; letter-spacing: -0.02em; }
.step p { color: var(--ink-500); font-size: 14.5px; line-height: 1.55; }
.step-time { font-family: var(--mono); font-size: 11px; color: var(--gold-dark); letter-spacing: 0.08em; margin-top: 20px; display: inline-block; padding: 4px 10px; background: var(--gold-light); border-radius: 999px; text-transform: uppercase; font-weight: 600; }

/* =========================================================
   FEATURE GRID
   ========================================================= */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }
.feat { background: var(--white); border: 1px solid var(--ink-100); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; min-height: 400px; transition: all 0.4s cubic-bezier(0.2, 0.85, 0.3, 1); box-shadow: var(--shadow-sm); }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--ink-200); }
.feat-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 14px; font-weight: 600; }
.feat h4 { font-family: var(--display); font-size: 22px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; color: var(--ink-900); }
.feat p { color: var(--ink-500); font-size: 14px; line-height: 1.55; margin-bottom: 20px; }
.feat-mock { margin-top: auto; background: var(--ink-50); border: 1px solid var(--ink-100); border-radius: 12px; padding: 16px; min-height: 110px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-700); }

.mock-voice { display: flex; align-items: center; gap: 14px; }
.mock-voice-orb { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(240, 165, 0, 0.6), transparent 50%), radial-gradient(circle at 70% 70%, rgba(14, 107, 94, 0.5), transparent 55%), var(--teal); position: relative; flex-shrink: 0; }
.mock-voice-orb::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid var(--teal); opacity: 0.3; animation: pulseRing 2.5s ease-out infinite; }
.mock-voice-bars { display: flex; align-items: end; gap: 3px; height: 28px; flex: 1; }
.mock-voice-bars .b { flex: 1; background: var(--teal); border-radius: 2px; transform-origin: bottom; animation: waveBar 1s ease-in-out infinite; }
.mock-voice-bars .b:nth-child(1) { animation-delay: 0s; } .mock-voice-bars .b:nth-child(2) { animation-delay: 0.1s; } .mock-voice-bars .b:nth-child(3) { animation-delay: 0.2s; } .mock-voice-bars .b:nth-child(4) { animation-delay: 0.3s; } .mock-voice-bars .b:nth-child(5) { animation-delay: 0.4s; } .mock-voice-bars .b:nth-child(6) { animation-delay: 0.5s; } .mock-voice-bars .b:nth-child(7) { animation-delay: 0.6s; } .mock-voice-bars .b:nth-child(8) { animation-delay: 0.7s; }

.mock-cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.mc-day { aspect-ratio: 1.4; background: var(--white); border: 1px solid var(--ink-100); border-radius: 5px; display: grid; place-items: center; font-size: 10px; color: var(--ink-400); font-family: var(--mono); }
.mc-day.taken { background: var(--teal-light); border-color: var(--teal-soft); color: var(--teal); }
.mc-day.booking { background: var(--teal); color: var(--white); border-color: var(--teal); position: relative; }
.mc-day.booking::after { content: ""; position: absolute; inset: -3px; border-radius: 6px; border: 1px solid var(--teal); opacity: 0.4; animation: pulseRing 2s ease-out infinite; }

.mock-actions { display: flex; flex-direction: column; gap: 6px; }
.mock-act { display: flex; justify-content: space-between; padding: 6px 10px; background: var(--white); border: 1px solid var(--ink-100); border-radius: 8px; font-size: 11px; }
.mock-act .tick { color: var(--teal); font-weight: 700; }
.mock-act .tick.gold { color: var(--gold-dark); }

.mock-return { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; }
.mock-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ink-900); display: grid; place-items: center; font-size: 12px; font-weight: 600; font-family: var(--sans); position: relative; }
.mock-avatar::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0.4; animation: pulseRing 2s ease-out infinite; }
.mock-return-info strong { color: var(--ink-900); display: block; font-weight: 500; font-family: var(--sans); font-size: 13px; }
.mock-return-info small { color: var(--ink-500); display: block; font-size: 11px; margin-top: 2px; }

.mock-sms { display: flex; flex-direction: column; gap: 6px; }
.sms-bubble { background: var(--white); border: 1px solid var(--ink-100); padding: 7px 12px; border-radius: 12px 12px 12px 4px; font-size: 11px; color: var(--ink-700); align-self: flex-start; max-width: 90%; line-height: 1.4; font-family: var(--sans); }
.sms-bubble.sent { background: var(--teal); color: var(--white); border-color: var(--teal); align-self: flex-end; border-radius: 12px 12px 4px 12px; }

.mock-int-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.int-tile { aspect-ratio: 1; background: var(--white); border: 1px solid var(--ink-100); border-radius: 6px; display: grid; place-items: center; font-family: var(--mono); font-size: 9.5px; color: var(--ink-700); transition: all 0.3s; padding: 4px; text-align: center; }
.int-tile:hover { background: var(--teal-light); border-color: var(--teal-soft); color: var(--teal); transform: translateY(-1px); }

/* =========================================================
   "SAME CALLER. ONE MEMORY." — multi-channel sync visual
   ========================================================= */
.memory-section { background: linear-gradient(180deg, var(--white) 0%, var(--ink-50) 100%); }
.memory-stage { background: var(--white); border: 1px solid var(--ink-100); border-radius: 24px; padding: 48px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
@media (max-width: 720px) { .memory-stage { padding: 28px 22px; } }

.memory-channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
@media (max-width: 720px) { .memory-channels { grid-template-columns: 1fr; gap: 16px; } }
.mch { background: var(--ink-50); border: 1px solid var(--ink-100); border-radius: 14px; padding: 20px; transition: transform 0.4s cubic-bezier(0.2, 0.85, 0.3, 1); position: relative; }
.mch:hover { transform: translateY(-4px); }
.mch-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-700); font-weight: 600; }
.mch-icon { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; flex-shrink: 0; }
.mch.voice .mch-icon { background: var(--teal); color: var(--white); }
.mch.sms .mch-icon { background: var(--gold); color: var(--ink-900); }
.mch.chat .mch-icon { background: var(--ink-900); color: var(--white); }
.mch-when { font-family: var(--mono); font-size: 10.5px; color: var(--ink-500); margin-bottom: 6px; letter-spacing: 0.06em; }
.mch-content { font-size: 13px; color: var(--ink-700); line-height: 1.5; }
.mch-content strong { color: var(--ink-900); }
.mch-arrow { position: absolute; right: -28px; top: 50%; transform: translateY(-50%); color: var(--ink-300); font-size: 24px; z-index: 2; }
@media (max-width: 720px) { .mch-arrow { display: none; } }

.mem-funnel {
  height: 60px;
  position: relative;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mem-funnel svg { width: 100%; height: 100%; max-width: 720px; }

.profile-card { background: linear-gradient(135deg, var(--teal-light), var(--white)); border: 2px solid var(--teal); border-radius: 16px; padding: 28px; position: relative; }
.profile-card::before { content: ""; position: absolute; inset: -1px; border-radius: 16px; background: linear-gradient(135deg, rgba(14, 107, 94, 0.4), transparent 70%); z-index: -1; opacity: 0; animation: profilePulse 3s ease-in-out infinite; }
@keyframes profilePulse { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
.profile-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.profile-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: var(--white); display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 20px; flex-shrink: 0; }
.profile-name { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: var(--ink-900); }
.profile-meta { font-family: var(--mono); font-size: 11px; color: var(--ink-500); margin-top: 4px; letter-spacing: 0.04em; }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 600px) { .profile-grid { grid-template-columns: 1fr 1fr; } }
.profile-cell { background: var(--white); border: 1px solid var(--ink-100); border-radius: 10px; padding: 12px 14px; }
.profile-cell h6 { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-400); font-weight: 600; margin-bottom: 6px; }
.profile-cell p { font-size: 13px; color: var(--ink-900); font-weight: 500; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee-section { padding: 80px 0; text-align: center; background: var(--white); }
.marquee-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 24px; }
.marquee-wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%); }
.marquee { display: flex; width: max-content; animation: marqueeMove 45s linear infinite; }
.marquee-item { font-family: var(--display); font-size: clamp(28px, 3.6vw, 48px); font-weight: 600; letter-spacing: -0.02em; padding: 0 32px; color: var(--ink-900); display: flex; align-items: center; gap: 32px; white-space: nowrap; }
.marquee-item::after { content: "✦"; color: var(--gold); font-size: 0.4em; opacity: 0.7; }

/* =========================================================
   PRICING — no prices, all CTAs route to booking
   ========================================================= */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 80px; }
@media (max-width: 920px) { .pricing-grid { grid-template-columns: 1fr; } }
.plan { background: var(--white); border: 1px solid var(--ink-100); border-radius: 16px; padding: 36px 32px; display: flex; flex-direction: column; position: relative; transition: all 0.4s cubic-bezier(0.2, 0.85, 0.3, 1); box-shadow: var(--shadow-sm); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan.popular { border: 2px solid var(--teal); transform: scale(1.02); }
.plan.popular:hover { transform: scale(1.02) translateY(-4px); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--ink-900); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; padding: 5px 14px; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow-md); }
.plan-name { font-family: var(--display); font-size: 28px; font-weight: 600; color: var(--ink-900); margin-bottom: 8px; letter-spacing: -0.02em; }
.plan-pitch { font-size: 14px; color: var(--ink-500); margin-bottom: 28px; min-height: 42px; line-height: 1.5; }
.plan-cta-label { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--ink-900); margin-bottom: 4px; letter-spacing: -0.015em; }
.plan-cta-sub { font-family: var(--mono); font-size: 11.5px; color: var(--ink-500); margin-bottom: 26px; letter-spacing: 0.04em; }
.plan .btn { width: 100%; margin-bottom: 26px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--ink-100); padding-top: 22px; flex: 1; font-size: 14px; }
.plan li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; line-height: 1.45; color: var(--ink-700); }
.plan li::before { content: "✓"; color: var(--teal); font-weight: 700; font-size: 12px; line-height: 1.6; }

/* Pricing comparison table */
.compare-table { background: var(--white); border: 1px solid var(--ink-100); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-md); }
.compare-head, .compare-section-head, .compare-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.compare-head { background: var(--ink-50); border-bottom: 1px solid var(--ink-100); }
.compare-head-cell { padding: 20px 24px; text-align: center; }
.compare-head-cell:first-child { text-align: left; }
.compare-head-cell.highlighted { background: rgba(232, 245, 241, 0.5); }
.compare-head-name { font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--ink-900); margin-bottom: 4px; }
.compare-head-tier { font-family: var(--mono); font-size: 11px; color: var(--ink-500); letter-spacing: 0.06em; text-transform: uppercase; }
.compare-section-head { background: var(--ink-50); border-top: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); }
.compare-section-head-cell { padding: 14px 24px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-700); font-weight: 600; }
.compare-row { border-bottom: 1px solid var(--ink-100); transition: background 0.2s; }
.compare-row:hover { background: var(--ink-50); }
.compare-row:last-child { border-bottom: 0; }
.compare-cell { padding: 16px 24px; font-size: 14px; color: var(--ink-700); display: flex; align-items: center; justify-content: center; }
.compare-cell:first-child { justify-content: flex-start; color: var(--ink-900); }
.compare-cell.highlighted { background: rgba(232, 245, 241, 0.3); }
.compare-row:hover .compare-cell.highlighted { background: rgba(232, 245, 241, 0.5); }
.compare-cell .check { color: var(--teal); font-size: 18px; font-weight: 700; }
.compare-cell .x { color: var(--ink-300); font-size: 16px; }
.compare-cell .value { font-family: var(--mono); font-size: 13px; color: var(--ink-700); text-align: center; }
@media (max-width: 880px) {
  .compare-head, .compare-section-head, .compare-row { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .compare-head-cell, .compare-section-head-cell, .compare-cell { padding: 12px 10px; font-size: 12px; }
  .compare-head-name { font-size: 14px; }
  .compare-head-tier { font-size: 10px; }
  .compare-cell .value { font-size: 11px; }
}

/* =========================================================
   TRUST PANEL
   ========================================================= */
.trust-panel { background: var(--white); border: 1px solid var(--ink-100); border-radius: 20px; padding: 56px; box-shadow: var(--shadow-md); }
@media (max-width: 720px) { .trust-panel { padding: 32px 24px; } }
.trust-panel h3 { font-size: clamp(28px, 3.4vw, 42px); max-width: 680px; margin-bottom: 20px; font-weight: 600; }
.trust-panel > p { color: var(--ink-500); max-width: 560px; margin-bottom: 40px; font-size: 16px; line-height: 1.5; }
.trust-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid var(--ink-100); padding-top: 36px; }
@media (max-width: 880px) { .trust-features { grid-template-columns: 1fr; gap: 22px; } }
.tf-item h5 { font-family: var(--sans); font-weight: 600; font-size: 14.5px; margin-bottom: 8px; color: var(--ink-900); }
.tf-item p { font-size: 14px; color: var(--ink-500); line-height: 1.55; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-wrap { border-top: 1px solid var(--ink-100); }
.faq { border-bottom: 1px solid var(--ink-100); padding: 28px 0; cursor: pointer; transition: padding 0.3s; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--display); font-size: clamp(20px, 2vw, 28px); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink-900); transition: color 0.3s; }
.faq:hover .faq-q { color: var(--teal); }
.faq-toggle { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ink-200); display: grid; place-items: center; color: var(--ink-900); font-size: 16px; flex-shrink: 0; transition: all 0.4s cubic-bezier(0.2, 0.85, 0.3, 1); }
.faq:hover .faq-toggle { border-color: var(--teal); color: var(--teal); }
.faq[open] .faq-toggle { background: var(--teal); color: var(--white); border-color: var(--teal); transform: rotate(45deg); }
.faq-a { margin-top: 16px; padding-right: 60px; color: var(--ink-500); font-size: 15.5px; line-height: 1.6; max-width: 780px; }

/* =========================================================
   FINAL CTA
   ========================================================= */
.cta-final { padding: 130px 0; text-align: center; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); }
.cta-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(at 80% 20%, rgba(240, 165, 0, 0.3), transparent 50%), radial-gradient(at 20% 80%, rgba(255, 255, 255, 0.06), transparent 40%); pointer-events: none; animation: washDrift 14s ease-in-out infinite; }
.cta-final h2 { color: var(--white); font-size: clamp(48px, 6.5vw, 88px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; max-width: 920px; margin: 0 auto 28px; position: relative; }
.cta-final p { color: rgba(255, 255, 255, 0.85); font-size: 18px; max-width: 560px; margin: 0 auto 36px; line-height: 1.55; position: relative; }
.cta-final-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink-50); padding: 72px 0 32px; border-top: 1px solid var(--ink-100); position: relative; z-index: 5; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--ink-100); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; } }
.footer-brand .piquup-logo { margin-bottom: 16px; font-size: 28px; }
.footer-brand p { font-size: 14px; color: var(--ink-500); max-width: 260px; line-height: 1.55; margin-bottom: 16px; }
.footer-copy { font-size: 14px; color: var(--ink-400); }
.footer-col h6 { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink-900); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--ink-500); transition: color 0.2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { padding-top: 24px; font-size: 14px; color: var(--ink-500); }

/* =========================================================
   INTEGRATIONS PAGE — Bland-style category grid
   ========================================================= */
.int-category { margin-bottom: 56px; }
.int-cat-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--ink-100); }
.int-cat-name { font-family: var(--display); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-900); }
.int-cat-count { font-family: var(--mono); font-size: 12px; color: var(--ink-500); letter-spacing: 0.06em; }
.int-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .int-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .int-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .int-cards { grid-template-columns: 1fr; } }
.int-card { background: var(--white); border: 1px solid var(--ink-100); border-radius: 12px; padding: 22px 20px; transition: all 0.3s cubic-bezier(0.2, 0.85, 0.3, 1); position: relative; box-shadow: var(--shadow-sm); }
.int-card:hover { transform: translateY(-3px); border-color: var(--teal-soft); box-shadow: var(--shadow-md); }
.int-card-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--ink-50); border: 1px solid var(--ink-100); display: grid; place-items: center; margin-bottom: 14px; font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink-900); }
.int-card-name { font-family: var(--sans); font-weight: 600; font-size: 14.5px; color: var(--ink-900); margin-bottom: 4px; }
.int-card-cat { font-family: var(--mono); font-size: 10.5px; color: var(--ink-500); letter-spacing: 0.06em; }
.int-card-status { position: absolute; top: 12px; right: 12px; font-family: var(--mono); font-size: 9px; padding: 2px 7px; border-radius: 999px; letter-spacing: 0.06em; font-weight: 600; }
.int-card-status.live { background: var(--teal-light); color: var(--teal); }
.int-card-status.soon { background: var(--gold-light); color: var(--gold-dark); }

/* =========================================================
   RESOURCES PAGE
   ========================================================= */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .res-grid { grid-template-columns: 1fr; } }
.res-card { background: var(--white); border: 1px solid var(--ink-100); border-radius: 16px; padding: 36px 32px; transition: all 0.4s cubic-bezier(0.2, 0.85, 0.3, 1); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.res-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--ink-200); }
.res-card .card-icon { background: var(--gold-light); }
.res-card:hover .card-icon { background: var(--gold-soft); }
.res-card .card-icon svg { stroke: var(--gold-dark); }
.res-card h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.02em; }
.res-card p { color: var(--ink-500); font-size: 14.5px; line-height: 1.55; margin-bottom: 22px; flex: 1; }
.res-link { color: var(--teal); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.3s; }
.res-card:hover .res-link { gap: 10px; }

/* =========================================================
   LEGAL CONTENT (for terms, privacy, future pages)
   ========================================================= */
.legal-content { padding-top: 12px; }
.legal-content h2 { font-family: var(--display); font-size: 28px; font-weight: 600; margin-top: 40px; margin-bottom: 14px; letter-spacing: -0.02em; color: var(--ink-900); }
.legal-content p { font-size: 16px; line-height: 1.7; color: var(--ink-700); margin-bottom: 16px; }
.legal-content a { color: var(--teal); }
.legal-content a:hover { text-decoration: underline; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-0); }
::-webkit-scrollbar-thumb { background: var(--ink-200); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-300); }

/* =========================================================
   v5 — SMOOTHER ORB CAROUSEL (absolute positioning, no DOM reorder)
   ========================================================= */

/* Override the flex stage with absolute positioning */
.orb-stage {
  display: block !important;
  position: relative;
  height: 320px;
  overflow: visible;
}
.orb-stage::before {
  /* Soft center spotlight so the active orb feels stage-lit */
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.06), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.orb-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: center;
  /* Smooth eased-out transition, no overshoot bounce */
  transition:
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
  z-index: 1;
}
.orb-btn[data-pos="active"] { z-index: 5; }
.orb-btn[data-pos="adj"] { z-index: 3; }

/* Inner shape is no longer responsible for scaling — JS applies it to the button */
.orb-stage .orb-shape {
  transform: none;
  transition: filter 0.6s ease;
}

/* Position-based filter/opacity (transforms come from JS inline style) */
.orb-btn[data-pos="far"] { opacity: 0.5; filter: saturate(0.6); }
.orb-btn[data-pos="adj"] { opacity: 0.92; filter: saturate(0.95); }
.orb-btn[data-pos="active"] { opacity: 1; filter: saturate(1.15); }

/* Label positioning (was absolute via flex column before) */
.orb-stage .orb-label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 30px;
}

/* Active orb ring — recalibrate for new sizing */
.orb-btn[data-pos="active"]::before {
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  transform: none;
}

@media (max-width: 720px) {
  .orb-stage { height: 240px; }
}

/* =========================================================
   v5 — AUDIO HINT
   ========================================================= */
.audio-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--ink-500);
  letter-spacing: 0.04em;
  margin-top: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.audio-hint.live {
  background: var(--teal-light);
  border-color: var(--teal-soft);
  color: var(--teal);
}
.audio-hint .speaker-ic {
  width: 14px; height: 14px;
  display: inline-grid;
  place-items: center;
}
.audio-hint .speaker-ic::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-300);
  transition: background 0.3s;
}
.audio-hint.live .speaker-ic::after {
  background: var(--teal);
  animation: pulseRing 1.4s ease-out infinite;
}
.orb-audio-hint-wrap {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  margin-bottom: 16px;
}

/* =========================================================
   v5 — APPLE-STYLE PINNED MEMORY SECTION
   ========================================================= */

.memory-section { padding: 0 !important; }

.memory-pin-wrap {
  position: relative;
  /* Total scroll height — 250vh means ~150vh of pinned scroll */
  height: 250vh;
}
.memory-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--ink-50) 100%);
}
.memory-pin .container {
  width: 100%;
}

/* The pinned header is smaller / tighter to leave room */
.memory-pin .section-head {
  margin-bottom: 36px;
}
.memory-pin .section-head .h-section {
  font-size: clamp(34px, 4.6vw, 60px);
}
.memory-pin .section-head .lede {
  max-width: 580px;
}

/* Channel cards start invisible & below their resting position */
.memory-pin .mch {
  opacity: 0;
  transform: translateY(80px) scale(0.94);
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.memory-pin .mch.in { opacity: 1; transform: translateY(0) scale(1); }

/* Funnel paths animate stroke-dashoffset */
.memory-pin .mem-funnel { opacity: 0; transition: opacity 0.6s ease; margin-bottom: 30px; }
.memory-pin .mem-funnel.in { opacity: 1; }
.memory-pin .mem-funnel svg path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.memory-pin .mem-funnel.in svg path { stroke-dashoffset: 0; }

/* Profile card starts hidden, pops up */
.memory-pin .profile-card {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.memory-pin .profile-card.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Profile data cells fade in sequentially when card appears */
.memory-pin .profile-cell {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.memory-pin .profile-card.in .profile-cell {
  opacity: 1;
  transform: translateY(0);
}
.memory-pin .profile-card.in .profile-cell:nth-child(1) { transition-delay: 0.15s; }
.memory-pin .profile-card.in .profile-cell:nth-child(2) { transition-delay: 0.25s; }
.memory-pin .profile-card.in .profile-cell:nth-child(3) { transition-delay: 0.35s; }
.memory-pin .profile-card.in .profile-cell:nth-child(4) { transition-delay: 0.45s; }
.memory-pin .profile-card.in .profile-cell:nth-child(5) { transition-delay: 0.55s; }
.memory-pin .profile-card.in .profile-cell:nth-child(6) { transition-delay: 0.65s; }

/* Progress indicator on the right side */
.memory-progress {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}
.memory-progress .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink-200);
  transition: all 0.4s;
}
.memory-progress .dot.in {
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 107, 94, 0.15);
}
@media (max-width: 720px) {
  .memory-progress { right: 16px; }
  .memory-pin { padding: 40px 0; height: auto; min-height: 100vh; }
}

@media (prefers-reduced-motion: reduce) {
  .memory-pin-wrap { height: auto; }
  .memory-pin { position: relative; height: auto; min-height: auto; }
  .memory-pin .mch,
  .memory-pin .profile-card,
  .memory-pin .mem-funnel { opacity: 1; transform: none; }
  .memory-pin .mem-funnel svg path { stroke-dashoffset: 0; }
}

/* =========================================================
   v5 — HERO SCROLL TIE-IN (subtle)
   ========================================================= */
.hero-watch {
  transition: transform 0.1s linear;
  will-change: transform;
}

/* =========================================================
   v6 — 4-CHANNEL MEMORY (voice + email + SMS + web chat)
   ========================================================= */
.memory-pin .memory-channels {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1000px) { .memory-pin .memory-channels { grid-template-columns: 1fr 1fr; gap: 12px; } }
@media (max-width: 600px) { .memory-pin .memory-channels { grid-template-columns: 1fr; gap: 10px; } }

.memory-pin .mch { padding: 16px; }
.memory-pin .mch-head { margin-bottom: 10px; }
.memory-pin .mch-when { font-size: 10px; margin-bottom: 5px; }
.memory-pin .mch-content { font-size: 12.5px; line-height: 1.45; }
.memory-pin .mch-arrow { right: -20px; font-size: 20px; }

.mch.email .mch-icon { background: var(--ink-700); color: var(--white); }

/* Funnel SVG with 4 paths now */
.memory-pin .mem-funnel { margin-bottom: 26px; }

/* =========================================================
   v6 — BRAND-COLORED LOGO MONOGRAMS
   ========================================================= */
.logo-mono {
  width: 40px; height: 40px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
  color: var(--logo-fg, white);
  background: var(--logo-bg, var(--ink-300));
  letter-spacing: -0.02em;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.logo-mono.sm { width: 32px; height: 32px; font-size: 14px; border-radius: 7px; }
.logo-mono.lg { width: 56px; height: 56px; font-size: 24px; border-radius: 12px; }

/* Brand colors — real-world hex per company */
.logo-clio        { --logo-bg: #1F73E8; }
.logo-salesforce  { --logo-bg: #00A1E0; }
.logo-hubspot     { --logo-bg: #FF7A59; }
.logo-ghl         { --logo-bg: #003D55; }
.logo-mycase      { --logo-bg: #00897B; }
.logo-lawmatics   { --logo-bg: #4A148C; }
.logo-pp          { --logo-bg: #FF9800; }
.logo-gcal        { --logo-bg: #4285F4; }
.logo-outlook     { --logo-bg: #0078D4; }
.logo-calendly    { --logo-bg: #006BFF; }
.logo-cal         { --logo-bg: #111; }
.logo-gmail       { --logo-bg: #EA4335; }
.logo-gdrive      { --logo-bg: #FBBC04; --logo-fg: #1A1A1A; }
.logo-gsheets     { --logo-bg: #0F9D58; }
.logo-gdocs       { --logo-bg: #4285F4; }
.logo-msword      { --logo-bg: #2B579A; }
.logo-onedrive    { --logo-bg: #0078D4; }
.logo-teams       { --logo-bg: #4B53BC; }
.logo-athena      { --logo-bg: #C8102E; }
.logo-drchrono    { --logo-bg: #00A8E1; }
.logo-kareo       { --logo-bg: #5B2A86; }
.logo-sfhealth    { --logo-bg: #00A1E0; }
.logo-boulevard   { --logo-bg: #1A1A1A; }
.logo-mindbody    { --logo-bg: #00A877; }
.logo-vagaro      { --logo-bg: #FF6B6B; }
.logo-aesthetic   { --logo-bg: #C9806A; }
.logo-symplast    { --logo-bg: #5B5DEF; }
.logo-servicetitan{ --logo-bg: #1A1A1A; }
.logo-jobber      { --logo-bg: #009A6E; }
.logo-housecall   { --logo-bg: #002C5F; }
.logo-fieldedge   { --logo-bg: #1976D2; }
.logo-workiz      { --logo-bg: #5B5DEF; }
.logo-fub         { --logo-bg: #FF6B35; }
.logo-kvcore      { --logo-bg: #003B6F; }
.logo-boomtown    { --logo-bg: #C53030; }
.logo-appfolio    { --logo-bg: #002F60; }
.logo-buildium    { --logo-bg: #0066B3; }
.logo-truecoach   { --logo-bg: #6366F1; }
.logo-glofox      { --logo-bg: #2C2C54; }
.logo-trainerize  { --logo-bg: #F47B20; }
.logo-pushpress   { --logo-bg: #E53935; }
.logo-twilio      { --logo-bg: #F22F46; }
.logo-slack       { --logo-bg: #4A154B; }
.logo-imessage    { --logo-bg: #34C759; }
.logo-zapier      { --logo-bg: #FF4A00; }
.logo-make        { --logo-bg: #6E1FFF; }
.logo-stripe      { --logo-bg: #635BFF; }
.logo-square      { --logo-bg: #000; }
.logo-quickbooks  { --logo-bg: #2CA01C; }

/* Integration card with logo */
.int-card-icon.logo-mono { margin-bottom: 14px; }

/* Product page integration tile with logos */
.int-tile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  text-align: left;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: none;
  aspect-ratio: auto;
  letter-spacing: 0;
}
.int-tile .logo-mono { width: 22px; height: 22px; font-size: 11px; border-radius: 5px; }
.int-tile span { white-space: nowrap; }

/* =========================================================
   v6 — SCROLL-TIED ANIMATIONS ON ALL PAGES
   Generic "lift on scroll" — fires every viewport entry
   ========================================================= */
.scroll-card {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-card.seen {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Slide in from left/right based on data attribute */
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="left"].seen { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="right"].seen { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="scale"].seen { transform: scale(1); }

/* Long deep transition for "Apple-feel" sections */
.apple-block {
  opacity: 0;
  transform: translateY(80px);
  transition:
    opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.apple-block.seen {
  opacity: 1;
  transform: translateY(0);
}
.apple-block-stagger > * {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}
.apple-block-stagger.seen > *:nth-child(1) { transition-delay: 0s; }
.apple-block-stagger.seen > *:nth-child(2) { transition-delay: 0.12s; }
.apple-block-stagger.seen > *:nth-child(3) { transition-delay: 0.24s; }
.apple-block-stagger.seen > *:nth-child(4) { transition-delay: 0.36s; }
.apple-block-stagger.seen > *:nth-child(5) { transition-delay: 0.48s; }
.apple-block-stagger.seen > *:nth-child(6) { transition-delay: 0.60s; }
.apple-block-stagger.seen > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* =========================================================
   v6 — DAY-IN-THE-LIFE TIMELINE (lawyers, healthcare pages)
   ========================================================= */
.dayline {
  position: relative;
  padding-left: 32px;
  margin-top: 40px;
}
.dayline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal-soft), var(--teal), var(--gold), var(--gold-soft));
  border-radius: 2px;
  opacity: 0.45;
}
.dl-item {
  position: relative;
  padding: 22px 0 22px 30px;
  border-bottom: 1px dashed var(--ink-100);
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.dl-item:last-child { border-bottom: 0; }
.dl-item.seen { opacity: 1; transform: translateX(0); }
.dl-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 30px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 107, 94, 0.12);
}
.dl-item .dl-time {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
  font-weight: 600;
}
.dl-item h4 {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.dl-item p {
  font-size: 14.5px;
  color: var(--ink-500);
  line-height: 1.55;
}
.dl-item .dl-tag {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}
.dl-item .dl-tag.ok { background: var(--teal-light); color: var(--teal); }
.dl-item .dl-tag.warn { background: var(--gold-light); color: var(--gold-dark); }

/* =========================================================
   v6 — VERTICAL DEEP DIVE — "By practice area" / "By practice type"
   ========================================================= */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 720px) { .practice-grid { grid-template-columns: 1fr; } }
.practice-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 14px;
  padding: 26px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.practice-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal-soft);
  box-shadow: var(--shadow-md);
}
.practice-card h4 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.practice-card h4 .pc-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--teal-light);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}
.practice-card p {
  color: var(--ink-500);
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.practice-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px dashed var(--ink-100);
}
.practice-card li {
  font-size: 13px;
  color: var(--ink-700);
  display: flex;
  align-items: start;
  gap: 8px;
}
.practice-card li::before {
  content: "→";
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}

/* =========================================================
   v6 — PAIN/PROBLEM CALLOUT
   ========================================================= */
.pain-block {
  background: linear-gradient(135deg, var(--ink-50), var(--white));
  border: 1px solid var(--ink-100);
  border-radius: 20px;
  padding: 48px;
  position: relative;
}
@media (max-width: 720px) { .pain-block { padding: 32px 24px; } }
.pain-stat {
  font-family: var(--display);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.pain-text {
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  max-width: 720px;
}
.pain-source {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-400);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 20px;
}

/* =========================================================
   v6 — EMAIL SCANNING FEATURE (Apple-style two-col)
   ========================================================= */
.feat-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .feat-split { grid-template-columns: 1fr; gap: 36px; } }
.feat-split-text h3 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin-bottom: 20px;
}
.feat-split-text p {
  font-size: 17px;
  color: var(--ink-500);
  line-height: 1.55;
  margin-bottom: 16px;
}
.feat-split-text ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.feat-split-text li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--ink-700);
}
.feat-split-text li::before {
  content: "→"; color: var(--teal); font-weight: 700; flex-shrink: 0;
}

.email-mock {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.email-mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink-100);
  margin-bottom: 18px;
}
.email-mock-head-l { display: flex; align-items: center; gap: 12px; }
.email-mock-head-l strong { font-size: 14px; }
.email-mock-row {
  padding: 14px 0;
  border-bottom: 1px dashed var(--ink-100);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  position: relative;
}
.email-mock-row:last-child { border-bottom: 0; }
.email-mock-from { font-weight: 600; font-size: 13.5px; color: var(--ink-900); margin-bottom: 2px; }
.email-mock-subject { font-size: 13.5px; color: var(--ink-700); margin-bottom: 4px; }
.email-mock-preview { font-size: 12.5px; color: var(--ink-500); line-height: 1.4; }
.email-mock-tag {
  font-family: var(--mono);
  font-size: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.email-mock-tag.urgent { background: var(--gold-light); color: var(--gold-dark); }
.email-mock-tag.normal { background: var(--ink-100); color: var(--ink-500); }
.email-mock-tag.alert { background: var(--teal); color: var(--white); animation: pulseRing 2s ease-out infinite; position: relative; }

/* =========================================================
   v6 — "COMING SOON" badge on cards
   ========================================================= */
.soon-badge {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--mono);
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  font-weight: 600;
  background: var(--gold-light);
  color: var(--gold-dark);
}
.soon-badge.live { background: var(--teal-light); color: var(--teal); }
.res-card { position: relative; }

/* =========================================================
   v6 — FAQ PAGE STYLES
   ========================================================= */
.faq-category {
  margin-bottom: 56px;
  padding-bottom: 8px;
}
.faq-cat-head {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink-100);
  color: var(--ink-900);
}


/* Integration card icon — when it has logo-mono, restore proper sizing inside the card */
.int-card-icon.logo-mono {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  font-size: 19px;
  border-radius: 11px;
  /* override int-card-icon defaults */
  background: var(--logo-bg);
  color: white;
}

/* Integration card hover lift slightly nicer with logos */
.int-card { transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.int-card:hover { transform: translateY(-4px); border-color: var(--teal-soft); box-shadow: var(--shadow-md); }

/* Trust strip dollar sign — matches the .unit styling */
.trust-num .dollar {
  font-family: var(--display);
  font-size: 0.55em;
  font-weight: 600;
  color: var(--ink-400);
  margin-right: 2px;
  vertical-align: top;
  letter-spacing: -0.02em;
}

/* =========================================================
   v7 — SOFTEN COLOR TRANSITIONS
   No more deep-color slabs; smooth gradients between sections.
   ========================================================= */

/* CTA-final: replace deep teal with soft light gradient */
.cta-final {
  background: linear-gradient(180deg,
    var(--white) 0%,
    var(--teal-light) 50%,
    #DCEEE9 100%
  );
  color: var(--ink-900);
  padding: 130px 0 140px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  top: -250px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.06), transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.cta-final::after {
  content: "";
  position: absolute;
  bottom: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 107, 94, 0.07), transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
}
.cta-final .narrow { position: relative; z-index: 1; }
.cta-final h2 { color: var(--ink-900); }
.cta-final p { color: var(--ink-500); }

/* Re-skin buttons inside cta-final so they read on light bg */
.cta-final .btn-white {
  background: var(--teal);
  color: var(--white);
  border: 1px solid var(--teal);
}
.cta-final .btn-white:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-1px);
}
.cta-final .btn-outline-white {
  background: var(--white);
  color: var(--ink-900);
  border: 1px solid var(--ink-200);
}
.cta-final .btn-outline-white:hover {
  background: var(--ink-50);
  border-color: var(--ink-700);
}

/* bg-white sections: fade-in/fade-out edges so transitions blend */
.bg-white {
  background: linear-gradient(180deg,
    rgba(247, 245, 239, 0.6) 0%,
    var(--white) 6%,
    var(--white) 94%,
    rgba(247, 245, 239, 0.6) 100%
  );
}

/* Page-hero (subpages) -> bg-white transition softener */
.page-hero {
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, rgba(247, 245, 239, 0.4));
  pointer-events: none;
  z-index: 1;
}

/* Marquee section also gets soft transition edges */
.marquee-section {
  background: linear-gradient(180deg,
    rgba(247, 245, 239, 0.4) 0%,
    var(--ink-50) 30%,
    var(--ink-50) 70%,
    rgba(247, 245, 239, 0.4) 100%
  );
}

/* Trust strip: blend with surrounding */
.trust-strip {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.4) 0%,
    var(--white) 50%,
    rgba(247, 245, 239, 0.5) 100%
  );
}


/* Audio toggle button on call card — interactive */
.audio-toggle {
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}
.audio-toggle:hover {
  background: var(--ink-50);
}
.audio-toggle.on {
  background: var(--teal-light) !important;
  color: var(--teal) !important;
  animation: pulseRing 1.6s ease-out infinite;
}


/* =========================================================
   v8 — TRUE VERTICAL GRADIENT CONTINUITY
   Override v7: replace fade-in/out edges (which left visible bands)
   with transparent edges that let sections bleed into each other.
   ========================================================= */

/* bg-white: top and bottom fully transparent → solid in the middle */
.bg-white {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.85) 18%,
    rgba(255, 255, 255, 0.95) 30%,
    rgba(255, 255, 255, 0.95) 70%,
    rgba(255, 255, 255, 0.85) 82%,
    transparent 100%
  );
}

/* Trust strip: kill the hard borders, soften the fill, no edge lines */
.trust-strip {
  border-top: none;
  border-bottom: none;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 30%,
    rgba(255, 255, 255, 0.4) 70%,
    transparent 100%
  );
}

/* Marquee: soft cream wash, transparent at edges */
.marquee-section {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(241, 237, 228, 0.5) 30%,
    rgba(241, 237, 228, 0.5) 70%,
    transparent 100%
  );
}

/* CTA-final: fade IN from transparent at top, hold the soft teal, fade nowhere (footer follows) */
.cta-final {
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(232, 245, 241, 0.4) 18%,
    rgba(220, 238, 233, 0.7) 50%,
    rgba(220, 238, 233, 0.8) 100%
  );
  padding: 140px 0 160px;
}

/* Page-hero edge softener — already there, but also for subpages drop into bg-white without a line */
.page-hero::after { display: none; } /* No longer needed — bg-white fades in from transparent now */

/* Body backdrop continues through. Make sure ambient feels like a single backdrop. */
body { background: var(--bg-cream, #F5F1E8); }


/* =========================================================
   v8 — AUDIO TOGGLE BUTTON (clearer, more discoverable)
   ========================================================= */
.audio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 10px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-700);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
  font-weight: 500;
}
.audio-toggle svg {
  flex-shrink: 0;
  transition: stroke 0.3s;
}
.audio-toggle .audio-wave-1,
.audio-toggle .audio-wave-2 {
  opacity: 0.6;
  transition: opacity 0.3s;
}
.audio-toggle:hover {
  background: var(--teal-light);
  border-color: var(--teal-soft);
  color: var(--teal);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.audio-toggle.on {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.audio-toggle.on .audio-wave-1 { opacity: 1; animation: audioWaveOuter 1.3s ease-in-out infinite; }
.audio-toggle.on .audio-wave-2 { opacity: 1; animation: audioWaveOuter 1.3s ease-in-out infinite 0.3s; }
@keyframes audioWaveOuter {
  0%, 100% { opacity: 0.4; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Small "Click to hear" hint that appears under the call card */
.call-hint {
  margin-top: 10px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-400);
  opacity: 0;
  animation: fadeUp 0.8s 2.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.call-hint.fade-out { animation: fadeOut 0.5s forwards; }
@keyframes fadeOut { to { opacity: 0; } }


/* =========================================================
   v9 — AUDIO TOGGLE (icon-only, no label)
   ========================================================= */
.audio-toggle {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: 50%;
  color: var(--ink-500);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
}
.audio-toggle svg { flex-shrink: 0; transition: all 0.3s; }
.audio-toggle .audio-mute-x { opacity: 0; transition: opacity 0.3s; stroke: var(--ink-500); }
.audio-toggle .audio-wave-1,
.audio-toggle .audio-wave-2 { opacity: 0.6; transition: opacity 0.3s; }

.audio-toggle:hover {
  border-color: var(--teal-soft);
  transform: scale(1.06);
  box-shadow: var(--shadow-sm);
}

/* ON state — playing audio */
.audio-toggle.on {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.audio-toggle.on .audio-wave-1 { opacity: 1; animation: audioWaveOuter 1.4s ease-in-out infinite; transform-origin: center; }
.audio-toggle.on .audio-wave-2 { opacity: 1; animation: audioWaveOuter 1.4s ease-in-out infinite 0.4s; transform-origin: center; }
.audio-toggle.on .audio-mute-x { opacity: 0; }

/* OFF state — muted */
.audio-toggle:not(.on) .audio-wave-1,
.audio-toggle:not(.on) .audio-wave-2 { opacity: 0.15; }
.audio-toggle:not(.on) .audio-mute-x { opacity: 1; }


/* =========================================================
   v9 — PRODUCT FEAT GRID — RICHER ANIMATIONS
   ========================================================= */

/* Stagger entrance via data-stagger already handled. Add scroll-tied reveal too. */
.feat-grid > .feat {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s,
    box-shadow 0.4s;
}
.feat-grid.seen > .feat {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.feat-grid.seen > .feat:nth-child(1) { transition-delay: 0s, 0s, 0s, 0s; }
.feat-grid.seen > .feat:nth-child(2) { transition-delay: 0.08s, 0.08s, 0s, 0s; }
.feat-grid.seen > .feat:nth-child(3) { transition-delay: 0.16s, 0.16s, 0s, 0s; }
.feat-grid.seen > .feat:nth-child(4) { transition-delay: 0.24s, 0.24s, 0s, 0s; }
.feat-grid.seen > .feat:nth-child(5) { transition-delay: 0.32s, 0.32s, 0s, 0s; }
.feat-grid.seen > .feat:nth-child(6) { transition-delay: 0.40s, 0.40s, 0s, 0s; }

/* Card hover — deeper lift, internal mock comes alive */
.feat:hover {
  transform: translateY(-8px);
  border-color: var(--teal-soft);
  box-shadow: 0 24px 60px rgba(14, 107, 94, 0.12), 0 4px 12px rgba(14, 107, 94, 0.06);
}
.feat:hover .feat-mock { background: var(--white); border-color: var(--teal-soft); }
.feat:hover .feat-eyebrow { color: var(--teal); }

/* Voice mock orb — continuous breath + wave pulse */
.mock-voice-orb {
  animation: voiceOrbBreath 3.2s ease-in-out infinite;
}
@keyframes voiceOrbBreath {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(14, 107, 94, 0.3); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(14, 107, 94, 0); }
}
.mock-voice-orb::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(14, 107, 94, 0.2);
  border-radius: 50%;
  animation: voiceRingPulse 3.2s ease-out infinite;
  pointer-events: none;
}
@keyframes voiceRingPulse {
  0% { opacity: 0.6; transform: scale(0.8); }
  100% { opacity: 0; transform: scale(1.6); }
}

/* Calendar mock — booking slot pulses, slots cycle states */
.mc-day.booking {
  animation: bookingPulse 2.8s ease-in-out infinite;
}
@keyframes bookingPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 107, 94, 0.4); transform: scale(1); }
  50% { box-shadow: 0 0 0 6px rgba(14, 107, 94, 0); transform: scale(1.05); }
}

/* Intake checklist — items fade in/out continuously */
.mock-act {
  animation: actCycle 8s ease-in-out infinite;
}
.mock-act:nth-child(1) { animation-delay: 0s; }
.mock-act:nth-child(2) { animation-delay: 0.6s; }
.mock-act:nth-child(3) { animation-delay: 1.2s; }
@keyframes actCycle {
  0%, 15%, 100% { opacity: 0.35; transform: translateX(-3px); }
  20%, 90% { opacity: 1; transform: translateX(0); }
}
.mock-act .tick {
  animation: tickPop 8s ease-in-out infinite;
}
.mock-act:nth-child(1) .tick { animation-delay: 0.2s; }
.mock-act:nth-child(2) .tick { animation-delay: 0.8s; }
.mock-act:nth-child(3) .tick { animation-delay: 1.4s; }
@keyframes tickPop {
  0%, 15% { opacity: 0; transform: scale(0); }
  20% { opacity: 1; transform: scale(1.4); }
  25%, 90% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0); }
}

/* Memory return card — avatar glow cycle */
.mock-avatar {
  animation: avatarGlow 3.5s ease-in-out infinite;
}
@keyframes avatarGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 165, 0, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(240, 165, 0, 0); }
}

/* SMS bubble — re-pops in periodically */
.sms-bubble {
  animation: smsCycle 6s ease-in-out infinite;
}
.sms-bubble.sent { animation-delay: 0s; }
.sms-bubble:not(.sent) { animation-delay: 0.8s; }
@keyframes smsCycle {
  0%, 10%, 100% { opacity: 0; transform: translateX(-12px) scale(0.92); }
  15%, 95% { opacity: 1; transform: translateX(0) scale(1); }
}
.sms-bubble:not(.sent) {
  animation-name: smsCycleR;
}
@keyframes smsCycleR {
  0%, 10%, 100% { opacity: 0; transform: translateX(12px) scale(0.92); }
  15%, 95% { opacity: 1; transform: translateX(0) scale(1); }
}

/* Integration tiles — gentle hue shift + cascade highlight on hover */
.mock-int-grid .int-tile {
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.feat:hover .mock-int-grid .int-tile {
  animation: tileSparkle 1.8s ease-in-out infinite;
}
.feat:hover .mock-int-grid .int-tile:nth-child(1) { animation-delay: 0.0s; }
.feat:hover .mock-int-grid .int-tile:nth-child(2) { animation-delay: 0.1s; }
.feat:hover .mock-int-grid .int-tile:nth-child(3) { animation-delay: 0.2s; }
.feat:hover .mock-int-grid .int-tile:nth-child(4) { animation-delay: 0.3s; }
.feat:hover .mock-int-grid .int-tile:nth-child(5) { animation-delay: 0.4s; }
.feat:hover .mock-int-grid .int-tile:nth-child(6) { animation-delay: 0.5s; }
.feat:hover .mock-int-grid .int-tile:nth-child(7) { animation-delay: 0.6s; }
.feat:hover .mock-int-grid .int-tile:nth-child(8) { animation-delay: 0.7s; }
@keyframes tileSparkle {
  0%, 100% { transform: translateY(0); box-shadow: none; }
  50% { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
}


/* =========================================================
   v10 — FIX PRODUCT PAGE MEMORY LAYOUT
   Base .memory-channels was 3 columns. We have 4 channels now everywhere.
   ========================================================= */
.memory-channels {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
}
@media (max-width: 1000px) {
  .memory-channels { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .memory-channels { grid-template-columns: 1fr !important; }
}

/* Tighter card padding so 4 fit nicely in the non-pinned product version */
.memory-stage .mch { padding: 16px; }
.memory-stage .mch-content { font-size: 12.5px; line-height: 1.45; }

/* Funnel SVG margin tweak for product page */
.memory-stage .mem-funnel { margin-bottom: 24px; }

/* =========================================================
   v11 — TIGHTER TYPE SCALE
   Cap headline maximums significantly lower so the design
   holds together on wide monitors (was getting too big on 27"+ displays).
   ========================================================= */
.h-hero {
  font-size: clamp(38px, 5.2vw, 68px) !important;
  line-height: 1.04;
}
.h-section {
  font-size: clamp(30px, 3.6vw, 50px) !important;
  line-height: 1.05;
}
.page-hero {
  padding: 60px 0 50px !important;
}
.page-hero .h-hero {
  font-size: clamp(38px, 5vw, 64px) !important;
  max-width: 880px;
}
.trust-num {
  font-size: clamp(34px, 3.4vw, 46px) !important;
}
.cta-final h2 {
  font-size: clamp(34px, 4.2vw, 56px) !important;
  max-width: 820px;
}
.pain-stat {
  font-size: clamp(36px, 4.4vw, 56px) !important;
}
.pain-text {
  font-size: clamp(18px, 2vw, 26px) !important;
}
.h-display {
  font-size: clamp(40px, 5.6vw, 64px) !important;
}

/* Reduce section padding on wide screens — too much vertical breathing room */
section { padding-top: clamp(60px, 6vw, 96px); padding-bottom: clamp(60px, 6vw, 96px); }
section.tight { padding-top: clamp(56px, 5vw, 80px); padding-bottom: clamp(56px, 5vw, 80px); }

/* Lede / body text caps */
.lede { font-size: clamp(16px, 1.3vw, 19px) !important; }


/* =========================================================
   v13 — APPLE-STYLE PINNED FEAT GRID
   6 cards drop in one by one as user scrolls.
   Then all 6 mocks accelerate in "finale" state.
   Used on both home page and product page.
   ========================================================= */
.feat-pin-section {
  padding: 0 !important;
  background: transparent !important;
}
.feat-pin-wrap {
  position: relative;
  height: 320vh;
}
.feat-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 40px 0;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.6) 12%,
    rgba(255, 255, 255, 0.95) 30%,
    rgba(255, 255, 255, 0.95) 70%,
    rgba(255, 255, 255, 0.6) 88%,
    transparent 100%
  );
}
.feat-pin .container { width: 100%; max-width: 1200px; }

.feat-pin .section-head {
  margin-bottom: 28px;
  text-align: center;
}
.feat-pin .section-head .h-section {
  font-size: clamp(26px, 3.2vw, 42px) !important;
  margin-bottom: 6px;
}
.feat-pin .section-head .lede {
  max-width: 540px;
  margin: 6px auto 0;
  font-size: clamp(14px, 1.1vw, 16px) !important;
}
.feat-pin .section-head .eyebrow {
  margin-bottom: 12px;
  display: inline-block;
}

/* Pinned 6-card grid — slightly more compact than the regular feat-grid */
.feat-pin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .feat-pin-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .feat-pin-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* Cards start above viewport + invisible.
   Drop in when their threshold is reached. */
.feat-pin-grid .feat {
  opacity: 0;
  transform: translateY(-70px) scale(0.9);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  min-height: 0;
  padding: 18px;
}
.feat-pin-grid .feat.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Tighter typography inside the pinned cards to fit 6 in viewport */
.feat-pin-grid .feat h4 {
  font-size: 17px !important;
  margin-bottom: 6px;
  line-height: 1.2;
}
.feat-pin-grid .feat p {
  font-size: 12.5px !important;
  margin-bottom: 12px;
  line-height: 1.45;
}
.feat-pin-grid .feat .feat-eyebrow {
  font-size: 9.5px;
  margin-bottom: 8px;
}
.feat-pin-grid .feat .feat-mock {
  min-height: 70px;
  padding: 10px;
  font-size: 10px;
}

/* Compact mock element overrides for the pinned version */
.feat-pin-grid .mock-voice-orb { width: 38px; height: 38px; }
.feat-pin-grid .mock-voice-bars { height: 22px; }
.feat-pin-grid .mc-day { font-size: 9px; }
.feat-pin-grid .mock-act { font-size: 10px; padding: 5px 8px; }
.feat-pin-grid .mock-avatar { width: 30px; height: 30px; font-size: 11px; }
.feat-pin-grid .mock-return-info strong { font-size: 12px; }
.feat-pin-grid .mock-return-info small { font-size: 10px; }
.feat-pin-grid .sms-bubble { font-size: 10px; padding: 5px 9px; }
.feat-pin-grid .mock-int-grid .int-tile { padding: 3px; }
.feat-pin-grid .mock-int-grid .logo-mono { width: 18px; height: 18px; font-size: 9px; border-radius: 4px; }
.feat-pin-grid .mock-int-grid .int-tile span { font-size: 8px; }

/* FINALE — when all 6 are in, mocks come alive in sequence */
.feat-pin-grid.finale .feat[data-feat="1"] .mock-voice-orb {
  animation: voiceOrbBreath 1.4s ease-in-out infinite;
}
.feat-pin-grid.finale .feat[data-feat="1"] .mock-voice-bars .b {
  animation-duration: 0.5s;
}
.feat-pin-grid.finale .feat[data-feat="2"] .mc-day.booking {
  animation: bookingPulse 1.2s ease-in-out infinite;
}
.feat-pin-grid.finale .feat[data-feat="3"] .mock-act {
  animation: actCycle 4s ease-in-out infinite;
}
.feat-pin-grid.finale .feat[data-feat="3"] .mock-act:nth-child(2) { animation-delay: 0.3s; }
.feat-pin-grid.finale .feat[data-feat="3"] .mock-act:nth-child(3) { animation-delay: 0.6s; }
.feat-pin-grid.finale .feat[data-feat="4"] .mock-avatar {
  animation: avatarGlow 1.8s ease-in-out infinite;
}
.feat-pin-grid.finale .feat[data-feat="5"] .sms-bubble {
  animation: smsCycle 3s ease-in-out infinite;
}
.feat-pin-grid.finale .feat[data-feat="5"] .sms-bubble:not(.sent) {
  animation-name: smsCycleR;
  animation-delay: 0.4s;
}
.feat-pin-grid.finale .feat[data-feat="6"] .int-tile {
  animation: tileSparkle 1.5s ease-in-out infinite;
}
.feat-pin-grid.finale .feat[data-feat="6"] .int-tile:nth-child(1) { animation-delay: 0.0s; }
.feat-pin-grid.finale .feat[data-feat="6"] .int-tile:nth-child(2) { animation-delay: 0.1s; }
.feat-pin-grid.finale .feat[data-feat="6"] .int-tile:nth-child(3) { animation-delay: 0.2s; }
.feat-pin-grid.finale .feat[data-feat="6"] .int-tile:nth-child(4) { animation-delay: 0.3s; }
.feat-pin-grid.finale .feat[data-feat="6"] .int-tile:nth-child(5) { animation-delay: 0.4s; }
.feat-pin-grid.finale .feat[data-feat="6"] .int-tile:nth-child(6) { animation-delay: 0.5s; }
.feat-pin-grid.finale .feat[data-feat="6"] .int-tile:nth-child(7) { animation-delay: 0.6s; }
.feat-pin-grid.finale .feat[data-feat="6"] .int-tile:nth-child(8) { animation-delay: 0.7s; }

/* Border highlight on all cards in finale state */
.feat-pin-grid.finale .feat {
  border-color: var(--teal-soft);
  box-shadow: 0 8px 32px rgba(14, 107, 94, 0.08);
}

/* Progress indicator */
.feat-pin-progress {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}
.feat-pin-progress .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-200);
  transition: all 0.4s;
}
.feat-pin-progress .dot.in {
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 107, 94, 0.12);
  transform: scale(1.15);
}

@media (max-width: 720px) {
  .feat-pin-wrap { height: 280vh; }
  .feat-pin { padding: 30px 0; }
  .feat-pin .section-head .h-section { font-size: clamp(22px, 4vw, 32px) !important; }
  .feat-pin .section-head { margin-bottom: 20px; }
  .feat-pin-progress { right: 12px; gap: 8px; }
  .feat-pin-progress .dot { width: 5px; height: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .feat-pin-wrap { height: auto; }
  .feat-pin { position: relative; height: auto; min-height: auto; }
  .feat-pin-grid .feat { opacity: 1; transform: none; }
}


/* =========================================================
   v14 — FAQ / PRIVACY / TERMS / DOCS POLISH
   ========================================================= */

/* ---- Allow the pin-grid to hold any kind of card, not just .feat ---- */
.feat-pin-grid > *,
.feat-pin-grid .card-clean {
  opacity: 0;
  transform: translateY(-70px) scale(0.9);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}
.feat-pin-grid > *.in,
.feat-pin-grid .card-clean.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---- FAQ category header: animated underline draws in ---- */
.faq-cat-head {
  position: relative;
  display: inline-block;
  border-bottom: 0 !important;
  padding-bottom: 14px;
  margin-bottom: 12px !important;
}
.faq-cat-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--gold) 100%);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}
.faq-category.seen .faq-cat-head::after { width: 80px; }
.faq-category .faq-wrap { margin-top: 12px; border-top: 1px solid var(--ink-100); }

/* ---- FAQ items stagger in horizontally as category becomes visible ---- */
.faq-category .faq {
  opacity: 0;
  transform: translateX(-18px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.4s ease;
}
.faq-category.seen .faq { opacity: 1; transform: translateX(0); }
.faq-category.seen .faq:nth-of-type(1) { transition-delay: 0.10s, 0.10s, 0s; }
.faq-category.seen .faq:nth-of-type(2) { transition-delay: 0.17s, 0.17s, 0s; }
.faq-category.seen .faq:nth-of-type(3) { transition-delay: 0.24s, 0.24s, 0s; }
.faq-category.seen .faq:nth-of-type(4) { transition-delay: 0.31s, 0.31s, 0s; }
.faq-category.seen .faq:nth-of-type(5) { transition-delay: 0.38s, 0.38s, 0s; }
.faq-category.seen .faq:nth-of-type(6) { transition-delay: 0.45s, 0.45s, 0s; }
.faq-category.seen .faq:nth-of-type(7) { transition-delay: 0.52s, 0.52s, 0s; }
.faq-category.seen .faq:nth-of-type(8) { transition-delay: 0.59s, 0.59s, 0s; }

/* ---- FAQ item hover: subtle left-indent ---- */
.faq { position: relative; }
.faq summary { transition: padding-left 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.faq:hover summary { padding-left: 10px; }
.faq[open] summary { padding-left: 14px; }

/* ---- FAQ accent strip when open ---- */
.faq::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), var(--gold));
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: opacity 0.4s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 2px;
}
.faq[open]::before { opacity: 1; transform: scaleY(1); }
.faq[open] .faq-q { color: var(--teal); }

/* =========================================================
   LEGAL-CONTENT SECTION REVEALS
   (Privacy, Terms, Docs article body, Guides article body)
   ========================================================= */
.legal-content h2 {
  margin-top: 56px;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}
.legal-content h2[data-reveal] {
  opacity: 0;
  transform: translateX(-18px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.legal-content h2[data-reveal].seen {
  opacity: 1;
  transform: translateX(0) translateY(0) !important;
}
.legal-content h2::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 50%;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--teal), var(--gold));
  border-radius: 3px;
  transform: translateY(-50%);
  transition: height 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.legal-content h2.seen::before { height: 70%; }

.legal-content h3 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.015em;
}
.legal-content h3[data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s !important;
}
.legal-content h3[data-reveal].seen {
  opacity: 1;
  transform: translateY(0) !important;
}

.legal-content p[data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.1s !important;
}
.legal-content p[data-reveal].seen {
  opacity: 1;
  transform: translateY(0) !important;
}

/* =========================================================
   DOCS PAGE — section articles get accent stripe + hover lift
   ========================================================= */
body[data-page="docs"] .legal-content,
body[data-page="guides"] .legal-content {
  position: relative;
  padding: 36px 32px 36px 40px;
  margin-bottom: 64px;
  border-radius: 16px;
  transition:
    background 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
body[data-page="docs"] .legal-content::before,
body[data-page="guides"] .legal-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 36px;
  bottom: 36px;
  width: 3px;
  background: linear-gradient(180deg,
    var(--teal-soft) 0%,
    var(--teal) 40%,
    var(--gold) 100%
  );
  border-radius: 3px;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
body[data-page="docs"] .legal-content.seen::before,
body[data-page="guides"] .legal-content.seen::before {
  transform: scaleY(1);
}
body[data-page="docs"] .legal-content:hover,
body[data-page="guides"] .legal-content:hover {
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 16px 48px rgba(14, 107, 94, 0.04);
  padding-left: 48px;
}
body[data-page="docs"] .legal-content:hover::before,
body[data-page="guides"] .legal-content:hover::before {
  background: linear-gradient(180deg, var(--teal) 0%, var(--gold-dark) 100%);
  width: 4px;
}

/* Eyebrow inside legal article (e.g., "SECTION 01" / "GUIDE 02") slides down */
body[data-page="docs"] .legal-content .eyebrow,
body[data-page="guides"] .legal-content .eyebrow {
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
body[data-page="docs"] .legal-content.seen .eyebrow,
body[data-page="guides"] .legal-content.seen .eyebrow {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   v14.1 — ACCENT LINE SPACING FIX
   Stop the v14 reveal accents from overlapping text on
   docs pages (h2 line cutting through SECTION 01 eyebrow)
   and FAQ pages (open-state line touching first letter).
   ========================================================= */

/* Docs/Privacy/Terms h2: shift the bar further left AND constrain
   its vertical bounds to ONLY the h2 (not the 70% expanded height
   that was creeping into the eyebrow area above). Animate with
   scaleY now instead of height so positioning is deterministic. */
.legal-content h2::before {
  left: -32px;
  top: 6px;
  bottom: 6px;
  height: auto;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.legal-content h2.seen::before {
  height: auto;
  transform: scaleY(1);
}

/* FAQ open-state line: move outside the .faq's left edge so it
   sits in the gutter and never touches the answer text. */
.faq::before {
  left: -16px;
}

/* Belt-and-suspenders: nudge the answer text 4px to the right when
   the FAQ is open so the line + text are visually separate even
   if a future layout change pulls things closer. */
.faq[open] .faq-a {
  padding-left: 4px;
}


/* v14.2 — Remove h2 accent bar on docs/guides pages.
   The eyebrow ("SECTION 01") and h2 flow inline on the same line,
   so the bar at h2's left ends up splitting the eyebrow text.
   The article-level left stripe on these pages provides enough
   visual structure on its own. */
body[data-page="docs"] .legal-content h2::before,
body[data-page="guides"] .legal-content h2::before {
  display: none;
}


/* =========================================================
   v15 — MOBILE PINNED-SCROLL FALLBACK
   Pinned scroll sections (memory + feat-grid) don't work well on
   phones — 320vh of scroll is exhausting, 100vh is unreliable in
   mobile Safari, and the choreography is hard to follow on touch.
   On mobile, un-pin everything and let content flow naturally.
   The mock animations inside cards still play.
   ========================================================= */
@media (max-width: 820px) {
  /* ----- MEMORY SECTION (home page) ----- */
  .memory-pin-wrap {
    height: auto !important;
    min-height: 0 !important;
  }
  .memory-pin {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 40px 0 60px !important;
    overflow: visible !important;
    display: block !important;
  }
  .memory-pin .container { padding: 0 20px; }
  .memory-stage {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    margin-bottom: 24px;
    width: 100% !important;
    max-width: 100% !important;
  }
  .memory-stage.in,
  .memory-stage:not(.in) { opacity: 1 !important; transform: none !important; }
  .memory-progress { display: none !important; }
  .mem-funnel { display: none !important; }
  .memory-channels {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .mem-profile { max-width: 100% !important; }

  /* ----- FEAT-PIN GRID (home, product, documentation) ----- */
  .feat-pin-section { padding: 0 !important; }
  .feat-pin-wrap {
    height: auto !important;
    min-height: 0 !important;
  }
  .feat-pin {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 50px 0 60px !important;
    overflow: visible !important;
    display: block !important;
    background: transparent !important;
  }
  .feat-pin .section-head {
    margin-bottom: 28px;
    text-align: center;
    padding: 0 16px;
  }
  .feat-pin .section-head .h-section {
    font-size: clamp(24px, 5vw, 32px) !important;
  }
  .feat-pin-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 0 16px !important;
    max-width: 560px !important;
    margin: 0 auto !important;
  }
  .feat-pin-grid > *,
  .feat-pin-grid .feat,
  .feat-pin-grid .card-clean {
    opacity: 1 !important;
    transform: none !important;
    min-height: 0 !important;
    padding: 22px !important;
  }
  .feat-pin-grid .feat h4,
  .feat-pin-grid .card-clean h3 {
    font-size: 18px !important;
    margin-bottom: 8px;
  }
  .feat-pin-grid .feat p,
  .feat-pin-grid .card-clean p {
    font-size: 14px !important;
    margin-bottom: 14px;
  }
  .feat-pin-grid .feat .feat-mock {
    min-height: 80px;
    padding: 12px;
    font-size: 11px;
  }
  .feat-pin-progress { display: none !important; }

  /* Force finale state visually so mock animations are active for
     mobile users (they'd never reach finale via scroll since the
     section is no longer pinned) */
  .feat-pin-grid {
    /* "finale" class effects, hard-coded */
  }
  .feat-pin-grid .feat[data-feat="1"] .mock-voice-orb {
    animation: voiceOrbBreath 1.8s ease-in-out infinite;
  }
  .feat-pin-grid .feat[data-feat="2"] .mc-day.booking {
    animation: bookingPulse 1.6s ease-in-out infinite;
  }
  .feat-pin-grid .feat[data-feat="4"] .mock-avatar {
    animation: avatarGlow 2.4s ease-in-out infinite;
  }
}

/* Extra-narrow phones */
@media (max-width: 420px) {
  .feat-pin-grid { padding: 0 12px !important; }
  .feat-pin .section-head { padding: 0 12px; }
}


/* =========================================================
   v16 — HERO CALL CARD JS-CONTROLLED TIMING
   Override the old nth-child animation-delay scheme so JS can
   control when each transcript line + pill appears. .pending
   hides; removing .pending (or adding .show) reveals via the
   existing keyframe animation, kicked off at audio-start time.
   ========================================================= */
.t-line.pending {
  animation: none !important;
  opacity: 0 !important;
  transform: translateY(8px) !important;
}
.t-line.show {
  animation: tLineIn 0.45s cubic-bezier(0.2, 0.85, 0.3, 1) forwards !important;
  animation-delay: 0s !important;
}
/* Status pills: same pattern */
.status-pill.pending {
  animation: none !important;
  opacity: 0 !important;
  transform: translateY(8px) scale(0.92) !important;
}
.status-pill:not(.pending) {
  animation: bounceIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
  animation-delay: 0s !important;
}

/* =========================================================
   v19 — CLICK-TO-HEAR PROMPT (positioned over speaker)
   Fixes from v18:
   - Prompt now OVERLAPS the right edge of the call card so the SVG
     arrow tip lands ON the speaker icon (not 70px off to the right).
   - Visibility is class-driven (.hidden). JS toggles based on
     heroAudioEnabled, so muting re-shows the arrow.
   - Animation timings tightened.
   ========================================================= */
.call-wrap { position: relative; overflow: visible; }

.audio-prompt {
  position: absolute;
  top: 0;
  /* Right -180px + width 240px = LEFT edge sits 60px INSIDE the
     call-wrap (over the speaker area), allowing the arrow tip to
     overlap the speaker icon. Height matches viewBox for 1:1 mapping. */
  right: -180px;
  width: 240px;
  height: 130px;
  pointer-events: none;
  z-index: 14;
  color: var(--teal-dark);
  opacity: 1;
  transform: translateX(0) translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.audio-prompt.hidden {
  opacity: 0 !important;
  transform: translateX(12px) translateY(-4px) !important;
  pointer-events: none;
}

.ap-arrow-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ap-arrow-path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: apDraw 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.5s forwards;
  stroke: var(--teal);
  filter: url(#apRough);
}
.ap-arrow-head {
  stroke: var(--teal);
  opacity: 0;
  animation: apHead 0.22s ease 1.5s forwards;
}
.ap-text {
  position: absolute;
  right: 8px;
  bottom: 4px;
  max-width: 160px;
  font-family: var(--display), serif;
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--teal-dark);
  opacity: 0;
  transform: translateY(4px);
  animation: apTextIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}

@keyframes apDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes apHead {
  to { opacity: 1; }
}
@keyframes apTextIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Tablet — pull the prompt closer */
@media (max-width: 1100px) {
  .audio-prompt {
    right: -160px;
    width: 220px;
  }
}

/* Mobile — no horizontal room for the external arrow.
   Switch to a small in-card pill pointing up at the speaker. */
@media (max-width: 820px) {
  .audio-prompt {
    top: 56px;
    right: 12px;
    width: auto;
    height: auto;
    transform: none;
  }
  .ap-arrow-svg { display: none; }
  .ap-text {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: none;
    font-style: normal;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    background: var(--ink-900);
    color: var(--white);
    padding: 7px 11px;
    border-radius: 9px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    animation: none;
    opacity: 1;
    transform: none;
  }
  .ap-text::before {
    content: "↑";
    display: inline-block;
    font-weight: 700;
    animation: apMobileBounce 0.9s ease-in-out infinite;
  }
  .audio-prompt.hidden .ap-text {
    background: transparent;
    box-shadow: none;
  }
}
@keyframes apMobileBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
