/* =========================================================
   HealthyPay — ABA Billing, Simplified landing page
   ========================================================= */

:root {
  --bg: #050708;
  --bg-soft: #0a0f10;
  --cyan: #2be3f2;
  --cyan-dim: #1188b8;
  --navy: #0a3350;
  --amber: #f5a524;
  --cyan-glow: rgba(43, 227, 242, 0.35);
  --white: #ffffff;
  --gray-100: rgba(255, 255, 255, 0.82);
  --gray-300: rgba(255, 255, 255, 0.62);
  --gray-500: rgba(255, 255, 255, 0.4);
  --card-bg: rgba(255, 255, 255, 0.03);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-h: 88px;
  --gutter: clamp(20px, 5vw, 80px);
  --radius-lg: 28px;
  --radius-pill: 999px;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft-spring: cubic-bezier(0.3, 1.2, 0.4, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
svg { width: 100%; height: 100%; display: block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===================== Header ===================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 var(--gutter);
  background: linear-gradient(180deg, rgba(5, 9, 10, 0.85), rgba(5, 9, 10, 0.55));
  backdrop-filter: blur(14px);
}

/* WordPress-only: the admin toolbar is also fixed at the very top when
   logged in, so drop our fixed header below it instead of overlapping it. */
body.admin-bar .site-header {
  top: var(--wp-admin--admin-bar--height, 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: var(--wp-admin--admin-bar--height, 46px);
  }
}

.logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translate(var(--intro-tx, 0px), var(--intro-ty, 0px))
    scale(var(--intro-scale, 1));
  transform-origin: center center;
  display: flex;
  align-items: center;
  z-index: 2;
}

.logo.is-docking {
  transition: transform 0.55s var(--ease-soft-spring);
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 16px var(--cyan-glow));
  position: relative;
  z-index: 1;
}

[data-intro="fast"] .logo {
  animation: logoFadeIn 0.4s ease both;
  animation-delay: 0.05s;
}

@keyframes logoFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Startup FX — the radial glow / ripple / particles that surround the logo
   during the one-time large-logo intro. Purely decorative, inert to input. */

.logo-fx {
  position: absolute;
  inset: -60px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

[data-intro="fast"] .logo-fx { display: none; }

.logo-fx__glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 227, 242, 0.32) 0%, rgba(43, 227, 242, 0.12) 42%, transparent 72%);
  filter: blur(4px);
  opacity: 0;
  animation: glowFade 1.3s ease-in-out both;
  animation-delay: 0.15s;
}

@keyframes glowFade {
  0% { opacity: 0; transform: scale(0.85); }
  30% { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.05); }
}

.logo-fx__ring {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 1px solid rgba(43, 227, 242, 0.55);
  opacity: 0;
  animation: ringPulseOnce 0.9s ease-out both;
  animation-delay: 0.6s;
}

@keyframes ringPulseOnce {
  0% { opacity: 0.6; transform: scale(0.6); }
  100% { opacity: 0; transform: scale(1.8); }
}

.logo-fx__particle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  opacity: 0;
  animation: particleBurst 0.9s ease-out both;
  animation-delay: 0.65s;
}

.logo-fx__particle:nth-of-type(3) { --angle: 0deg; }
.logo-fx__particle:nth-of-type(4) { --angle: 60deg; }
.logo-fx__particle:nth-of-type(5) { --angle: 120deg; }
.logo-fx__particle:nth-of-type(6) { --angle: 180deg; }
.logo-fx__particle:nth-of-type(7) { --angle: 240deg; }
.logo-fx__particle:nth-of-type(8) { --angle: 300deg; }

@keyframes particleBurst {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--angle, 0deg)) translateX(0) scale(0.6); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--angle, 0deg)) translateX(46px) scale(1); }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--gray-100);
  padding-bottom: 10px;
  transition: color 0.2s ease;
}

.nav-link:hover { color: var(--white); }

.nav-link.is-active { color: var(--white); font-weight: 500; }

.nav-dot {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transform: translateX(-50%);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 60;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan);
  border: 1px solid rgba(43, 227, 242, 0.4);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
  background: rgba(43, 227, 242, 0.12);
  border-color: var(--cyan);
  color: var(--white);
}

/* ===================== Hero ===================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: clamp(24px, 6vh, 64px);
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 0%, #0d1720 0%, #050708 55%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.9;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.hero-glow--cyan {
  width: 60px;
  height: 60px;
  left: 28%;
  top: 78%;
  background: var(--cyan);
  opacity: 0.7;
}

.hero-glow--blue {
  width: 90px;
  height: 90px;
  left: 28.5%;
  top: 77.5%;
  background: var(--cyan-dim);
  opacity: 0.45;
}

.hero-title {
  position: relative;
  z-index: 2;
  margin: 0;
  width: 100%;
  text-align: center;
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.04;
  font-size: clamp(2.6rem, min(9.4vw, 13vh), 8.6rem);
  color: var(--white);
  padding: 0 4vw;
  pointer-events: none;
  user-select: none;
  animation: heroTitleIn 0.7s var(--ease-spring) both;
  animation-delay: 1.4s;
}

[data-intro="fast"] .hero-title { animation-delay: 0.05s; animation-duration: 0.45s; }

@keyframes heroTitleIn {
  0% { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Value-first hero content — eyebrow, headline, supporting copy, CTAs, and
   a plain-text capability strip. Everything sits in one centered column so
   comprehension doesn't depend on exploring or clicking anything. */

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  padding: 0 4vw;
}

.hero-eyebrow {
  animation: heroEyebrowIn 0.6s var(--ease-spring) both;
  animation-delay: 1.15s;
}

[data-intro="fast"] .hero-eyebrow { animation-delay: 0.05s; animation-duration: 0.4s; }

@keyframes heroEyebrowIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-title {
  position: relative;
  z-index: 2;
  margin: 0;
  width: 100%;
  text-align: center;
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-size: clamp(2.6rem, min(7.8vw, 10vh), 7rem);
  color: var(--white);
  pointer-events: none;
  user-select: none;
  animation: heroTitleIn 0.7s var(--ease-spring) both;
  animation-delay: 1.4s;
}

