/* Anservo marketing landing page restyle — scoped under body.landing-page */

body.landing-page {
  --an-green: #10b981;
  --an-green-deep: #059669;
  --an-teal: #0ea5a4;
  --an-mint: #a7f3d0;
  --an-ink: #0f172a;
  --an-ink-soft: #334155;
  --an-muted: #64748b;
  --an-label: #94a3b8;
  --an-bg: #ffffff;
  --an-lavender: #f6f7fb;
  --an-border: #e6e8f0;
  --an-card: #ffffff;
  --an-accent: #7c3aed;
  --an-danger: #ef4444;
  --an-ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --an-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --an-shadow-md: 0 16px 48px rgba(15, 23, 42, 0.08);
  --an-shadow-lg: 0 32px 80px rgba(15, 23, 42, 0.12);
  --an-section-pad: clamp(72px, 10vw, 120px);
  color: var(--an-ink);
}

body.landing-page .page-background {
  background:
    linear-gradient(165deg, #ecfdf5 0%, #f0fdfa 18%, #f6f7fb 42%, #ffffff 100%);
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 10001;
  background: linear-gradient(90deg, var(--an-green-deep), var(--an-teal), var(--an-green));
  pointer-events: none;
  transform-origin: left center;
}

/* Nav */
body.landing-page .site-nav-premium {
  transition: background 0.5s var(--an-ease-out-expo), box-shadow 0.5s var(--an-ease-out-expo), backdrop-filter 0.5s var(--an-ease-out-expo);
}

body.landing-page .site-nav-premium.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(230, 232, 240, 0.8);
}

body.landing-page .site-nav-links li {
  opacity: 0;
  transform: translateY(-10px);
  animation: lpNavIn 0.55s var(--an-ease-out-expo) forwards;
}

body.landing-page .site-nav-links li:nth-child(1) { animation-delay: 0.08s; }
body.landing-page .site-nav-links li:nth-child(2) { animation-delay: 0.14s; }
body.landing-page .site-nav-links li:nth-child(3) { animation-delay: 0.2s; }
body.landing-page .site-nav-links li:nth-child(4) { animation-delay: 0.26s; }
body.landing-page .site-nav-links li:nth-child(5) { animation-delay: 0.32s; }

@keyframes lpNavIn {
  to { opacity: 1; transform: translateY(0); }
}

body.landing-page .nav-indicator {
  background: linear-gradient(90deg, var(--an-green-deep), var(--an-teal));
}

/* Hero */
body.landing-page .hero-premium {
  padding-top: clamp(108px, 12vw, 140px);
  padding-bottom: clamp(48px, 8vw, 96px);
  background:
    radial-gradient(ellipse 90% 70% at 70% 20%, rgba(16, 185, 129, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(14, 165, 164, 0.1) 0%, transparent 50%);
}

body.landing-page .hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 5vw, 56px);
}

body.landing-page .hero-copy-centered {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

body.landing-page .hero-split {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(36px, 5vw, 56px);
}

@media (min-width: 1024px) {
  body.landing-page .hero-split {
    grid-template-columns: 1fr;
  }
}

body.landing-page .hero-premium h1 {
  text-align: center;
}

body.landing-page .hero-sub {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body.landing-page .hero-ctas {
  justify-content: center;
}

body.landing-page .hero-trust {
  justify-content: center;
}

body.landing-page .hero-stage {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  perspective: none;
}

body.landing-page .hero-stage-landscape {
  padding-bottom: 32px;
}

body.landing-page #hero-dashboard {
  transform: none;
  transform-origin: center center;
  max-width: 1120px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  body.landing-page .hero-stage-pin {
    perspective: 1400px;
  }

  html.hero-dashboard-preview body.landing-page #hero-dashboard,
  html.hero-dashboard-static body.landing-page #hero-dashboard {
    opacity: 1;
  }

  html.hero-zoom-pin-active body.landing-page .hero-stage-landscape {
    transform: none !important;
  }
}

body.landing-page .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--an-green-deep);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

body.landing-page .hero-premium h1 {
  font-size: clamp(2.5rem, 5.8vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--an-ink);
  margin: 16px 0 20px;
}

