:root {
  --ink: #16111f;
  --muted: #5c5668;
  --paper: #f6f4f8;
  --line: #e4deea;
  --white: #ffffff;
  --purple: #7c3aed;
  --pink: #ec4899;
  --maroon: #8b1e3f;
  --orange: #d97706;
  --green: #15803d;
  --navy: #1f1630;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
}

a { color: var(--purple); }
img, svg { display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 12px; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 12px; }

.shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.shell.wide { width: min(1240px, calc(100% - 24px)); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lead { color: var(--muted); font-size: 1.05rem; max-width: 42rem; }
.slogan {
  margin: -4px 0 18px;
  color: var(--pink);
  font-weight: 700;
  font-size: 1.15rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
}
.brand img { width: 36px; height: 36px; flex: 0 0 36px; }
.brand small { display: block; font-size: 0.72rem; font-weight: 600; color: var(--muted); }
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 16px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.nav-links a.is-active { color: var(--ink); }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 0;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--purple); color: #fff; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }

.hero {
  padding: 64px 0 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.12), transparent 28%),
    linear-gradient(180deg, #efe7ff 0%, var(--paper) 78%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding-bottom: 48px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.count-band {
  width: 100%;
  padding: 28px 0;
  background: #e8edf3;
}
.count-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.count-grid article {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  padding: 20px 16px;
  color: var(--ink);
  text-align: center;
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 28px rgba(15, 23, 42, 0.06);
}
.count-grid p {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 6px;
}
.count-grid strong { font-size: 2rem; letter-spacing: -0.04em; }
.count-grid small { font-size: 1.2rem; font-weight: 800; }
.count-grid .delta { color: #15803d; font-size: 0.85rem; font-weight: 700; }
.count-grid em { color: var(--muted); font-style: normal; font-size: 0.9rem; }

.rise > * {
  animation: rise-in 0.7s ease both;
}
.rise > *:nth-child(1) { animation-delay: 0.05s; }
.rise > *:nth-child(2) { animation-delay: 0.15s; }
.rise > *:nth-child(3) { animation-delay: 0.25s; }
.rise > *:nth-child(4) { animation-delay: 0.35s; }
.rise > *:nth-child(5) { animation-delay: 0.45s; }
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.hero-slider { position: relative; }
.hero-slides {
  position: relative;
  min-height: 480px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  pointer-events: none;
}
.hero-slide.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.hero-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: #d4cce0;
  cursor: pointer;
}
.hero-dots button.is-on { background: var(--purple); width: 22px; border-radius: 99px; }

