.brand-logo {
  width: min(230px, 54vw);
  height: auto;
}

.navbar-toggler {
  border-color: var(--sc-gray-300);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(30, 91, 255, 0.16);
}

.navbar .btn svg,
.btn svg {
  width: 1.08rem;
  height: 1.08rem;
  stroke-width: 2.2;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  color: var(--sc-white);
  background:
    linear-gradient(115deg, rgba(11, 29, 58, 0.98) 0%, rgba(11, 29, 58, 0.92) 48%, rgba(30, 91, 255, 0.84) 100%),
    radial-gradient(circle at 78% 22%, rgba(125, 182, 255, 0.28), transparent 24rem),
    radial-gradient(circle at 18% 82%, rgba(32, 183, 166, 0.16), transparent 22rem),
    var(--sc-navy);
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.65), transparent 78%);
}

.hero-shell::after {
  content: "";
  position: absolute;
  right: 6vw;
  top: 16%;
  width: min(28rem, 45vw);
  height: min(28rem, 45vw);
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 1.05rem,
      rgba(255, 255, 255, 0.26) 1.05rem 1.22rem,
      transparent 1.22rem 1.9rem
    );
  border-radius: 50%;
  opacity: 0.22;
}

.hero-shell h1,
.hero-shell .lead,
.hero-shell .sc-kicker {
  color: var(--sc-white);
}

.hero-shell .lead,
.hero-shell .sc-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.hero-shell .sc-eyebrow {
  color: var(--sc-sky);
}

.hero-shell .btn-outline-primary {
  --bs-btn-color: var(--sc-white);
  --bs-btn-border-color: rgba(255, 255, 255, 0.46);
  --bs-btn-hover-color: var(--sc-navy);
  --bs-btn-hover-bg: var(--sc-white);
  --bs-btn-hover-border-color: var(--sc-white);
}

.hero-shell .container {
  position: relative;
  z-index: 1;
}

.hero-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 680px;
  margin-top: 2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
}

.hero-proof-strip div {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-proof-strip strong,
.hero-proof-strip span {
  display: block;
}

.hero-proof-strip strong {
  color: var(--sc-white);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.1;
}

.hero-proof-strip span {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.hero-panel {
  position: relative;
  padding: clamp(1rem, 2vw, 1.35rem);
  color: var(--sc-navy);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 0.5rem;
  box-shadow: 0 1.25rem 4rem rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 1rem auto auto -2.5rem;
  width: 5rem;
  height: 5rem;
  background: var(--sc-navy);
  border-radius: 50%;
  opacity: 0.05;
}

.hero-panel-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--sc-gray-600);
  font-size: 0.86rem;
}

.hero-panel-header span {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--sc-gray-300);
  border-radius: 50%;
}

.hero-panel-header span:first-child {
  background: var(--sc-blue);
}

.hero-panel-header strong {
  margin-left: auto;
  color: var(--sc-navy);
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.95rem;
  background: var(--sc-navy);
  border-radius: 0.5rem;
}

.preview-toolbar small,
.preview-toolbar strong {
  display: block;
}

.preview-toolbar small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 700;
}

.preview-toolbar strong {
  color: var(--sc-white);
  line-height: 1.2;
}

.preview-toolbar .btn {
  --bs-btn-padding-x: 0.75rem;
  --bs-btn-padding-y: 0.5rem;
  white-space: nowrap;
}

.hero-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.metric-tile {
  position: relative;
  overflow: hidden;
  min-height: 7rem;
  padding: 1rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
  border: 1px solid #dbe8ff;
  border-radius: 0.5rem;
}

.metric-tile::after {
  content: "";
  position: absolute;
  right: -1.1rem;
  bottom: -1.7rem;
  width: 4.8rem;
  height: 4.8rem;
  background: rgba(30, 91, 255, 0.08);
  border-radius: 50%;
}

.metric-tile small {
  display: block;
  color: var(--sc-gray-600);
  font-size: 0.78rem;
  font-weight: 700;
}

.metric-tile strong {
  display: block;
  margin-top: 0.6rem;
  color: var(--sc-navy);
  font-size: 2rem;
  line-height: 1;
}

.metric-tile span {
  display: inline-block;
  margin-top: 0.55rem;
  color: var(--sc-teal);
  font-size: 0.78rem;
  font-weight: 800;
}