body.landing-page .hero-accent {
  background: linear-gradient(100deg, var(--an-green-deep) 0%, var(--an-teal) 50%, var(--an-green) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.landing-page .hero-premium h1,
body.landing-page .hero-headline {
  text-align: center;
  text-wrap: balance;
}

body.landing-page .hero-line-primary {
  display: block;
  white-space: nowrap;
  line-height: 1.08;
}

body.landing-page .hero-line-for,
body.landing-page .hero-line-rotate {
  display: block;
  line-height: 1.08;
}

@media (max-width: 480px) {
  body.landing-page .hero-line-primary {
    white-space: normal;
  }
}

body.landing-page .hero-rotate-wrap {
  position: relative;
  display: inline-block;
  height: 1.12em;
  vertical-align: bottom;
  text-align: center;
}

body.landing-page .hero-rotate-wrap .hero-rotate {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.45s ease;
  white-space: nowrap;
  display: block;
  width: max-content;
  font-style: italic;
  font-weight: 600;
  color: var(--an-green-deep);
  font-variant-numeric: tabular-nums;
  text-align: center;
}

body.landing-page .hero-rotate-wrap .hero-rotate.is-active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

body.landing-page .hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: var(--an-ink-soft);
  max-width: 34ch;
  margin-bottom: 28px;
}

body.landing-page .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

body.landing-page .btn-frosted {
  background: rgba(255, 255, 255, 0.85);
  color: var(--an-ink);
  border: 1px solid var(--an-border);
  box-shadow: var(--an-shadow-sm);
}

body.landing-page .btn-dark {
  background: var(--an-ink);
}

body.landing-page .hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.landing-page .hero-trust span {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--an-border);
  color: var(--an-muted);
}

/* Hero stage + dashboard */
body.landing-page .hero-stage {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  perspective: none;
}

body.landing-page .hero-stage-glow {
  background:
    radial-gradient(ellipse 72% 58% at 50% 40%, rgba(16, 185, 129, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse 52% 48% at 50% 60%, rgba(14, 165, 164, 0.16) 0%, transparent 52%);
  animation: lpGlowBreathe 6s ease-in-out infinite;
}

@keyframes lpGlowBreathe {
  0%, 100% { opacity: 0.88; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

body.landing-page .heroDash-frame {
  border-radius: 18px;
  box-shadow: var(--an-shadow-lg);
}

body.landing-page .heroDash-frame .hero-notify-stack {
  position: absolute;
  top: 48px;
  right: 16px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}

body.landing-page .hero-notify-chip {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--an-green-deep);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: var(--an-shadow-md);
  opacity: 0;
  transform: translateX(24px);
  white-space: nowrap;
}

body.landing-page .hero-notify-chip.is-show {
  animation: lpChipIn 0.5s var(--an-ease-out-expo) forwards;
}

@keyframes lpChipIn {
  to { opacity: 1; transform: translateX(0); }
}

/* Sections global */
body.landing-page .section {
  padding: var(--an-section-pad) 0;
}

body.landing-page .section-lavender {
  background: var(--an-lavender);
}

body.landing-page .section-white {
  background: var(--an-bg);
}

body.landing-page .section-header {
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 48px);
}

body.landing-page .section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--an-green-deep);
  margin-bottom: 12px;
}

body.landing-page .section-header h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--an-ink);
  margin-bottom: 12px;
}

body.landing-page #features .section-header {
  max-width: min(100%, 920px);
}

body.landing-page #features-heading {
  white-space: nowrap;
}

@media (max-width: 640px) {
  body.landing-page #features-heading {
    white-space: normal;
  }
}

body.landing-page .section-header p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--an-muted);
}

/* Reveal system */
body.landing-page .reveal,
body.landing-page .gsap-reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
}

body.landing-page .reveal.is-visible,
body.landing-page .gsap-reveal.is-done {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 0.7s var(--an-ease-out-expo), transform 0.7s var(--an-ease-out-expo), filter 0.7s var(--an-ease-out-expo);
}

/* Quick call */
body.landing-page .quick-call-layout {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  body.landing-page .quick-call-layout {
    grid-template-columns: 1fr 1fr;
  }
}

body.landing-page .quick-call-copy h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