.hero-panel {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 24px;
  min-height: 420px;
}
.panel-title {
  margin: 0 0 16px;
  color: #d8b4fe;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.path { list-style: none; margin: 0; padding: 0; }
.path li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.path li:last-child { border-bottom: 0; }
.path span {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(124, 58, 237, 0.35);
  color: #f5d0fe;
  font-size: 0.75rem;
  font-weight: 800;
}
.path strong { font-size: 1rem; }
.path em { color: #c4b5fd; font-style: normal; font-size: 0.85rem; }

.hero-stage {
  position: relative;
  min-height: 460px;
}
.slide-card {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 18px 40px rgba(28, 23, 46, 0.1);
  border: 1px solid #efeaf6;
  min-width: 200px;
  animation: floaty 7s ease-in-out infinite;
}
.slide-card p { margin: 0 0 6px; color: #9a93a8; font-size: 0.75rem; font-weight: 700; }
.slide-card strong { font-size: 1.8rem; letter-spacing: -0.04em; }
.slide-card .up { color: #15803d; font-size: 0.78rem; font-weight: 700; }
.slide-card .mood {
  height: 8px;
  border-radius: 99px;
  margin: 8px 0;
  background: linear-gradient(90deg, #fecaca, #fdba74, #86efac);
}
.c1 { top: 0; right: 8%; animation-delay: 0s; }
.c2 { top: 78px; left: 4%; animation-delay: 0.6s; }
.c3 {
  top: 176px;
  right: 6%;
  background: #ff7a6a;
  color: #fff;
  border: 0;
  animation-delay: 1.1s;
}
.c3 p, .c3 span { color: rgba(255,255,255,0.85); }
.c4 { bottom: 92px; left: 8%; animation-delay: 1.6s; }
.c5 { bottom: 8px; right: 10%; width: 220px; animation-delay: 2s; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 52px; }
.bars i {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #c4b5fd, #7c3aed);
}
.bars i:nth-child(1) { height: 30%; }
.bars i:nth-child(2) { height: 48%; }
.bars i:nth-child(3) { height: 38%; }
.bars i:nth-child(4) { height: 72%; }
.bars i:nth-child(5) { height: 54%; }
.bars i:nth-child(6) { height: 88%; }
.bars i:nth-child(7) { height: 64%; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.block { padding: 80px 0; }
.block-head { margin-bottom: 32px; max-width: 46rem; }
.stats-block { padding-top: 24px; }

.flips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  perspective: 1000px;
}
.flip {
  height: 210px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}
.flip-inner {
  position: relative;
  display: block;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}
.flip:hover .flip-inner,
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--purple);
  border-radius: 16px;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 28px rgba(28, 23, 46, 0.05);
}
.flip-face svg {
  width: 28px;
  height: 28px;
  stroke: var(--purple);
  fill: none;
  stroke-width: 1.7;
  margin-bottom: 10px;
}
.flip-face strong { font-size: 2.1rem; letter-spacing: -0.04em; }
.flip-face em { color: var(--muted); font-style: normal; font-weight: 600; }
.flip-back {
  transform: rotateY(180deg);
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.5;
}

.strip { background: #fff; border-block: 1px solid var(--line); overflow: hidden; }
.marquee { padding: 16px 0; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: slide 32s linear infinite;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
}
.partner { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.lg {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  font-style: normal;
}
.lg.ws { background: #0f766e; }
.lg.wh { background: #1d4ed8; font-size: 0.55rem; }
.lg.ghl { background: #f59e0b; color: #1f1630; }
.lg.hs { background: #f97316; }
.lg.kp { background: #15803d; }
.lg.ax { background: #334155; }
.lg.sf { background: #0ea5e9; }
.lg.tb { background: #e11d48; }
.lg.fb { background: #2563eb; }
.lg.tt { background: #111018; }
.lg.ak { background: #7c3aed; }
.lg.jf { background: #f43f5e; }
.lg.ct { background: #0f766e; }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.feature-grid,
.comp-grid,
.plans,
.orch-caps {
  display: grid;
  gap: 14px;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.comp-grid { grid-template-columns: repeat(3, 1fr); }
.feature-grid article,
.comp-grid article,
.plans article,
.orch-caps article,
form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.feature-grid p,
.comp-grid p,
.plans p,
.orch-caps p { color: var(--muted); margin: 0; }
.ico {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: #efe7ff;
  color: var(--purple);
  font-weight: 800;
}

.orch { background: #fbf8ff; border-block: 1px solid var(--line); }
.orch-caps { grid-template-columns: repeat(6, 1fr); margin-bottom: 28px; }
.orch-caps article {
  background: rgba(255, 255, 255, 0.86);
  padding: 22px 16px 18px;
  box-shadow: 0 10px 28px rgba(28, 23, 46, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.orch-caps article:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(28, 23, 46, 0.08);
}
.orch-caps h3 { font-size: 0.98rem; margin-bottom: 8px; }
.cap-ico {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f4edff, #efe7ff);
  color: var(--purple);
}
.orch-caps svg,
.cap-ico svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.alf-map {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 18px;
  align-items: stretch;
}
.alf-board { display: grid; gap: 18px; }
.alf-lane {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.alf-hub,
.alf-node {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(125, 211, 252, 0.7);
  border-radius: 14px;
  padding: 12px;
  font-size: 0.84rem;
  line-height: 1.45;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(28, 23, 46, 0.05);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
}
.alf-hub svg,
.alf-node svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.alf-hub {
  flex: 0 0 168px;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  gap: 8px;
}
.alf-hub svg { width: 26px; height: 26px; }
.alf-node { flex: 1; min-width: 0; min-height: 92px; }
.alf-flip {
  position: relative;
  overflow: hidden;
  height: 92px;
  max-height: 92px;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.alf-flip-front,
.alf-flip-back {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  transition: opacity 0.28s ease;
}
.alf-flip-back {
  opacity: 0;
  font-size: 0.78rem;
  line-height: 1.35;
}
.alf-flip.is-flipped .alf-flip-front { opacity: 0; }
.alf-flip.is-flipped .alf-flip-back { opacity: 1; }
.alf-hub.crm { background: rgba(253, 232, 238, 0.88); color: #9f1239; border-color: #fda4af; }
.alf-hub.idn { background: rgba(243, 232, 255, 0.88); color: #6b21a8; border-color: #d8b4fe; }
.alf-hub.ad { background: rgba(255, 247, 237, 0.9); color: #c2410c; border-color: #fdba74; }
.alf-hub.web { background: rgba(236, 253, 245, 0.9); color: #047857; border-color: #6ee7b7; }
.alf-line {
  flex: 0 0 22px;
  align-self: center;
  height: 2px;
  margin: 0 4px;
  background: #38bdf8;
  transform: scaleX(0);
  transform-origin: left;
}
.orch.is-live .alf-hub,
.orch.is-live .alf-node,
.orch.is-live .hipaa-rail,
.orch.is-live .orch-caps article {
  animation: node-in 0.55s ease forwards;
}
.orch.is-live .alf-line { animation: draw-line 0.45s ease forwards; }
.orch.is-live .orch-caps article:nth-child(1) { animation-delay: 0.05s; }
.orch.is-live .orch-caps article:nth-child(2) { animation-delay: 0.12s; }
.orch.is-live .orch-caps article:nth-child(3) { animation-delay: 0.19s; }
.orch.is-live .orch-caps article:nth-child(4) { animation-delay: 0.26s; }
.orch.is-live .orch-caps article:nth-child(5) { animation-delay: 0.33s; }
.orch.is-live .orch-caps article:nth-child(6) { animation-delay: 0.4s; }
.orch.is-live .alf-lane:nth-child(1) > *:nth-child(1) { animation-delay: 0.15s; }
.orch.is-live .alf-lane:nth-child(1) > *:nth-child(2) { animation-delay: 0.28s; }
.orch.is-live .alf-lane:nth-child(1) > *:nth-child(3) { animation-delay: 0.36s; }
.orch.is-live .alf-lane:nth-child(1) > *:nth-child(4) { animation-delay: 0.46s; }
.orch.is-live .alf-lane:nth-child(1) > *:nth-child(5) { animation-delay: 0.54s; }
.orch.is-live .alf-lane:nth-child(1) > *:nth-child(6) { animation-delay: 0.64s; }
.orch.is-live .alf-lane:nth-child(1) > *:nth-child(7) { animation-delay: 0.72s; }
.orch.is-live .alf-lane:nth-child(1) > *:nth-child(8) { animation-delay: 0.82s; }
.orch.is-live .alf-lane:nth-child(1) > *:nth-child(9) { animation-delay: 0.9s; }
.orch.is-live .alf-lane:nth-child(2) > *:nth-child(1) { animation-delay: 0.35s; }
.orch.is-live .alf-lane:nth-child(2) > *:nth-child(2) { animation-delay: 0.48s; }
.orch.is-live .alf-lane:nth-child(2) > *:nth-child(3) { animation-delay: 0.56s; }
.orch.is-live .alf-lane:nth-child(2) > *:nth-child(4) { animation-delay: 0.66s; }
.orch.is-live .alf-lane:nth-child(2) > *:nth-child(5) { animation-delay: 0.74s; }
.orch.is-live .alf-lane:nth-child(2) > *:nth-child(6) { animation-delay: 0.84s; }
.orch.is-live .alf-lane:nth-child(2) > *:nth-child(7) { animation-delay: 0.92s; }
.orch.is-live .alf-lane:nth-child(3) > *:nth-child(1) { animation-delay: 0.55s; }
.orch.is-live .alf-lane:nth-child(3) > *:nth-child(2) { animation-delay: 0.68s; }
.orch.is-live .alf-lane:nth-child(3) > *:nth-child(3) { animation-delay: 0.76s; }
.orch.is-live .alf-lane:nth-child(3) > *:nth-child(4) { animation-delay: 0.86s; }
.orch.is-live .alf-lane:nth-child(3) > *:nth-child(5) { animation-delay: 0.94s; }
.orch.is-live .alf-lane:nth-child(4) > *:nth-child(1) { animation-delay: 0.7s; }
.orch.is-live .alf-lane:nth-child(4) > *:nth-child(2) { animation-delay: 0.82s; }
.orch.is-live .alf-lane:nth-child(4) > *:nth-child(3) { animation-delay: 0.9s; }
.orch.is-live .alf-lane:nth-child(4) > *:nth-child(4) { animation-delay: 1s; }
.orch.is-live .alf-lane:nth-child(4) > *:nth-child(5) { animation-delay: 1.08s; }
.orch.is-live .alf-lane:nth-child(4) > *:nth-child(6) { animation-delay: 1.16s; }
.orch.is-live .alf-lane:nth-child(4) > *:nth-child(7) { animation-delay: 1.24s; }
.orch.is-live .alf-lane:nth-child(4) > *:nth-child(8) { animation-delay: 1.32s; }
.orch.is-live .alf-lane:nth-child(4) > *:nth-child(9) { animation-delay: 1.4s; }
.orch.is-live .hipaa-rail { animation-delay: 0.5s; }
.orch-caps article { opacity: 0; transform: translateY(12px); }
@keyframes node-in {
  to { opacity: 1; transform: none; }
}
@keyframes draw-line {
  to { transform: scaleX(1); }
}
.hipaa-rail {
  background: #fff;
  color: var(--ink);
  border: 1px solid #7dd3fc;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 8px 20px rgba(28, 23, 46, 0.04);
  opacity: 0;
  transform: translateY(14px);
}
.hipaa-rail h3 { color: var(--purple); }
.hipaa-rail ul { list-style: none; margin: 0; padding: 0; }
.hipaa-rail li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink);
}
.hipaa-rail li:last-child { border-bottom: 0; }

.plans { grid-template-columns: repeat(2, 1fr); }
.plans article { display: flex; flex-direction: column; color: var(--ink); }
.price { font-size: 2.2rem; font-weight: 800; color: var(--ink); margin: 8px 0; }
.price span { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.plans ul { padding-left: 18px; margin: 12px 0 20px; flex: 1; color: var(--muted); }
.plans .btn { width: 100%; }
.plans article.featured {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--purple);
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.12);
}
.plans article.featured,
.plans article.featured h3,
.plans article.featured p,
.plans article.featured li,
.plans article.featured .price {
  color: var(--ink);
}
.plans article.featured .price span,
.plans article.featured p,
.plans article.featured li { color: var(--muted); }
.badge {
  display: inline-block;
  width: fit-content;
  margin: 0 0 8px;
  background: var(--purple);
  color: #fff;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plans article.featured .badge { color: #fff; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}
form { display: grid; gap: 12px; }
label { font-size: 0.85rem; font-weight: 700; }
input, select, textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: #fcfbfe;
}
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.success { color: #047857; font-weight: 700; }
.success.is-thanks {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(236, 253, 245, 0.95);
  border: 1px solid #6ee7b7;
  line-height: 1.5;
}
#contact-form.is-locked {
  opacity: 0.72;
  pointer-events: none;
}
#contact-form.is-submitting {
  opacity: 0.85;
  pointer-events: none;
}
input.hp-field {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.footer {
  background: #111827;
  color: #cbd5e1;
  padding: 48px 0 20px;
}
.footer h3 {
  color: #f8fafc;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.footer a { color: #e2e8f0; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer p { margin: 0 0 8px; font-size: 0.92rem; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-bottom: 28px;
}
.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 16px 0 8px;
  border-top: 1px solid #334155;
  font-size: 0.85rem;
}
.footer-base p { margin: 0; color: #94a3b8; }
.copy-short { display: none; }
.powered {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-weight: 700;
}
.powered img {
  height: 22px;
  width: auto;
  background: #fff;
  border-radius: 4px;
  padding: 3px;
}

.alf-chat {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.alf-chat.is-open .chat-fab,
.alf-chat.is-min .chat-fab { display: none; }
.chat-dock { display: none; }
.alf-chat.is-min .chat-dock {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(380px, calc(100vw - 32px));
  padding: 10px 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, #5b21b6, #7c3aed);
  color: #fff;
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.35);
}
.chat-dock-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.chat-dock-copy { min-width: 0; }
.chat-dock-copy strong,
.chat-dock-copy small { display: block; }
.chat-dock-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #efe7ff;
  font-size: 0.75rem;
}
.chat-fab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
  background: var(--purple);
  color: #fff;
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.35);
  cursor: pointer;
}
.chat-fab-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #6d28d9;
  display: grid;
  place-items: center;
}
.chat-fab-icon svg { width: 34px; height: 34px; }
.chat-fab-copy { text-align: left; line-height: 1.15; }
.chat-fab-copy strong { display: block; font-size: 0.95rem; }
.chat-fab-copy small { color: #efe7ff; font-size: 0.72rem; }
.chat-tools {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
}
.chat-panel {
  width: min(380px, calc(100vw - 32px));
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(28, 23, 46, 0.22);
  overflow: hidden;
}
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 14px 16px;
  background: linear-gradient(135deg, #5b21b6, #7c3aed);
  color: #fff;
}
.chat-agent { display: flex; align-items: center; gap: 10px; min-width: 0; }
.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  display: grid;
  place-items: center;
}
.chat-avatar svg { width: 22px; height: 22px; }
.chat-head strong { display: block; font-size: 0.98rem; }
.chat-head p { margin: 3px 0 0; color: #efe7ff; font-size: 0.75rem; }
.chat-online {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 0 3px rgba(134, 239, 172, 0.2);
  vertical-align: middle;
}
.chat-tool {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.chat-tool:hover { background: rgba(255, 255, 255, 0.24); }
.chat-tool svg { width: 18px; height: 18px; }
.chat-note {
  margin: 0;
  padding: 8px 16px;
  background: #f8f5ff;
  color: var(--muted);
  font-size: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.chat-log { max-height: 240px; overflow: auto; padding: 12px 16px; display: grid; gap: 8px; }
.chat-msg { padding: 8px 10px; border-radius: 12px; font-size: 0.88rem; }
.chat-msg.bot { background: #f4f0fb; }
.chat-msg.user { background: #7c3aed; color: #fff; justify-self: end; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.chat-chips button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.75rem;
  cursor: pointer;
}
.chat-panel form { display: flex; gap: 8px; padding: 12px 16px 16px; border: 0; box-shadow: none; }
.chat-panel input { margin: 0; }

.reviews-band {
  width: 100%;
  padding: 88px 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(192, 132, 252, 0.22), transparent 36%),
    radial-gradient(circle at 88% 80%, rgba(236, 72, 153, 0.16), transparent 32%),
    linear-gradient(135deg, #1f1630 0%, #3b1d6e 52%, #1e1b4b 100%);
  color: #fff;
}
.reviews-band .block-head { margin-inline: auto; }
.reviews-band .eyebrow { color: #e9d5ff; }
.reviews-band h2 { color: #fff; }
.review-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
.review-viewport {
  position: relative;
  min-height: 320px;
}
.review-card {
  position: absolute;
  inset: 0;
  width: 100%;
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}
.review-card.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.review-arrow {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.review-arrow:hover { background: rgba(255, 255, 255, 0.28); }
.review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.review-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
.review-dots button.is-on { background: #fff; }
.review-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.review-g {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #4285f4;
  font-weight: 800;
  font-size: 1.2rem;
}
.review-head strong { display: block; font-size: 1.15rem; }
.review-head p { margin: 4px 0 0; color: var(--muted); font-size: 0.85rem; }
.stars { color: #fbbc04; letter-spacing: 2px; font-size: 1rem; }
.review-card blockquote { margin: 0; padding: 20px 22px 22px; }
.reviewer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.reviewer-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #efe7ff;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 800;
}
.reviewer strong { display: block; }
.reviewer p { margin: 2px 0 0; color: var(--muted); font-size: 0.78rem; }
.review-card blockquote > p { color: var(--ink); }
.review-source { margin: 12px 0 0; color: var(--muted); font-size: 0.78rem; }

.legal { padding: 48px 0 80px; }
.legal .shell { max-width: 800px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 28px; }
.legal p, .legal li { color: var(--muted); }

@media (max-width: 1100px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 0.82rem; }
  .count-grid,
  .flips,
  .feature-grid,
  .comp-grid { grid-template-columns: repeat(2, 1fr); }
  .orch-caps { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .topbar-inner { min-height: 64px; gap: 10px; }
  .menu-btn { display: inline-flex; }
  .nav-wrap {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(28, 23, 46, 0.08);
  }
  .topbar.is-open .nav-wrap { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-wrap .btn-primary { width: 100%; margin-top: 8px; }
  .brand span { font-size: 0.92rem; line-height: 1.2; }
  .brand small { display: none; }

  .hero { padding-top: 28px; }
  .hero-grid {
    grid-template-columns: 1fr;
    padding-bottom: 20px;
    gap: 22px;
  }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-slides { min-height: 0; }
  .hero-slide {
    position: relative;
    inset: auto;
    height: 0;
    overflow: hidden;
    transform: none;
  }
  .hero-slide.is-on { height: auto; overflow: visible; }
  .hero-stage {
    min-height: 0;
    display: grid;
    gap: 12px;
  }
  .hero-panel { min-height: 0; }
  .slide-card {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    min-width: 0;
    width: 86%;
    animation: none;
  }
  .c1 { margin-left: auto; }
  .c2 { margin-right: auto; }
  .c3 { margin-left: 6%; width: 88%; }
  .c4 { margin-right: auto; }
  .c5 { margin-left: auto; width: 72%; }
  h1 { font-size: 2rem; }
  .lead { font-size: 0.98rem; }
  .block { padding: 48px 0; }
  .block-head { margin-bottom: 20px; }

  .count-grid,
  .flips,
  .feature-grid,
  .comp-grid,
  .orch-caps,
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .alf-map,
  .alf-lane,
  .contact-grid,
  .two,
  .plans { grid-template-columns: 1fr; }
  .flip { height: 170px; }
  .feature-grid article,
  .comp-grid article,
  .orch-caps article,
  .plans article { padding: 16px; }
  .count-grid article { padding: 14px 10px; }
  .count-grid strong { font-size: 1.45rem; }
  .count-grid small { font-size: 1rem; }
  .alf-lane {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
  }
  .alf-hub { flex: 1 1 100%; min-height: 72px; }
  .alf-node { flex: 1 1 100%; min-height: 72px; }
  .alf-flip { height: 72px; max-height: 72px; }
  .alf-line { display: none; }
  .review-slider { grid-template-columns: 1fr; }
  .review-arrow { position: absolute; z-index: 2; top: 46%; }
  #review-prev { left: 6px; }
  #review-next { right: 6px; }
  .review-viewport { min-height: 320px; }
  .reviewer { grid-template-columns: auto 1fr; }
  .reviewer .stars { grid-column: 2; }
  .alf-chat {
    right: 12px;
    bottom: 12px;
  }
  .chat-fab-copy { display: none; }
  .chat-fab {
    padding: 2px;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
  }
  .chat-fab-icon { width: 28px; height: 28px; }
  .chat-fab-icon svg { width: 18px; height: 18px; }
  .footer {
    padding: 22px 0 12px;
    overflow: visible;
  }
  .footer h3 { font-size: 0.8rem; margin-bottom: 8px; }
  .footer p { margin: 0 0 5px; font-size: 0.78rem; overflow-wrap: anywhere; }
  .footer-grid { padding-bottom: 10px; gap: 14px 12px; }
  .footer-base {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 32px;
    padding: 8px 40px 0 0;
  }
  .footer-base p {
    font-size: 0.65rem;
    white-space: nowrap;
  }
  .copy-extra,
  .copy-name,
  .powered-name { display: none; }
  .copy-short { display: inline; }
  .powered { font-size: 0.65rem; white-space: nowrap; }
  .powered img { height: 14px; padding: 1px; }
}

@media (max-width: 640px) {
  .count-grid,
  .flips,
  .feature-grid,
  .comp-grid,
  .orch-caps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shell,
  .shell.wide { width: calc(100% - 24px); }
  .chat-panel,
  .alf-chat.is-min .chat-dock { width: min(360px, calc(100vw - 24px)); }
}

@media (prefers-reduced-motion: reduce) {
  .slide-card, .marquee-track, .flip-inner, .rise > *, .hero-slide, .review-card, .alf-hub, .alf-node, .alf-line, .hipaa-rail, .orch-caps article { animation: none; transition: none; }
  .orch .alf-hub, .orch .alf-node, .orch .hipaa-rail, .orch .orch-caps article { opacity: 1; transform: none; }
  .orch .alf-line { transform: none; }
  .reveal { opacity: 1; transform: none; }
}