[data-intro="fast"] .hero-title { animation-delay: 0.05s; animation-duration: 0.45s; }

@keyframes heroTitleIn {
  0% { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-lede {
  margin: 26px 0 0;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: var(--gray-100);
  max-width: 640px;
  animation: heroLedeIn 0.6s var(--ease-spring) both;
  animation-delay: 1.75s;
}

.hero-subline {
  margin: 10px 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--gray-300);
  animation: heroLedeIn 0.6s var(--ease-spring) both;
  animation-delay: 1.9s;
}

[data-intro="fast"] .hero-lede,
[data-intro="fast"] .hero-subline { animation-delay: 0.1s; animation-duration: 0.4s; }

@keyframes heroLedeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
  animation: heroCtaIn 0.6s var(--ease-spring) both;
  animation-delay: 2.1s;
}

[data-intro="fast"] .hero-ctas { animation-delay: 0.15s; animation-duration: 0.4s; }

@keyframes heroCtaIn {
  0% { opacity: 0; transform: translateY(12px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.capability-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-300);
  animation: heroLedeIn 0.7s var(--ease-spring) both;
  animation-delay: 2.4s;
}

[data-intro="fast"] .capability-strip { animation-delay: 0.2s; animation-duration: 0.4s; }

.capability-strip li + li::before {
  content: '•';
  margin: 0 12px;
  color: var(--gray-500);
}

/* On the homepage hero the scroll-cue joins the staggered intro as its
   final beat, instead of popping in ahead of everything else around it. */
.hero-content .scroll-cue {
  animation: heroLedeIn 0.7s var(--ease-spring) both;
  animation-delay: 2.7s;
}

[data-intro="fast"] .hero-content .scroll-cue { animation-delay: 0.25s; animation-duration: 0.4s; }

.btn-pill {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: rgba(43, 227, 242, 0.1);
  border: 1px solid rgba(43, 227, 242, 0.4);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-pill:hover {
  background: rgba(43, 227, 242, 0.22);
  border-color: var(--cyan);
  transform: translateY(-1px);
}

.btn-pill--lg {
  padding: 14px 34px;
  font-size: 0.95rem;
}

/* ===================== Sections below the fold ===================== */

.section {
  padding: clamp(70px, 10vw, 130px) var(--gutter);
  background: var(--bg);
}

.section--alt { background: var(--bg-soft); }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-inner--narrow { max-width: 720px; }
.section-inner.center { text-align: center; }
.section-inner.center .stat-row,
.section-inner.center { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.section-lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gray-300);
  max-width: 640px;
  margin: 0 0 40px;
}

.section-inner.center .section-lede { margin-left: auto; margin-right: auto; }

.section-lede a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(43, 227, 242, 0.35);
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.section-lede a:hover,
.section-lede a:focus-visible {
  color: var(--white);
  text-decoration-color: currentColor;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(30px, 6vw, 80px);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat strong {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--white);
}

.stat span {
  font-size: 0.85rem;
  color: var(--gray-300);
}

.section-link {
  display: inline-block;
  margin-top: 32px;
  color: var(--cyan);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(43, 227, 242, 0.35);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.section-link:hover,
.section-link:focus-visible {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.section-inner.center .section-link { display: block; width: fit-content; margin-left: auto; margin-right: auto; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-grid + .btn-pill { margin-top: 36px; }

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: var(--cyan-dim);
  transform: translateY(-4px);
}

.feature-card__icon {
  font-size: 1.8rem;
  display: inline-block;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 10px;
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--gray-300);
  margin: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.faq-item summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--cyan);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  margin: 14px 0 0;
  color: var(--gray-300);
  font-size: 0.95rem;
  line-height: 1.6;
}

.site-footer {
  padding: 28px var(--gutter);
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-500);
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===================== Revenue Visualization ===================== */

.section--revenue {
  position: relative;
  overflow: hidden;
}

.section--revenue::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(43, 227, 242, 0.09) 1px, transparent 1.4px);
  background-size: 36px 36px;
  opacity: 0.6;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2) 70%, transparent);
}

.section--revenue .section-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
}

.dashboard {
  margin-top: 56px;
  background: linear-gradient(160deg, rgba(13, 23, 29, 0.85), rgba(6, 12, 16, 0.94));
  border: 1px solid rgba(43, 227, 242, 0.18);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 48px);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dashboard-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-300);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.metric {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-label {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-300);
}

.metric-value {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  color: var(--white);
}

.graph-panel { position: relative; }

.revenue-graph {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.graph-grid line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.graph-area {
  fill: url(#areaFill);
  opacity: 0;
  transition: opacity 1.2s ease 0.3s;
}

.dashboard.is-visible .graph-area { opacity: 1; }

.graph-line {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(43, 227, 242, 0.6));
}

.graph-point {
  fill: #04141c;
  stroke: var(--cyan);
  stroke-width: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.graph-point.is-lit {
  opacity: 1;
  filter: drop-shadow(0 0 5px rgba(43, 227, 242, 0.8));
}

.revenue-popups {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.revenue-popup {
  position: absolute;
  transform: translate(-50%, 10px) scale(0.85);
  opacity: 0;
  background: rgba(6, 14, 18, 0.94);
  border: 1px solid rgba(43, 227, 242, 0.4);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 0 0 rgba(43, 227, 242, 0);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-spring), box-shadow 0.5s ease;
}

.revenue-popup.show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  box-shadow: 0 0 18px rgba(43, 227, 242, 0.35);
}

.revenue-popup.fade {
  opacity: 0;
  transform: translate(-50%, -6px) scale(0.92);
  box-shadow: 0 0 0 rgba(43, 227, 242, 0);
}

/* Claim lifecycle pipeline */

.pipeline { margin-top: 64px; }

.pipeline-title {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--gray-100);
  margin: 0 0 24px;
  text-align: center;
}