body.landing-page .quick-call-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: center;
  position: relative;
  min-height: 320px;
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

body.landing-page .quick-call-photo {
  display: block;
  grid-column: 1;
  grid-row: 1;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #f8fafc;
  box-shadow:
    0 28px 56px rgba(15, 23, 42, 0.09),
    0 10px 20px rgba(15, 23, 42, 0.04),
    0 0 0 1px rgba(15, 23, 42, 0.05);
}

body.landing-page .quick-call-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(90deg, transparent 66%, rgba(246, 247, 251, 0.5) 86%, var(--an-lavender) 100%);
}

body.landing-page .quick-call-photo-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 38%;
}

body.landing-page .quick-call-bubbles {
  display: flex;
  flex-direction: column;
  gap: 14px;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  position: relative;
  z-index: 2;
}

body.landing-page .chat-bubble {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  display: block;
  width: auto;
  max-width: min(360px, 100%);
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

body.landing-page .chat-bubble p {
  display: block;
  width: 100%;
  margin: 0;
  white-space: normal;
  word-wrap: break-word;
}

body.landing-page .chat-bubble-patient {
  align-self: flex-start;
  margin: 0;
}

body.landing-page .chat-bubble-ai {
  align-self: flex-end;
  margin-left: auto;
}

@media (max-width: 899px) {
  body.landing-page .quick-call-stage {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  body.landing-page .quick-call-photo::after {
    background: linear-gradient(180deg, transparent 72%, var(--an-lavender) 100%);
  }
  body.landing-page .quick-call-photo-img {
    object-position: center 35%;
  }
  body.landing-page .quick-call-bubbles {
    grid-column: 1;
    grid-row: 2;
  }
}

body.landing-page .chat-bubble mark {
  background: rgba(16, 185, 129, 0.2);
  color: var(--an-green-deep);
  border-radius: 4px;
  padding: 0 2px;
}

body.landing-page .bubble-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--an-label);
  margin-bottom: 6px;
}

/* Live demo */
body.landing-page #try-live .live-demo-widget {
  border-radius: 24px;
  border: 1px solid var(--an-border);
  box-shadow: var(--an-shadow-lg);
  background: var(--an-card);
  overflow: hidden;
  position: relative;
}

body.landing-page #try-live .live-demo-widget::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.35), rgba(14, 165, 164, 0.15), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

body.landing-page .live-demo-card {
  padding: clamp(20px, 4vw, 32px);
}

body.landing-page .live-demo-start {
  background: linear-gradient(135deg, var(--an-green-deep), var(--an-teal));
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  padding: 12px 24px;
}

body.landing-page .live-demo-orb {
  box-shadow: 0 0 48px rgba(16, 185, 129, 0.35);
}

/* Value cards */
body.landing-page .value-band {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  body.landing-page .value-band {
    grid-template-columns: repeat(3, 1fr);
  }
}

body.landing-page .value-card,
body.landing-page .experience-card {
  background: var(--an-card);
  border: 1px solid var(--an-border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--an-shadow-sm);
  transition: transform 0.4s var(--an-ease-out-expo), box-shadow 0.4s var(--an-ease-out-expo);
}

body.landing-page .value-card:hover,
body.landing-page .experience-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--an-shadow-md);
}

body.landing-page .value-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--an-green-deep);
  background: rgba(16, 185, 129, 0.12);
  margin-bottom: 14px;
}

body.landing-page .value-stat,
body.landing-page [data-counter] {
  font-variant-numeric: tabular-nums;
}

/* Gradient cards */
body.landing-page #voice-overview .gradient-cards {
  display: grid;
  gap: 16px;
}

@media (min-width: 1100px) {
  body.landing-page #voice-overview .gradient-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 640px) and (max-width: 1099px) {
  body.landing-page #voice-overview .gradient-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.landing-page #voice-overview .gradient-card-emerald {
  background: linear-gradient(145deg, #0f766e 0%, #059669 52%, #34d399 100%);
}

body.landing-page #voice-overview .gradient-card,
body.landing-page #voice-overview .gradient-card.experience-card {
  border-radius: 20px;
  padding: 34px 28px 28px;
  color: #fff;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  transition: none;
  transform: none;
}