.preview-chart {
  display: flex;
  align-items: end;
  gap: 0.5rem;
  height: 7rem;
  margin-bottom: 0.85rem;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(30, 91, 255, 0.08), rgba(245, 247, 250, 0.72)),
    repeating-linear-gradient(0deg, transparent 0 1.45rem, rgba(11, 29, 58, 0.08) 1.45rem 1.5rem);
  border: 1px solid var(--sc-gray-200);
  border-radius: 0.5rem;
}

.preview-chart div {
  flex: 1;
  height: var(--h);
  min-height: 1rem;
  background: linear-gradient(180deg, var(--sc-sky), var(--sc-blue));
  border-radius: 999px 999px 0.25rem 0.25rem;
  animation: chart-rise 950ms ease both;
  animation-delay: calc(var(--h) * 5ms);
}

.workflow-card {
  display: grid;
  gap: 0.65rem;
}

.workflow-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  background: #ffffff;
  border: 1px solid var(--sc-gray-200);
  border-radius: 0.5rem;
}

.workflow-row svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--sc-blue);
}

.workflow-row span {
  color: var(--sc-gray-800);
  font-weight: 700;
}

.workflow-row strong {
  color: var(--sc-gray-600);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.workflow-row.active {
  border-color: rgba(30, 91, 255, 0.28);
  background: #edf4ff;
}

.preview-patient {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-top: 0.85rem;
  padding: 1rem;
  color: var(--sc-white);
  background: linear-gradient(135deg, var(--sc-blue), #1748cc);
  border-radius: 0.5rem;
}

.preview-patient small,
.preview-patient strong,
.preview-patient span {
  display: block;
}

.preview-patient small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 700;
}

.preview-patient strong {
  margin-top: 0.15rem;
  color: var(--sc-white);
}

.preview-patient span {
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
}

.preview-patient svg {
  width: 1.25rem;
  height: 1.25rem;
}

.platform-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(245, 247, 250, 0) 0%, rgba(245, 247, 250, 0.88) 52%, rgba(237, 244, 255, 0.9) 100%);
}

.platform-section::before {
  content: "";
  position: absolute;
  left: -8rem;
  top: 6rem;
  width: 19rem;
  height: 19rem;
  border: 2rem solid rgba(30, 91, 255, 0.08);
  border-radius: 50%;
}

.platform-copy-panel {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--sc-white);
  border: 1px solid var(--sc-gray-200);
  border-left: 0.35rem solid var(--sc-blue);
  border-radius: 0.5rem;
  box-shadow: var(--bs-box-shadow);
}

.platform-copy-panel::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 6rem;
  height: 2.5rem;
  background:
    linear-gradient(90deg, transparent 0 0.55rem, rgba(30, 91, 255, 0.28) 0.55rem 0.7rem, transparent 0.7rem 1.1rem),
    linear-gradient(90deg, transparent 0 1.55rem, rgba(32, 183, 166, 0.32) 1.55rem 1.7rem, transparent 1.7rem 2.1rem);
  background-size: 2.1rem 100%;
  opacity: 0.6;
}

.card {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.22rem;
  background: linear-gradient(90deg, var(--sc-blue), var(--sc-sky), var(--sc-teal));
  opacity: 0.86;
}

.card:hover {
  transform: translateY(-0.2rem);
  border-color: rgba(30, 91, 255, 0.24);
  box-shadow: var(--bs-box-shadow);
}

.journey-section {
  position: relative;
  overflow: hidden;
  color: var(--sc-white);
  background:
    linear-gradient(135deg, rgba(11, 29, 58, 0.97), rgba(19, 43, 82, 0.95)),
    linear-gradient(90deg, transparent, rgba(30, 91, 255, 0.3));
}

.journey-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 25%, rgba(125, 182, 255, 0.2), transparent 22rem),
    radial-gradient(circle at 88% 70%, rgba(32, 183, 166, 0.16), transparent 20rem);
}

.journey-section .container {
  position: relative;
  z-index: 1;
}

.journey-section h2,
.journey-section h3 {
  color: var(--sc-white);
}

.journey-section p {
  color: rgba(255, 255, 255, 0.72);
}