.pipeline-track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.pipeline-track > * {
  opacity: 0;
  transform: translateY(10px) rotate(var(--arrow-rot, 0deg));
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.4s ease, background 0.4s ease;
}

.pipeline-track.is-visible > * { opacity: 1; transform: translateY(0) rotate(var(--arrow-rot, 0deg)); }

.pipeline-track > *:nth-child(1) { transition-delay: 0.05s; }
.pipeline-track > *:nth-child(2) { transition-delay: 0.15s; }
.pipeline-track > *:nth-child(3) { transition-delay: 0.25s; }
.pipeline-track > *:nth-child(4) { transition-delay: 0.35s; }
.pipeline-track > *:nth-child(5) { transition-delay: 0.45s; }
.pipeline-track > *:nth-child(6) { transition-delay: 0.55s; }
.pipeline-track > *:nth-child(7) { transition-delay: 0.65s; }
.pipeline-track > *:nth-child(8) { transition-delay: 0.75s; }
.pipeline-track > *:nth-child(9) { transition-delay: 0.85s; }

.pipeline-node {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.82rem;
  color: var(--gray-100);
}

.pipeline-node__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.pipeline-node--success {
  border-color: rgba(43, 227, 242, 0.4);
  background: rgba(43, 227, 242, 0.08);
}

.pipeline-node--denied {
  border-color: rgba(245, 165, 36, 0.4);
}

.pipeline-node--denied .pipeline-node__dot {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(245, 165, 36, 0.7);
}

.pipeline-arrow {
  color: var(--gray-500);
  font-size: 1rem;
}

.pipeline-track--denial.is-resolved .pipeline-node--denied {
  border-color: rgba(255, 255, 255, 0.1);
  opacity: 0.55;
}

.pipeline-track--denial.is-resolved .pipeline-node--denied .pipeline-node__dot {
  background: var(--gray-500);
  box-shadow: none;
}

.pipeline-track--denial.is-resolved .pipeline-node--success {
  animation: nodePulse 1s ease;
}

@keyframes nodePulse {
  0% { box-shadow: 0 0 0 rgba(43, 227, 242, 0.6); }
  60% { box-shadow: 0 0 22px rgba(43, 227, 242, 0.6); }
  100% { box-shadow: 0 0 0 rgba(43, 227, 242, 0); }
}

/* ----- Testimonials: one ambient stage light behind the whole carousel
   (never a per-card spotlight), with a center-focused card that the side
   cards visually recede from. ----- */

.testimonial-stage-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 44px;
}

.testimonial-atmosphere {
  position: absolute;
  inset: -70px -6% -40px;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.testimonial-atmosphere__glow,
.testimonial-atmosphere__core,
.testimonial-atmosphere__bloom {
  position: absolute;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.testimonial-atmosphere__glow {
  top: 58%;
  width: min(86vw, 900px);
  height: 460px;
  background: radial-gradient(ellipse at center,
    rgba(43, 227, 242, 0.16) 0%,
    rgba(43, 227, 242, 0.09) 32%,
    rgba(43, 227, 242, 0.03) 58%,
    rgba(43, 227, 242, 0) 78%);
  filter: blur(70px);
}

.testimonial-atmosphere__core {
  top: 62%;
  width: min(44vw, 440px);
  height: 200px;
  background: radial-gradient(ellipse at center,
    rgba(43, 227, 242, 0.22) 0%,
    rgba(43, 227, 242, 0.1) 45%,
    rgba(43, 227, 242, 0) 78%);
  filter: blur(46px);
  opacity: 1;
}

.testimonial-atmosphere__bloom {
  top: 38%;
  width: min(66vw, 680px);
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(130, 225, 255, 0.05) 0%, transparent 72%);
  filter: blur(90px);
}

.testimonial-atmosphere.is-pulsing .testimonial-atmosphere__core {
  animation: testimonialAtmospherePulse 0.8s ease-out;
}

@keyframes testimonialAtmospherePulse {
  0% { opacity: 0.65; transform: translate(-50%, -50%) scale(0.92); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.testimonial-atmosphere__particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.35;
  animation: testimonialParticleDrift 5s ease-in-out infinite;
}

.testimonial-atmosphere__particle:nth-of-type(2) { animation-delay: 1.1s; }
.testimonial-atmosphere__particle:nth-of-type(3) { animation-delay: 2.2s; }
.testimonial-atmosphere__particle:nth-of-type(4) { animation-delay: 3.3s; }

@keyframes testimonialParticleDrift {
  0%, 100% { transform: translateY(0); opacity: 0.25; }
  50% { transform: translateY(-10px); opacity: 0.55; }
}

.testimonial-atmosphere__line {
  position: absolute;
  left: 8%;
  top: 20%;
  width: 84%;
  height: 55%;
  opacity: 0.12;
}

.testimonial-arrow {
  appearance: none;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--gray-100);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease,
    box-shadow 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

.testimonial-arrow:hover,
.testimonial-arrow:focus-visible {
  border-color: rgba(43, 227, 242, 0.55);
  color: var(--cyan);
  background: rgba(43, 227, 242, 0.1);
  box-shadow: 0 0 18px rgba(43, 227, 242, 0.25);
  transform: scale(1.05);
}

.testimonial-arrow:active { transform: scale(0.95); }

.testimonial-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
  transform: none;
}

.testimonial-stage {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.testimonial-stage.is-dragging { cursor: grabbing; }

.testimonial-tile {
  position: absolute;
  width: min(560px, 78%);
  margin: 0;
  background: linear-gradient(160deg, rgba(16, 29, 36, 0.72), rgba(6, 13, 17, 0.88));
  border: 1px solid rgba(43, 227, 242, 0.14);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.5s ease, box-shadow 0.5s ease;
}

.testimonial-tile::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: linear-gradient(to top, rgba(43, 227, 242, 0.05), transparent);
  pointer-events: none;
}

.testimonial-tile[data-role='active'] {
  transform: translateX(0) scale(1.05);
  opacity: 1;
  z-index: 3;
  border-color: rgba(43, 227, 242, 0.38);
  box-shadow: 0 32px 68px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.testimonial-tile[data-role='prev'] {
  transform: translateX(-68%) scale(0.95);
  opacity: 0.6;
  z-index: 2;
}

.testimonial-tile[data-role='next'] {
  transform: translateX(68%) scale(0.95);
  opacity: 0.6;
  z-index: 2;
}

.testimonial-tile[data-role='hidden'] {
  transform: translateX(0) scale(0.9);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.testimonial-tile__float {
  position: relative;
  padding: 34px 32px 30px;
  animation: testimonialDrift 6.5s ease-in-out infinite;
}

.testimonial-tile[data-role='prev'] .testimonial-tile__float,
.testimonial-tile[data-role='next'] .testimonial-tile__float {
  animation-duration: 7.6s;
  animation-delay: 0.4s;
}

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

.testimonial-tile__floor {
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  width: 62%;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(43, 227, 242, 0.16) 0%, rgba(43, 227, 242, 0.06) 50%, transparent 80%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: -1;
}

.testimonial-tile[data-role='active'] .testimonial-tile__floor { opacity: 1; }

.testimonial-tile__quote {
  position: relative;
  margin: 0;
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--white);
  transition: color 0.4s ease;
}

.testimonial-tile:not([data-role='active']) .testimonial-tile__quote { color: var(--gray-100); }

.testimonial-tile__meta {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 24px;
}

.testimonial-tile__name { font-size: 0.9rem; font-weight: 600; color: var(--cyan); }
.testimonial-tile__role,
.testimonial-tile__practice { font-size: 0.8rem; color: var(--gray-300); }

.testimonial-indicator {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
}

.testimonial-indicator__num {
  appearance: none;
  background: transparent;
  border: none;
  padding: 10px 2px;
  min-height: 44px;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  cursor: pointer;
  transition: color 0.3s ease;
}

.testimonial-indicator__num:hover,
.testimonial-indicator__num:focus-visible { color: var(--gray-100); }
.testimonial-indicator__num.is-active { color: var(--cyan); }

.testimonial-indicator__track {
  position: relative;
  width: 84px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.testimonial-indicator__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--cyan);
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----- KPI reporting panel ----- */

.kpi-panel {
  margin-top: 56px;
  background: linear-gradient(160deg, rgba(13, 23, 29, 0.85), rgba(6, 12, 16, 0.94));
  border: 1px solid rgba(43, 227, 242, 0.18);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 48px);
  backdrop-filter: blur(20px);
}

.kpi-panel__head { max-width: 620px; }

.kpi-panel__head h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 400;
  margin: 0 0 12px;
  color: var(--white);
}