body.landing-page #voice-overview .gradient-card:hover,
body.landing-page #voice-overview .gradient-card.experience-card:hover,
body.landing-page #voice-overview .gradient-card.is-active {
  transform: none;
  box-shadow: 0 18px 40px -22px rgba(15, 23, 42, 0.28);
}

body.landing-page #voice-overview .gradient-card-indigo {
  background: linear-gradient(145deg, #0f766e 0%, #0d9488 52%, #14b8a6 100%);
}

body.landing-page #voice-overview .gradient-card-violet {
  background: linear-gradient(145deg, #115e59 0%, #0f766e 55%, #2dd4bf 100%);
}

body.landing-page #voice-overview .gradient-card-blue {
  background: linear-gradient(145deg, #064e3b 0%, #047857 50%, #10b981 100%);
}

body.landing-page #voice-overview .gradient-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* Features */
body.landing-page .feature-block {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--an-border);
}

@media (min-width: 900px) {
  body.landing-page .feature-block {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  body.landing-page .feature-block.reverse .feature-copy { order: 2; }
  body.landing-page .feature-block.reverse .feature-visual { order: 1; }
}

body.landing-page .feature-visual {
  border-radius: 18px;
  border: 1px solid var(--an-border);
  background: var(--an-card);
  box-shadow: var(--an-shadow-md);
  padding: 20px;
}

body.landing-page .feature-visual.feat-mock {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

body.landing-page .feature-list li {
  color: var(--an-ink-soft);
}

/* Safety showcase: provided background image (no generated gradient) */
body.landing-page .showcase-section {
  background: url("../img/page-background.png") center center / cover no-repeat;
  color: var(--an-ink);
  padding: var(--an-section-pad) 0;
}

body.landing-page .showcase-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--an-green-deep);
  margin-bottom: 12px;
}

body.landing-page .showcase-copy h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--an-ink);
  margin-bottom: 12px;
}

body.landing-page .showcase-lead {
  color: var(--an-ink-soft);
  line-height: 1.65;
  margin-bottom: 24px;
}

body.landing-page .showcase-badge {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--an-border);
  color: var(--an-ink-soft);
}

/* Benefit cards readable on the light Safety background image */
body.landing-page #safety .benefit-item {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--an-border);
  box-shadow: none;
}

body.landing-page #safety .benefit-item:hover {
  background: #fff;
  border-color: var(--an-border);
  box-shadow: var(--an-shadow-sm);
}

body.landing-page #safety .benefit-icon {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--an-green-deep);
}

body.landing-page #safety .benefit-info h3 {
  color: var(--an-ink);
}

body.landing-page #safety .benefit-info p {
  color: var(--an-ink-soft);
}

body.landing-page .showcase-split {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 1024px) {
  body.landing-page .showcase-split {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

body.landing-page .showcase-phone .phone-btn,
body.landing-page .showcase-phone .phone-speaker,
body.landing-page .showcase-phone .phone-notch,
body.landing-page .showcase-phone .phone-status-bar,
body.landing-page .showcase-phone .phone-glare {
  display: none !important;
}

/* Safety section uses the full iPhone chrome mockup from provided markup */
body.landing-page #safety .showcase-phone .phone-btn,
body.landing-page #safety .showcase-phone .phone-speaker,
body.landing-page #safety .showcase-phone .phone-notch,
body.landing-page #safety .showcase-phone .phone-status-bar,
body.landing-page #safety .showcase-phone .phone-glare {
  display: block !important;
}

body.landing-page #safety .showcase-phone .phone-status-bar {
  display: flex !important;
}

body.landing-page #safety .showcase-phone .phone-mockup {
  background: #000000;
  border: 12px solid #08080a;
  border-radius: 50px;
  box-shadow:
    0 0 0 1px #121213,
    0 0 0 4px #2b2b2e,
    0 0 0 5px #151516,
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 0 3px rgba(255, 255, 255, 0.2),
    0 10px 20px rgba(0, 0, 0, 0.45),
    0 25px 55px rgba(0, 0, 0, 0.5),
    0 40px 90px rgba(0, 0, 0, 0.6);
  max-width: 340px;
  padding: 0;
  transform: none;
}