.journey-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.journey-map::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 3.1rem;
  height: 2px;
  background: linear-gradient(90deg, var(--sc-blue), var(--sc-sky), var(--sc-teal));
  opacity: 0.75;
}

.journey-step {
  position: relative;
  min-height: 17rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.5rem;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.16);
  transform: translateY(0);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
  animation: step-in 600ms ease both;
  animation-delay: calc(var(--step) * 90ms);
}

.journey-step:hover,
.journey-step.is-active {
  transform: translateY(-0.35rem);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(125, 182, 255, 0.42);
}

.journey-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  color: var(--sc-white);
  font-size: 0.78rem;
  font-weight: 800;
  background: var(--sc-blue);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
}

.journey-step svg {
  display: block;
  width: 1.45rem;
  height: 1.45rem;
  margin-bottom: 1.25rem;
  color: var(--sc-sky);
}

.journey-step h3 {
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
}

.journey-step p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sc-feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.scoring-panel {
  padding: clamp(1rem, 2vw, 1.35rem);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.5rem;
}

.queue-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.queue-line:last-of-type {
  border-bottom: 0;
}

.queue-line strong {
  color: var(--sc-white);
  font-size: 1.6rem;
  line-height: 1;
}

.queue-line.priority {
  color: var(--sc-white);
  background: rgba(30, 91, 255, 0.28);
  border-radius: 0.5rem;
}

.scoring-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1rem;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(32, 183, 166, 0.12);
  border: 1px solid rgba(32, 183, 166, 0.3);
  border-radius: 0.5rem;
}

.scoring-note svg {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  color: var(--sc-teal);
}

.clinic-fit {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.5rem;
  padding: 1rem;
  color: var(--sc-navy);
  font-weight: 700;
  background: var(--sc-white);
  border: 1px solid var(--sc-gray-200);
  border-radius: 0.5rem;
  box-shadow: var(--bs-box-shadow-sm);
}

.clinic-fit svg {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--sc-blue);
}

.brochure-summary {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

#request {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #f5f7fa 0%, #edf4ff 58%, #e7faf7 100%);
}

#request::before {
  content: "";
  position: absolute;
  right: -7rem;
  top: -7rem;
  width: 22rem;
  height: 22rem;
  border: 2rem solid rgba(30, 91, 255, 0.08);
  border-radius: 50%;
}

#request .container {
  position: relative;
  z-index: 1;
}

.brochure-summary div {
  padding: 1rem;
  background: var(--sc-white);
  border: 1px solid var(--sc-gray-200);
  border-radius: 0.5rem;
}

.brochure-summary strong,
.brochure-summary span {
  display: block;
}

.brochure-summary strong {
  color: var(--sc-navy);
  margin-bottom: 0.3rem;
}

.brochure-summary span {
  color: var(--sc-gray-600);
}

.brochure-form {
  padding: clamp(1rem, 3vw, 2rem);
  border-top: 0.35rem solid var(--sc-teal);
  box-shadow: 0 1rem 3rem rgba(11, 29, 58, 0.12);
}

.form-note {
  color: var(--sc-gray-600);
  font-size: 0.9rem;
}

.form-status {
  font-size: 0.95rem;
  font-weight: 700;
}

.site-footer {
  padding: 2rem 0;
  color: var(--sc-gray-600);
  background: var(--sc-white);
  border-top: 1px solid var(--sc-gray-200);
}

.footer-logo {
  width: 180px;
  height: auto;
}

@keyframes chart-rise {
  from {
    height: 0;
    opacity: 0.3;
  }

  to {
    height: var(--h);
    opacity: 1;
  }
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding-top: 1rem;
  }

  .navbar-nav {
    align-items: stretch !important;
  }

  .journey-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-map::before {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .hero-proof-strip {
    grid-template-columns: 1fr;
  }

  .hero-metric-grid {
    grid-template-columns: 1fr;
  }

  .preview-toolbar,
  .preview-patient {
    grid-template-columns: 1fr;
  }

  .preview-toolbar {
    align-items: stretch;
  }

  .journey-map {
    grid-template-columns: 1fr;
  }

  .workflow-row {
    grid-template-columns: auto 1fr;
  }

  .workflow-row strong {
    grid-column: 2;
  }
}