.kpi-panel__head p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--gray-300);
  margin: 0;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin: 32px 0 24px;
}

.kpi-tile {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kpi-tile__label {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-300);
}

.kpi-tile__bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.kpi-tile__bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan-dim), var(--cyan));
}

/* ----- Free billing audit focus areas ----- */

.audit-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
  margin: 40px 0;
}

.audit-focus-item__label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}

.audit-focus-item p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--gray-300);
  margin: 0;
}

.audit-disclaimer {
  display: block;
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ===================== Responsive ===================== */

/* Short-viewport safeguard: wide desktop/tablet windows with limited height
   (e.g. an un-maximized browser) — shrink the width-driven hero title so it
   never crowds the CTAs/capability strip beneath it. Scoped away from phone
   widths, which already use a stacked flow layout below. */
@media (max-height: 1050px) and (min-width: 861px) {
  .hero-title { font-size: clamp(2.2rem, min(7vw, 8vh), 5.4rem); }
}

@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 860px) {
  .nav-list {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    height: 100vh;
    background: #05090a;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 55;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-list.is-open { transform: translateX(0); }

  .nav-toggle { display: flex; }

  .logo {
    position: static;
    justify-self: center;
    transform: translate(var(--intro-tx, 0px), var(--intro-ty, 0px)) scale(var(--intro-scale, 1));
  }

  .logo-fx { inset: -30px; }
  .logo-fx__particle:nth-of-type(n + 6) { display: none; }

  /* A plain flex row with space-between won't truly center the logo here —
     the hamburger toggle and the "Get a Free Audit" pill are very different
     widths, so the middle item just sits wherever that leaves it, visibly
     off-center. A 1fr/auto/1fr grid keeps the two side columns equal width
     regardless of their content, so the logo column is always dead-center. */
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 16px;
  }

  .site-header .nav { justify-self: start; }
  .site-header .header-actions { justify-self: end; }

  .hero {
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 24px;
    justify-content: flex-start;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(2.4rem, 12vw, 4.6rem);
  }

  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-ctas .btn-pill { text-align: center; }

  .capability-strip { row-gap: 8px; }

  .card-grid { grid-template-columns: 1fr; }

  .dashboard-metrics { grid-template-columns: repeat(2, 1fr); }

  .pipeline-track { flex-direction: column; }
  .pipeline-arrow { --arrow-rot: 90deg; }

  .audit-focus-grid { grid-template-columns: 1fr; gap: 28px; }

  .testimonial-tile[data-role='prev'] { transform: translateX(-84%) scale(0.92); opacity: 0.4; }
  .testimonial-tile[data-role='next'] { transform: translateX(84%) scale(0.92); opacity: 0.4; }
  .testimonial-atmosphere__bloom { display: none; }
}

@media (max-width: 560px) {
  :root { --header-h: 72px; }
  .logo-img { height: 46px; }
  .hero-title { font-size: clamp(2.2rem, 12vw, 3.4rem); }
  .stat-row { gap: 24px; }
  .dashboard-metrics { grid-template-columns: 1fr 1fr; }

  .testimonial-stage { min-height: 300px; }
  .testimonial-tile { width: 88%; }
  .testimonial-tile__float { padding: 26px 22px 24px; }
  .testimonial-tile[data-role='prev'] { transform: translateX(-90%) scale(0.9); opacity: 0.3; }
  .testimonial-tile[data-role='next'] { transform: translateX(90%) scale(0.9); opacity: 0.3; }
  .testimonial-atmosphere { inset: -40px -10% -20px; }
  .testimonial-atmosphere__glow { height: 320px; filter: blur(50px); }
  .testimonial-atmosphere__core { height: 150px; filter: blur(34px); }
  .testimonial-atmosphere__particle:nth-of-type(n + 3) { display: none; }
  .testimonial-atmosphere__line { opacity: 0.08; }
}