body.landing-page #safety .showcase-phone .phone-mockup::before {
  display: block;
}

body.landing-page #safety .showcase-phone .phone-mockup:hover {
  display: flex;
  transform: perspective(1000px) translateY(-8px) rotateX(4deg) rotateY(-4deg);
}

body.landing-page #safety .showcase-phone .phone-screen {
  border-radius: 38px;
  background:
    radial-gradient(circle at 15% 25%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(139, 92, 246, 0.12) 0%, transparent 40%),
    #060609;
  border: none;
  box-shadow: none;
  min-height: 0;
  flex: 1;
  color: #fff;
}

/* Safety headline: section-title look with readable size */
body.landing-page #safety #safety-heading {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: none;
  color: var(--an-ink);
  margin-bottom: 32px;
}

body.landing-page #safety .benefits-list > p {
  color: var(--an-ink-soft);
  margin: -16px 0 28px;
}

body.landing-page #safety .benefits-list > p a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 768px) {
  body.landing-page #safety #safety-heading {
    font-size: clamp(1.125rem, 4vw, 1.35rem);
  }
}

/* Dark-mode chat canvas inside Safety phone */
body.landing-page #safety .showcase-phone .transcript-area {
  background: transparent;
}

body.landing-page #safety .showcase-phone .transcript-msg.ai {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

body.landing-page #safety .showcase-phone .transcript-msg.user {
  color: #fff;
}

body.landing-page #safety .showcase-phone .typing-indicator {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

body.landing-page #safety .showcase-phone .typing-dot {
  background-color: #fff;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.45);
}

body.landing-page #safety .showcase-phone .chat-date-stamp {
  color: #aeaeb2;
}

body.landing-page #safety .showcase-phone .chat-footer {
  background: rgba(22, 22, 24, 0.85);
  border-top: 0.5px solid rgba(255, 255, 255, 0.12);
}

body.landing-page #safety .showcase-phone .chat-input {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.landing-page #safety .showcase-phone .chat-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

/* Safety section: flat chat panel (legacy) kept below for non-#safety showcases */
body.landing-page .showcase-phone .phone-mockup {
  background: #fff;
  border: 1px solid var(--an-border);
  border-radius: 16px;
  box-shadow: var(--an-shadow-md);
  max-width: 360px;
  margin: 0 auto;
  padding: 0;
  transform: none;
}

body.landing-page .showcase-phone .phone-mockup::before,
body.landing-page .showcase-phone .phone-mockup:hover {
  display: none;
  transform: none;
  box-shadow: none;
}

body.landing-page .showcase-phone .phone-screen {
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--an-border);
  box-shadow: var(--an-shadow-md);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

body.landing-page .showcase-chat-shell .chat-header {
  padding: 16px;
  border-bottom: 1px solid var(--an-border);
  background: #f8fafc;
  display: flex;
  align-items: center;
  gap: 10px;
}

body.landing-page .showcase-chat-shell .chat-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--an-ink);
}

body.landing-page .showcase-chat-shell .chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

body.landing-page .showcase-chat-shell .chat-avatar-ai {
  display: none !important;
}

body.landing-page .showcase-chat-shell .chat-avatar img {
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.landing-page .showcase-chat-shell .transcript-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  padding: 16px;
  background: #fff;
  min-height: 260px;
}

body.landing-page .showcase-chat-shell .transcript-msg {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.45;
  max-width: 82%;
  border-radius: 14px;
}

body.landing-page .showcase-chat-shell .transcript-msg.ai {
  background: #f1f5f9;
  color: var(--an-ink-soft);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

body.landing-page .showcase-chat-shell .transcript-msg.user {
  background: linear-gradient(135deg, var(--an-green-deep), var(--an-teal));
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

body.landing-page .showcase-chat-shell .typing-indicator {
  display: flex;
  gap: 4px;
  padding: 10px 12px;
  background: #f1f5f9;
  border-radius: 14px;
  width: fit-content;
}

body.landing-page .showcase-chat-shell .typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--an-label);
  animation: lpTyping 1s ease-in-out infinite;
}