/* =========================================================
   Pricing page
   ========================================================= */

.btn-pill--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-pill--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-pill:disabled,
.btn-pill.is-loading {
  opacity: 0.7;
  cursor: default;
  pointer-events: none;
}

.btn-pill.is-loading { transform: scale(0.98); }

.fine-print {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* Generic scroll-reveal utility, reused across pricing sections */

[data-reveal] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s var(--ease-spring);
}

[data-reveal].is-visible > * { opacity: 1; transform: translateY(0); }

[data-reveal] > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal] > *:nth-child(2) { transition-delay: 0.15s; }
[data-reveal] > *:nth-child(3) { transition-delay: 0.25s; }
[data-reveal] > *:nth-child(4) { transition-delay: 0.35s; }
[data-reveal] > *:nth-child(5) { transition-delay: 0.45s; }
[data-reveal] > *:nth-child(6) { transition-delay: 0.55s; }
[data-reveal] > *:nth-child(7) { transition-delay: 0.65s; }
[data-reveal] > *:nth-child(8) { transition-delay: 0.75s; }
[data-reveal] > *:nth-child(9) { transition-delay: 0.85s; }

/* Reused dot-grid background treatment for data-flavored sections */

.section--dotbg {
  position: relative;
  overflow: hidden;
}

.section--dotbg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(43, 227, 242, 0.09) 1px, transparent 1.4px);
  background-size: 36px 36px;
  opacity: 0.6;
  pointer-events: none;
}

.section--dotbg .section-inner { position: relative; z-index: 1; }

/* ----- Pricing hero ----- */

.pricing-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
  padding-block: clamp(120px, 18vh, 200px) clamp(60px, 10vh, 100px);
}

.pricing-hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 20px;
}

.pricing-hero__title {
  margin: 18px 0 22px;
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(2.6rem, min(7vw, 9vh), 6.4rem);
  color: var(--white);
}

.pricing-hero__lede {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-300);
  max-width: 620px;
  margin: 0 auto 34px;
}

.pricing-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.pricing-hero__ctas.center { justify-content: center; }

/* Compact hero — used on every secondary page (Pricing, About, Contact) so
   the hero doesn't force a full viewport of empty space above real content. */
.hero--compact {
  min-height: auto;
  padding-block: clamp(120px, 17vh, 160px) clamp(50px, 7vh, 80px);
}

/* Scroll cue — a quiet nudge to keep scrolling, used under a compact hero's
   CTAs on pages where the next section isn't otherwise implied. Also used as
   a real link straight to the contact form on the Contact page. */
.scroll-cue {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gray-300);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

a.scroll-cue { position: relative; z-index: 3; }
a.scroll-cue:hover,
a.scroll-cue:focus-visible { color: var(--white); }
a.scroll-cue:hover .scroll-cue__arrow,
a.scroll-cue:focus-visible .scroll-cue__arrow { color: var(--cyan-dim); }

.scroll-cue__arrow {
  font-size: 3.4rem;
  line-height: 1;
  color: var(--cyan);
  animation: scrollCueBounce 1.8s ease-in-out infinite;
  transition: color 0.2s ease;
}

@keyframes scrollCueBounce {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(12px); opacity: 1; }
}

/* ----- Philosophy ----- */

.philosophy-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.rate-ladder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(43, 227, 242, 0.18);
  border-radius: 24px;
}

.rate-ladder__step {
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
}

.rate-ladder__step--custom {
  color: var(--cyan);
  border-color: rgba(43, 227, 242, 0.45);
  background: rgba(43, 227, 242, 0.08);
}

.rate-ladder__arrow {
  color: var(--cyan);
  font-size: 1.1rem;
}

/* ----- Pricing tiers ----- */

.tier-track {
  margin-top: 48px;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
}

.tier-track .pipeline-arrow {
  align-self: center;
  flex: 0 0 auto;
  padding: 0 6px;
}

.pricing-tier {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: clamp(20px, 2.4vw, 30px) clamp(14px, 1.8vw, 20px);
  background: linear-gradient(160deg, rgba(13, 23, 29, 0.85), rgba(6, 12, 16, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.pricing-tier:hover {
  transform: translateY(-6px);
  border-color: rgba(43, 227, 242, 0.45);
  box-shadow: 0 26px 60px rgba(43, 227, 242, 0.14);
}

.pricing-tier__range {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.pricing-tier__label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-300);
}

.pricing-tier__rate {
  margin: 10px 0 4px;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  text-shadow: 0 0 24px rgba(43, 227, 242, 0.35);
}

.pricing-tier__rate--text {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.pricing-tier__note {
  font-size: 0.82rem;
  color: var(--gray-300);
}

.pricing-tier--custom {
  border-color: rgba(43, 227, 242, 0.3);
  background: linear-gradient(160deg, rgba(13, 30, 34, 0.9), rgba(6, 16, 18, 0.96));
}

.pricing-tier--custom .btn-pill {
  margin-top: 10px;
}

.pricing-tier.is-highlighted {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(43, 227, 242, 0.5), 0 26px 70px rgba(43, 227, 242, 0.35);
  transform: translateY(-6px) scale(1.02);
}

/* ----- Find Your Rate ----- */

.rate-finder-panel {
  margin-top: 44px;
  background: linear-gradient(160deg, rgba(13, 23, 29, 0.85), rgba(6, 12, 16, 0.94));
  border: 1px solid rgba(43, 227, 242, 0.18);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 48px);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.rate-finder-panel__slider-row { margin-bottom: 40px; }

.rate-finder-panel__slider-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 18px;
}

.rate-slider {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(to right, var(--cyan) 0%, var(--cyan) var(--fill, 18%), rgba(255, 255, 255, 0.12) var(--fill, 18%), rgba(255, 255, 255, 0.12) 100%);
  outline: none;
  cursor: pointer;
}

.rate-slider::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  height: 8px;
  border-radius: 999px;
  background: transparent;
}

.rate-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--cyan);
  box-shadow: 0 0 14px rgba(43, 227, 242, 0.75);
  transition: transform 0.2s var(--ease-spring);
}

.rate-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }

.rate-slider::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.rate-slider::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
}

.rate-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--cyan);
  box-shadow: 0 0 14px rgba(43, 227, 242, 0.75);
  cursor: pointer;
}

.rate-slider__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--gray-500);
}

.rate-finder-panel__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rate-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.rate-stat[hidden] { display: none; }

.rate-stat__label {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-300);
}

.rate-stat__value {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--white);
}

.rate-stat--highlight {
  border-color: rgba(43, 227, 242, 0.35);
  background: rgba(43, 227, 242, 0.06);
}

.rate-stat--highlight .rate-stat__value { color: var(--cyan); }

.rate-stat--flash {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(43, 227, 242, 0.5), 0 0 30px rgba(43, 227, 242, 0.3);
}

.rate-value-anim {
  display: inline-block;
  animation: rateValueIn 0.4s var(--ease-spring);
}

@keyframes rateValueIn {
  0% { opacity: 0; transform: translateY(6px) scale(0.9); filter: blur(3px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.rate-finder-panel__custom {
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(43, 227, 242, 0.08);
  border: 1px solid rgba(43, 227, 242, 0.3);
  text-align: center;
}

.rate-finder-panel__custom p {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
}

.rate-finder-panel__disclaimer {
  margin: 24px 0 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--gray-500);
}

/* ----- Flexible pricing ----- */

.flexible-divider {
  width: 60px;
  height: 1px;
  margin: 36px auto;
  background: linear-gradient(to right, transparent, rgba(43, 227, 242, 0.6), transparent);
}

.flexible-subhead {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 500;
  margin: 0 0 14px;
  color: var(--white);
}

/* ----- Assurance grid (No Surprises) ----- */

.assurance-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.assurance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-100);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.assurance-item:hover {
  border-color: rgba(43, 227, 242, 0.4);
  transform: translateY(-3px);
}

.assurance-item__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 227, 242, 0.12);
  border: 1px solid rgba(43, 227, 242, 0.4);
  color: var(--cyan);
  font-size: 1rem;
  font-weight: 700;
}

/* ----- Pricing responsive ----- */

@media (max-width: 900px) {
  .philosophy-grid { grid-template-columns: 1fr; }
  .rate-ladder { max-width: 320px; margin: 0 auto; }

  .tier-track {
    flex-direction: column;
    gap: 14px;
  }

  .tier-track .pipeline-arrow {
    transform: rotate(90deg);
    padding: 2px 0;
  }

  .rate-finder-panel__stats { grid-template-columns: 1fr; }
  .assurance-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .pricing-hero { padding-block: clamp(110px, 22vh, 160px) 60px; }
  .pricing-hero__title { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .pricing-hero__ctas { flex-direction: column; align-items: stretch; }
  .pricing-hero__ctas .btn-pill { text-align: center; }

  .rate-slider::-webkit-slider-thumb { width: 30px; height: 30px; margin-top: -11px; }
  .rate-slider::-moz-range-thumb { width: 30px; height: 30px; }
  .rate-slider { height: 8px; }

  .assurance-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   About page
   ========================================================= */

.center { text-align: center; }

.fine-print {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 18px;
}

.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ----- Requirement chips (Medicaid / ABA sections) ----- */

.req-cloud {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.req-chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-100);
}

.req-chip--code {
  color: var(--cyan);
  border-color: rgba(43, 227, 242, 0.3);
  font-family: 'SFMono-Regular', Consolas, monospace;
}

.req-chip--flagged {
  border-color: rgba(245, 165, 36, 0.55);
  background: rgba(245, 165, 36, 0.1);
  color: var(--amber);
  animation: flagPulse 2.6s ease-in-out infinite;
}

@keyframes flagPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(245, 165, 36, 0); }
  50% { box-shadow: 0 0 16px rgba(245, 165, 36, 0.45); }
}

.req-arrow {
  text-align: center;
  color: var(--cyan);
  font-size: 1.3rem;
  margin: 18px 0;
}

.req-claim-node {
  margin: 0 auto;
  width: max-content;
  padding: 14px 36px;
  border-radius: 16px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(43, 227, 242, 0.1);
  border: 1px solid rgba(43, 227, 242, 0.4);
  box-shadow: 0 0 30px rgba(43, 227, 242, 0.18);
}

.req-cloud--tags { margin-top: 32px; }

/* ----- Notification stack ----- */

.notif-stack {
  margin: 40px auto;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notif-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(160deg, rgba(13, 23, 29, 0.85), rgba(6, 12, 16, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.notif-card:hover {
  border-color: rgba(43, 227, 242, 0.35);
  transform: translateY(-2px);
}

.notif-card__dot {
  width: 9px;
  height: 9px;
  min-width: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.notif-card__dot--amber {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(245, 165, 36, 0.7);
}

.notif-card__body { flex: 1; min-width: 0; }

.notif-card__tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 3px;
}

.notif-card__body p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
}

.notif-card__time {
  font-size: 0.75rem;
  color: var(--gray-500);
  white-space: nowrap;
}

/* ----- Authorization timeline ----- */

.auth-timeline {
  max-width: 640px;
  margin: 40px auto 0;
}

.auth-timeline__months {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gray-300);
  margin-bottom: 8px;
}

.auth-timeline__track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: visible;
}

.auth-timeline__fill {
  position: absolute;
  inset: 0;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(to right, var(--cyan-dim), var(--cyan));
  transition: width 1.2s var(--ease-spring);
}