body.landing-page .showcase-chat-shell .typing-dot:nth-child(2) { animation-delay: 0.15s; }
body.landing-page .showcase-chat-shell .typing-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes lpTyping {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

body.landing-page .showcase-chat-shell .chat-date-stamp {
  font-size: 10px;
  font-weight: 600;
  color: var(--an-label);
  text-align: center;
  margin: 8px 0;
}

body.landing-page .showcase-chat-shell .chat-footer {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--an-border);
  background: #f8fafc;
}

body.landing-page .showcase-chat-shell .chat-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--an-border);
  background: #fff;
  font-size: 13px;
}

body.landing-page .showcase-chat-shell .chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--an-green-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.landing-page .safety-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(8px);
  transition: transform 0.35s var(--an-ease-out-expo), background 0.35s;
}

body.landing-page .safety-card.is-highlight,
body.landing-page .safety-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

/* Impact tabs */
body.landing-page .impact-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

body.landing-page .impact-tab {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--an-border);
  background: var(--an-card);
  color: var(--an-muted);
  cursor: pointer;
  transition: all 0.3s var(--an-ease-out-expo);
}

body.landing-page .impact-tab.active {
  background: linear-gradient(135deg, var(--an-green-deep), var(--an-teal));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.25);
}

body.landing-page .impact-panel {
  background: var(--an-card);
  border: 1px solid var(--an-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--an-shadow-sm);
  transition: opacity 0.4s ease, transform 0.4s var(--an-ease-out-expo);
}

body.landing-page .impact-panel.is-entering {
  animation: lpTabIn 0.45s var(--an-ease-out-expo);
}

@keyframes lpTabIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

body.landing-page .case-metric strong {
  font-variant-numeric: tabular-nums;
  font-size: 2rem;
  color: var(--an-green-deep);
}

/* Integrations marquee */
body.landing-page .emr-marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

body.landing-page .emr-marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: lpMarquee 40s linear infinite;
}

body.landing-page .emr-marquee-wrap:hover .emr-marquee-track {
  animation-play-state: paused;
}

@keyframes lpMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

body.landing-page .emr-tile {
  flex: 0 0 auto;
  min-width: 140px;
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  background: var(--an-card);
  border: 1px solid var(--an-border);
  color: var(--an-muted);
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.3s, opacity 0.3s, transform 0.3s var(--an-ease-out-expo), color 0.3s;
}

body.landing-page .emr-tile:hover,
body.landing-page .emr-tile.is-visible {
  filter: grayscale(0);
  opacity: 1;
  color: var(--an-green-deep);
  transform: translateY(-3px);
}

body.landing-page .emr-grid {
  display: none;
}

/* CTA */
body.landing-page .cta-final {
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, rgba(167, 243, 208, 0.35) 0%, transparent 55%),
    linear-gradient(135deg, #047857 0%, #0d9488 50%, #10b981 100%);
  color: #fff;
  padding: clamp(80px, 12vw, 120px) 0;
  position: relative;
  overflow: hidden;
}

body.landing-page .cta-final h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin: 0 auto 16px;
}

body.landing-page .cta-final .btn-white {
  background: #fff;
  color: var(--an-green-deep);
  font-weight: 700;
}

body.landing-page .cta-illustration {
  display: none;
}

/* Footer */
body.landing-page .footer-premium {
  background: var(--an-ink);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 32px;
}

body.landing-page .footer-premium a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

body.landing-page .footer-premium a:hover {
  color: var(--an-mint);
}

/* Sticky demo */
body.landing-page .sticky-demo {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--an-border);
  box-shadow: var(--an-shadow-lg);
  padding: 6px;
}

body.landing-page .sticky-demo .btn-dark {
  background: var(--an-ink);
  border-radius: 999px;
}

/* Cursor glow enhancement */
body.landing-page.has-cursor-glow .cursor-glow {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, transparent 65%);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  body.landing-page .hero-stage-glow,
  body.landing-page .emr-marquee-track,
  body.landing-page .site-nav-links li,
  body.landing-page .hero-notify-chip,
  body.landing-page .heroDash-frame-sheen {
    animation: none !important;
  }

  body.landing-page .reveal,
  body.landing-page .gsap-reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  body.landing-page #hero-dashboard,
  body.landing-page .hero-stage-landscape {
    transform: none !important;
  }

  body.landing-page .site-nav-links li {
    opacity: 1;
    transform: none;
  }
}