[data-reveal].is-visible .auth-timeline__fill,
.auth-timeline.is-visible .auth-timeline__fill { width: 82%; }

.auth-timeline__marker {
  position: absolute;
  left: 82%;
  top: -34px;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--amber);
  background: rgba(245, 165, 36, 0.1);
  border: 1px solid rgba(245, 165, 36, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.6s ease 0.8s;
}

[data-reveal].is-visible .auth-timeline__marker,
.auth-timeline.is-visible .auth-timeline__marker { opacity: 1; }

.auth-timeline__label {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-300);
}

.auth-flow { margin: 44px auto 0; max-width: 340px; }

/* ----- Chaos → organized visual ----- */

.chaos-visual {
  position: relative;
  min-height: 340px;
  margin-top: 44px;
}

.chaos-layer {
  position: absolute;
  inset: 0;
  opacity: 1;
  transition: opacity 0.7s ease;
}

[data-reveal-chaos].is-visible .chaos-layer { opacity: 0; pointer-events: none; }

.chaos-item {
  position: absolute;
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-100);
  white-space: nowrap;
}

.chaos-item--muted { color: var(--gray-500); border-style: dashed; }

.organized-layer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transition: opacity 0.7s ease 0.35s;
}

[data-reveal-chaos].is-visible .organized-layer { opacity: 1; }

/* ----- Technology / No AI Slop ----- */

.system-panel {
  margin-top: 8px;
  padding: 32px clamp(20px, 4vw, 40px);
  background: linear-gradient(160deg, rgba(13, 23, 29, 0.85), rgba(6, 12, 16, 0.94));
  border: 1px solid rgba(43, 227, 242, 0.18);
  border-radius: 24px;
  backdrop-filter: blur(18px);
}

.system-panel__title {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 20px;
}

.system-checklist {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.system-checklist__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
}

.system-checklist__icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(43, 227, 242, 0.12);
  border: 1px solid rgba(43, 227, 242, 0.4);
  color: var(--cyan);
}

.system-checklist__item--negative .system-checklist__icon {
  background: rgba(245, 165, 36, 0.1);
  border-color: rgba(245, 165, 36, 0.4);
  color: var(--amber);
}

.system-checklist__item--negative { color: var(--gray-300); }

.system-tag {
  display: inline-block;
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cyan);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(43, 227, 242, 0.4);
  background: rgba(43, 227, 242, 0.06);
}

.system-tag::after {
  content: '_';
  animation: blinkCursor 1s step-end infinite;
}

@keyframes blinkCursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ----- Tech / Human split ----- */

.split-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  margin-top: 8px;
}

.split-column__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.split-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.split-list li {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 0.88rem;
  color: var(--gray-100);
}

.split-hub {
  justify-self: center;
  padding: 20px 26px;
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  background: radial-gradient(circle, rgba(43, 227, 242, 0.18), rgba(6, 12, 16, 0.9));
  border: 1px solid rgba(43, 227, 242, 0.45);
  box-shadow: 0 0 40px rgba(43, 227, 242, 0.22);
}

/* ----- HIPAA ----- */

.hipaa-flow { margin-top: 40px; }

.assurance-grid--six {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
}

/* ----- Modern doesn't mean careless ----- */

.modern-hub-logo {
  display: block;
  height: 46px;
  width: auto;
  margin: 40px auto 0;
  opacity: 0.9;
  filter: drop-shadow(0 0 16px var(--cyan-glow));
}

/* ----- Payer branching ----- */

.payer-branch { margin-top: 40px; }

.payer-branch__source {
  justify-content: center;
  width: max-content;
  margin: 0 auto 28px;
}

.payer-branch__paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.payer-branch__path {
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
}

/* ----- Team ----- */

.team-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.team-card {
  padding: 28px 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.team-card:hover {
  border-color: rgba(43, 227, 242, 0.35);
  transform: translateY(-4px);
}

.team-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(43, 227, 242, 0.1);
  border: 1px solid rgba(43, 227, 242, 0.35);
  color: var(--cyan);
  font-weight: 700;
  font-size: 1.1rem;
}

.team-card__name {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.team-card__role {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-300);
  margin-bottom: 12px;
}

.team-card__bio {
  margin: 0 0 16px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--gray-300);
}

.team-card__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--gray-300);
  font-size: 0.78rem;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.team-card__linkedin:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ----- About page responsive ----- */

@media (max-width: 900px) {
  .split-flow { grid-template-columns: 1fr; }
  .split-hub { width: 140px; margin: 0 auto; }
  .payer-branch__paths { grid-template-columns: 1fr; }
  .assurance-grid--six { grid-template-columns: repeat(2, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .chaos-visual { min-height: 280px; }
  .chaos-item { font-size: 0.72rem; padding: 6px 12px; }
  .team-grid { grid-template-columns: 1fr; }
  .card-grid--3 { grid-template-columns: 1fr; }
  .card-grid--4 { grid-template-columns: 1fr; }
  .assurance-grid--six { grid-template-columns: 1fr 1fr; }
  .payer-branch__path { flex-wrap: wrap; }
}

/* =========================================================
   Contact page
   ========================================================= */

/* ----- Form panel + progress ----- */

.form-panel {
  background: linear-gradient(160deg, rgba(13, 23, 29, 0.85), rgba(6, 12, 16, 0.94));
  border: 1px solid rgba(43, 227, 242, 0.18);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 48px);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.form-progress { margin-bottom: 36px; }

.form-progress__steps {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.form-progress__step {
  flex: 1;
  text-align: center;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.form-progress__step.is-active,
.form-progress__step.is-done { opacity: 1; }

.form-progress__num {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 4px;
}

.form-progress__name {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gray-300);
}

.form-progress__step.is-active .form-progress__name { color: var(--white); }

.form-progress__track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.form-progress__fill {
  height: 100%;
  width: 33.333%;
  border-radius: 999px;
  background: linear-gradient(to right, var(--cyan-dim), var(--cyan));
  transition: width 0.5s var(--ease-spring);
}

/* ----- Honeypot (hidden from real visitors) ----- */

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ----- Form steps ----- */

.form-step {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  display: none;
}

.form-step.is-active {
  display: block;
  animation: stepIn 0.45s var(--ease-spring);
}

@keyframes stepIn {
  0% { opacity: 0; transform: translateX(16px); }
  100% { opacity: 1; transform: translateX(0); }
}

.form-step__legend {
  padding: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 26px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-field label,
.form-field__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-100);
}

.form-field__hint {
  font-weight: 400;
  color: var(--gray-500);
  font-size: 0.78rem;
}

.req { color: var(--amber); }

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-field textarea { resize: vertical; min-height: 100px; }

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--gray-500); }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(43, 227, 242, 0.6);
  box-shadow: 0 0 0 3px rgba(43, 227, 242, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.form-error {
  display: none;
  font-size: 0.78rem;
  color: var(--amber);
}

.form-field.has-error input,
.form-field.has-error textarea { border-color: rgba(245, 165, 36, 0.55); }

.form-field.has-error .form-error { display: block; }

.form-step__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}

/* ----- Pill select (single/multi choice, radio & checkbox reuse) ----- */

.pill-select {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-select__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.pill-select__label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gray-100);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease,
    box-shadow 0.25s ease, transform 0.15s ease;
}

.pill-select__label:hover { border-color: rgba(43, 227, 242, 0.4); }
.pill-select__label:active { transform: scale(0.97); }

.pill-select__input:checked + .pill-select__label {
  border-color: var(--cyan);
  background: rgba(43, 227, 242, 0.12);
  color: var(--white);
  box-shadow: 0 0 16px rgba(43, 227, 242, 0.25);
}

.pill-select__input:focus-visible + .pill-select__label {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.audit-confirm {
  margin: 12px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(43, 227, 242, 0.08);
  border: 1px solid rgba(43, 227, 242, 0.3);
  font-size: 0.85rem;
  color: var(--white);
  animation: stepIn 0.4s var(--ease-spring);
}

/* ----- Card select (Step 3 — bigger, checkmark) ----- */

.card-select {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.card-select__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.card-select__label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gray-100);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease,
    transform 0.2s var(--ease-spring);
}

.card-select__check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  color: transparent;
  transition: all 0.25s ease;
}

.card-select__label:hover { border-color: rgba(43, 227, 242, 0.4); }

.card-select__input:checked + .card-select__label {
  border-color: var(--cyan);
  background: rgba(43, 227, 242, 0.1);
  box-shadow: 0 0 20px rgba(43, 227, 242, 0.2);
  transform: translateY(-2px);
}

.card-select__input:checked + .card-select__label .card-select__check {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #06202f;
}

.card-select__input:focus-visible + .card-select__label {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ----- HIPAA notice ----- */

.hipaa-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 28px 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hipaa-notice__icon { font-size: 1.15rem; line-height: 1; }

.hipaa-notice p {
  margin: 0 0 6px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--gray-300);
}

.hipaa-notice p:last-child { margin-bottom: 0; }

/* ----- Success / failure states ----- */

.form-success,
.form-failure {
  text-align: center;
  padding: 12px 0;
}

.form-success__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(43, 227, 242, 0.12);
  border: 1px solid rgba(43, 227, 242, 0.4);
  color: var(--cyan);
  font-size: 1.8rem;
  margin-bottom: 20px;
  animation: successPop 0.5s var(--ease-spring);
}

@keyframes successPop {
  0% { opacity: 0; transform: scale(0.5); }
  100% { opacity: 1; transform: scale(1); }
}

.form-success h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  margin: 0 0 12px;
  color: var(--white);
}

.form-success p { color: var(--gray-300); margin: 0 0 8px; }
.form-success__audit { color: var(--cyan); font-weight: 500; }

.form-failure p { color: var(--gray-300); margin: 0 0 20px; }
.form-failure a { color: var(--cyan); }

/* ----- Submit data-pulse ----- */

.submit-pulse-dot {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  transform: translate(-50%, -50%);
  opacity: 1;
  pointer-events: none;
  z-index: 999;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
}

/* ----- Free audit scan list ----- */

.scan-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 32px;
}

.scan-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: border-color 0.4s ease;
}

.scan-item__label { font-size: 0.92rem; font-weight: 600; color: var(--white); }

.scan-item__status {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gray-500);
  transition: color 0.3s ease;
}

.scan-item.is-reviewing { border-color: rgba(43, 227, 242, 0.35); }
.scan-item.is-reviewing .scan-item__status { color: var(--cyan); }

.scan-item.is-identified { border-color: rgba(245, 165, 36, 0.35); }
.scan-item.is-identified .scan-item__status { color: var(--amber); }

.scan-item.is-clear { border-color: rgba(43, 227, 242, 0.18); }
.scan-item.is-clear .scan-item__status { color: var(--cyan-dim); }

/* ----- Direct contact ----- */

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  position: relative;
  z-index: 3;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  padding: 26px 20px;
  background: linear-gradient(160deg, rgba(16, 29, 36, 0.75), rgba(6, 13, 17, 0.88));
  border: 1px solid rgba(43, 227, 242, 0.2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
  border-color: rgba(43, 227, 242, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact-info-card__label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.contact-info-card__value { font-size: 1.05rem; font-weight: 600; color: var(--white); }
.contact-info-card__value--placeholder { color: var(--gray-300); }

.contact-info-card__note {
  font-size: 0.72rem;
  font-style: italic;
  color: var(--gray-500);
}

/* ----- Contact page responsive ----- */

@media (max-width: 700px) {
  .card-select { grid-template-columns: repeat(2, 1fr); }
  .contact-info-grid { grid-template-columns: 1fr; }
  .form-progress__name { font-size: 0.62rem; }
}

@media (max-width: 480px) {
  .card-select { grid-template-columns: 1fr; }
  .pill-select__label { font-size: 0.8rem; padding: 9px 14px; }
  .form-step__actions { flex-wrap: wrap; }
  .form-step__actions .btn-pill { flex: 1; text-align: center; }
}