/* Mobile */
@media (max-width: 1023px) {
  body.landing-page .hero-notify-stack {
    display: none;
  }

  body.landing-page #hero-dashboard {
    transform: none;
  }
}

/* Impact quote */
body.landing-page .impact-quote {
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 24px 28px;
  border-left: 4px solid var(--an-green-deep, #0f766e);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0 14px 14px 0;
}

body.landing-page .impact-quote p {
  font-size: 1.1rem;
  line-height: 1.55;
  font-weight: 600;
  color: var(--an-ink, #0f172a);
  margin: 0 0 10px;
}

body.landing-page .impact-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--an-ink-soft, #475569);
}

/* FAQ accordion */
/* Force the FAQ eyebrow onto its own line above the heading. The heading is
   inline-block for the underline effect, so the eyebrow would otherwise sit
   beside it on the centered row. */
body.landing-page #faq .section-header .section-eyebrow {
  display: block;
}

body.landing-page #faq .section-header h2 {
  position: relative;
  display: inline-block;
}

body.landing-page #faq .section-header h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--an-green-deep, #0f766e), #34d399);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}

body.landing-page #faq .section-header.is-done h2::after {
  transform: translateX(-50%) scaleX(1);
}

body.landing-page .faq-acc {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.landing-page .faq-item {
  position: relative;
  background: #fff;
  border: 1px solid #ececf3;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 26px -24px rgba(15, 23, 42, 0.35);
  transition: border-color 0.25s ease, box-shadow 0.3s ease, background 0.25s ease, transform 0.25s ease;
}

body.landing-page .faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--an-green-deep, #0f766e), #34d399);
  opacity: 0;
  transition: opacity 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  body.landing-page .faq-item:hover {
    border-color: rgba(15, 118, 110, 0.28);
    transform: translateY(-1px);
    box-shadow: 0 16px 34px -24px rgba(15, 23, 42, 0.45);
  }
  body.landing-page .faq-item:hover .faq-q {
    color: var(--an-green-deep, #0f766e);
  }
}

body.landing-page .faq-item.open {
  border-color: rgba(15, 118, 110, 0.32);
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.035) 0%, #fff 60%);
  box-shadow: 0 18px 40px -26px rgba(15, 118, 110, 0.45);
}

body.landing-page .faq-item.open::before {
  opacity: 1;
}

body.landing-page .faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--an-ink, #0f172a);
  transition: color 0.2s ease;
}

body.landing-page .faq-q:focus-visible {
  outline: 2px solid var(--an-green-deep, #0f766e);
  outline-offset: -2px;
  border-radius: 12px;
}

body.landing-page .faq-item.open .faq-q {
  color: var(--an-green-deep, #0f766e);
}

body.landing-page .faq-chevron {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--an-label, #64748b);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}

body.landing-page .faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--an-green-deep, #0f766e);
}

/* answer stays in the DOM; grid rows animate 0fr -> 1fr */
body.landing-page .faq-a {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

body.landing-page .faq-a-inner {
  overflow: hidden;
}

body.landing-page .faq-item.open .faq-a {
  grid-template-rows: 1fr;
  opacity: 1;
}

body.landing-page .faq-a-inner p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--an-ink-soft, #475569);
  transform: translateY(-6px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body.landing-page .faq-item.open .faq-a-inner p {
  transform: translateY(0);
}

body.landing-page .faq-item a {
  color: var(--an-green-deep, #0f766e);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  body.landing-page .faq-a,
  body.landing-page .faq-a-inner p,
  body.landing-page .faq-chevron,
  body.landing-page .faq-item,
  body.landing-page #faq .section-header h2::after {
    transition: none !important;
  }
}

/* Footer about + freshness */
body.landing-page .footer-about {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 32px;
  padding-top: 24px;
  max-width: 760px;
}

body.landing-page .footer-about h4 {
  margin: 0 0 10px;
}

body.landing-page .footer-about p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 10px;
}

body.landing-page .footer-about .footer-updated {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}
