:root {
  /* VelExcel public-brand accents: deep navy + warm orange. */
  --velexcel-navy: #062f45;
  --velexcel-navy-light: #0b5870;
  --velexcel-orange: #f39a2e;
  --velexcel-orange-dark: #db7620;
  --primary-color: #5b5cf0;
  --primary-dark: #4546d7;
  --primary-soft: #eeefff;
  --secondary-color: #09bfa6;
  --secondary-dark: #078f7d;
  --secondary-soft: #e2faf5;
  --accent-color: #b7ef4a;
  --accent-ink: #31410c;
  --text-dark: #0b1020;
  --text-body: #465068;
  --text-light: #7b8499;
  --extra-light: #e8eaf2;
  --surface: #f6f7fb;
  --surface-tint: #f0f1ff;
  --white: #ffffff;
  --gradient-1: linear-gradient(135deg, #090d19 0%, #161d3d 52%, #075f59 100%);
  --gradient-2: linear-gradient(135deg, #4c4de4 0%, #4d5fe8 48%, #08a994 100%);
  --font-body: "Inter", "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Manrope", "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --max-width: 1220px;
  --nav-height: 74px;
  --radius-sm: 0.8rem;
  --radius-md: 1.2rem;
  --radius-lg: 1.8rem;
  --shadow-sm: 0 10px 30px rgba(11, 16, 32, 0.07);
  --shadow: 0 24px 70px rgba(11, 16, 32, 0.14);
  --shadow-blue: 0 18px 42px rgba(91, 92, 240, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1rem);
}

body {
  min-width: 320px;
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

ul {
  list-style: none;
}

::selection {
  color: var(--white);
  background: var(--primary-color);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--text-dark);
  border-radius: 0.65rem;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--velexcel-orange));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.section__container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.section__intro {
  max-width: 760px;
}

.section__header {
  position: relative;
  isolation: isolate;
  max-width: 780px;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 4.8vw, 3.65rem);
  font-weight: 850;
  line-height: 1.06;
  letter-spacing: -0.045em;
  color: var(--text-dark);
}

.section__header::before {
  position: absolute;
  top: -2.8rem;
  left: -0.12em;
  z-index: -1;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 9vw, 7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  white-space: nowrap;
  color: rgba(10, 21, 51, 0.045);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--primary-color);
}

.eyebrow i {
  font-size: 1rem;
}

.eyebrow--light {
  color: #b9f6eb;
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.88rem 1.5rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-color), #08a994);
  box-shadow: var(--shadow-blue);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  cursor: pointer;
}

.btn::after {
  position: absolute;
  content: "";
  inset: -2px;
  z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.38) 46%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(91, 92, 240, 0.32);
  filter: saturate(1.08);
}

.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(120%);
}

.btn:focus-visible,
.nav__menu__btn:focus-visible,
.nav__links a:focus-visible,
.text__link:focus-visible {
  outline: 3px solid rgba(91, 92, 240, 0.28);
  outline-offset: 4px;
}

i[class^="ri-"] {
  display: inline-block;
  min-width: 1em;
  font-style: normal;
  line-height: 1;
  text-align: center;
}

.ri-menu-line::before { content: "☰"; }
.ri-close-line::before { content: "×"; }
.ri-scales-3-line::before { content: "⚖"; }
.ri-focus-2-line::before { content: "◎"; }
.ri-sparkling-2-line::before { content: "✦"; }
.ri-layout-grid-line::before { content: "▦"; }
.ri-team-line::before { content: "◉"; }
.ri-rocket-2-line::before { content: "↗"; }
.ri-dashboard-3-line::before { content: "▤"; }
.ri-arrow-right-line::before { content: "→"; }
.ri-checkbox-circle-fill::before { content: "●"; }
.ri-user-add-line::before { content: "+"; }
.ri-time-line::before { content: "◷"; }
.ri-heart-pulse-line::before { content: "♥"; }
.ri-file-copy-2-line::before { content: "▣"; }
.ri-draft-line::before { content: "✎"; }
.ri-hand-coin-line::before { content: "$"; }
.ri-chat-smile-3-line::before { content: "◌"; }
.ri-calendar-check-line::before { content: "✓"; }
.ri-bar-chart-box-line::before { content: "▥"; }
.ri-phone-line::before { content: "☎"; }
.ri-map-pin-line::before { content: "⌖"; }
.ri-mail-line::before { content: "✉"; }

.reveal-item {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.82s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-item.reveal-left {
  transform: translate3d(-42px, 0, 0);
}

.reveal-item.reveal-right {
  transform: translate3d(42px, 0, 0);
}

.reveal-item.reveal-scale {
  transform: scale(0.92);
}

.reveal-item.reveal-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

header {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 24%, rgba(91, 92, 240, 0.12), transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(9, 191, 166, 0.12), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

header::after {
  position: absolute;
  content: "";
  width: min(60vw, 650px);
  aspect-ratio: 1;
  right: -18%;
  top: 18%;
  z-index: -1;
  border: 1px solid rgba(91, 92, 240, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(91, 92, 240, 0.035),
    0 0 0 90px rgba(9, 191, 166, 0.025);
  animation: orbitPulse 8s ease-in-out infinite;
}

nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  min-height: var(--nav-height);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

nav.nav--scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 32px rgba(10, 21, 51, 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav__header {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: var(--nav-height);
  padding-inline: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 19, 43, 0.97);
}

.nav__logo img {
  width: auto;
  max-width: 174px;
  height: 36px;
}

.nav__logo .logo-dark {
  display: none;
}

.nav__menu__btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75rem;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.nav__menu__btn:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: scale(1.04);
}

.nav__links {
  position: absolute;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  max-height: calc(100svh - var(--nav-height));
  padding: 1.25rem 1rem 1.5rem;
  display: grid;
  gap: 0.35rem;
  overflow-y: auto;
  background: rgba(8, 19, 43, 0.985);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.nav__links.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__links a {
  position: relative;
  display: block;
  padding: 0.85rem 0.75rem;
  border-radius: 0.65rem;
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--white);
  transition: color 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

.nav__links a:hover,
.nav__links a.active {
  color: #b9f6eb;
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
}

.nav__btns {
  display: none;
}

.header__container {
  min-height: 100svh;
  padding-top: calc(var(--nav-height) + 3.5rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 5rem);
}

.header__content {
  position: relative;
  z-index: 2;
}

.header__container h1 {
  position: relative;
  isolation: isolate;
  font-family: var(--font-display);
  font-size: clamp(3rem, 13vw, 5.55rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.065em;
  color: transparent;
  background: linear-gradient(110deg, var(--primary-color), #1e8fa3 62%, var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  text-align: center;
}

.header__container h1::before {
  position: absolute;
  content: "CASE CLARITY";
  top: -2.85rem;
  left: 50%;
  z-index: -1;
  width: max-content;
  max-width: 94vw;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 16vw, 8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.065em;
  white-space: nowrap;
  color: rgba(10, 21, 51, 0.035);
  transform: translateX(-50%);
}

.header__container h2 {
  margin: 1rem 0 1.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8vw, 4.15rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.055em;
  color: var(--text-dark);
  text-align: center;
}

.header__container p {
  max-width: 640px;
  margin: 0 auto 1.9rem;
  font-size: clamp(0.98rem, 2.2vw, 1.08rem);
  line-height: 1.78;
  color: var(--text-body);
  text-align: center;
}

.header__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.2rem;
}

.text__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.45rem 0.15rem;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-dark);
  transition: color 0.22s ease, gap 0.22s ease;
}

.text__link:hover {
  gap: 0.7rem;
  color: var(--primary-color);
}

.trust__row {
  margin-top: 1.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--text-body);
}

.trust__row span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.trust__row i {
  color: var(--secondary-color);
}

.header__image {
  position: relative;
  isolation: isolate;
  width: min(100%, 650px);
  margin-inline: auto;
  transform: perspective(1000px) rotateX(var(--hero-rotate-x, 0deg)) rotateY(var(--hero-rotate-y, 0deg));
  transition: transform 0.18s ease-out;
}

.header__image::before {
  position: absolute;
  content: "";
  inset: 15% 10% 2%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 92, 240, 0.22), rgba(9, 191, 166, 0.08) 58%, transparent 72%);
  filter: blur(20px);
  animation: glowPulse 5s ease-in-out infinite;
}

.header__image img {
  filter: drop-shadow(0 28px 38px rgba(10, 21, 51, 0.18));
  animation: heroFloat 5.5s ease-in-out infinite;
}

.about {
  overflow: hidden;
}

.about__container {
  display: grid;
  gap: clamp(3rem, 7vw, 5rem);
}

.about__image {
  position: relative;
  isolation: isolate;
}

.about__image::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  width: min(calc(100% - 2rem), 570px);
  aspect-ratio: 1;
  z-index: -1;
  border-radius: 48% 52% 55% 45% / 44% 38% 62% 56%;
  background: linear-gradient(135deg, rgba(91, 92, 240, 0.17), rgba(9, 191, 166, 0.17));
  transform: translate(-55%, -50%);
  animation: morphBlob 10s ease-in-out infinite alternate;
}

.about__image img {
  max-width: 610px;
  margin-inline: auto;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.about__image:hover img {
  transform: translateY(-8px) scale(1.015);
}

.about__content .section__header::before {
  content: "Your Workflow";
}

.about__content p {
  margin-top: 1.2rem;
  font-size: clamp(0.97rem, 1.8vw, 1.03rem);
  line-height: 1.82;
}

.about__content p:nth-of-type(2) {
  margin-bottom: 2rem;
}

.service {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--text-dark);
}

.service::before {
  position: absolute;
  content: "";
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 20%, rgba(91, 92, 240, 0.25), transparent 28%),
    radial-gradient(circle at 90% 78%, rgba(9, 191, 166, 0.22), transparent 30%);
}

.service__container .section__header {
  color: var(--white);
}

.service__container .section__header::before {
  content: "Case Lifecycle";
  color: rgba(255, 255, 255, 0.065);
}

.service__grid {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  gap: 1rem;
}

.service__card {
  position: relative;
  isolation: isolate;
  min-height: 230px;
  padding: clamp(1.35rem, 3vw, 1.75rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  backdrop-filter: blur(10px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

.service__card::before {
  position: absolute;
  content: "";
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(167, 238, 230, 0.1), transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s ease;
}

.service__card:hover {
  transform: translateY(-8px);
  border-color: rgba(167, 238, 230, 0.42);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.18);
}

.service__card:hover::before {
  transform: translateX(110%);
}

.service__card span {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2.05rem;
  font-weight: 900;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #b9f6eb;
  opacity: 0.82;
  transition: transform 0.35s ease;
}

.service__card:hover span {
  transform: translateX(6px);
}

.service__card h4 {
  margin: 0.8rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
}

.service__card p {
  font-size: 0.93rem;
  line-height: 1.72;
  color: #b3bed1;
}

.service__image {
  display: none;
}

.popular {
  overflow: hidden;
  background: var(--surface);
}

.popular__container .section__header::before {
  content: "Core Modules";
}

.popular__grid {
  margin-top: clamp(3rem, 6vw, 4rem);
  display: grid;
  gap: 0.9rem;
}

.popular__card {
  position: relative;
  isolation: isolate;
  min-height: 116px;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  border: 1px solid var(--extra-light);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(10, 21, 51, 0.04);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.32s ease, box-shadow 0.32s ease;
}

.popular__card::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.38s ease;
}

.popular__card:hover {
  transform: translateY(-7px);
  border-color: rgba(91, 92, 240, 0.24);
  box-shadow: var(--shadow);
}

.popular__card:hover::before {
  transform: scaleX(1);
}

.popular__card div {
  flex: 1;
  min-width: 0;
}

.popular__card h4 {
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-dark);
}

.popular__card p {
  font-size: 0.84rem;
  line-height: 1.52;
  color: var(--text-light);
}

.popular__card span {
  width: 2.8rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 0.72rem;
  font-size: 1.3rem;
  color: var(--primary-color);
  background: var(--primary-soft);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease, background-color 0.3s ease;
}

.popular__card:hover span {
  color: var(--white);
  background: var(--primary-color);
  transform: rotate(-6deg) scale(1.08);
}

.facility__container {
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: hidden;
}

.facility__image {
  min-height: clamp(320px, 62vw, 520px);
  overflow: hidden;
  background: #edf4ff;
}

.facility__image img {
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.facility__image:hover img {
  transform: scale(1.025);
}

.facility__content {
  padding: clamp(4rem, 8vw, 6.5rem) max(1rem, calc((100vw - var(--max-width)) / 2));
}

.facility__content::before {
  position: absolute;
  content: "";
  inset: 0;
  z-index: -1;
  background: var(--gradient-2);
  background-size: 160% 160%;
  animation: gradientDrift 10s ease-in-out infinite alternate;
}

.facility__content .section__header {
  margin-bottom: 1.25rem;
  color: var(--white);
}

.facility__content .section__header::before {
  content: "Case Control";
  color: rgba(255, 255, 255, 0.12);
}

.facility__content p {
  font-size: clamp(0.96rem, 1.8vw, 1.02rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.facility__content p:not(:last-child) {
  margin-bottom: 1rem;
}

.mentor__container {
  overflow: hidden;
}

.mentor__container .section__header::before {
  content: "Your Team";
}

.mentor__grid {
  margin-top: clamp(3rem, 6vw, 4rem);
  display: grid;
  gap: 1.25rem;
}

.mentor__card {
  position: relative;
  padding: 1rem 1rem 1.45rem;
  overflow: hidden;
  border: 1px solid var(--extra-light);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.36s ease, border-color 0.36s ease;
}

.mentor__card:hover {
  transform: translateY(-9px);
  border-color: rgba(91, 92, 240, 0.2);
  box-shadow: var(--shadow);
}

.mentor__card img {
  margin-bottom: 1.25rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.9rem;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.mentor__card:hover img {
  transform: scale(1.035);
}

.mentor__card h4 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: 0.035em;
  color: var(--text-dark);
  text-align: center;
}

.mentor__card p {
  margin-top: 0.55rem;
  font-size: 0.89rem;
  line-height: 1.62;
  color: var(--text-light);
  text-align: center;
}

.banner {
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: hidden;
  background: var(--text-dark);
}

.banner__content {
  padding: clamp(4rem, 8vw, 6rem) max(1rem, calc((100vw - var(--max-width)) / 2));
}

.banner__content::before {
  position: absolute;
  content: "";
  inset: 0;
  z-index: -1;
  background: var(--gradient-1);
  background-size: 160% 160%;
  animation: gradientDrift 10s ease-in-out infinite alternate-reverse;
}

.banner__content h2 {
  max-width: 720px;
  margin-bottom: 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
  color: var(--white);
}

.banner__content p {
  max-width: 600px;
  font-size: clamp(0.98rem, 1.8vw, 1.04rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.84);
}

.banner__content p a {
  margin-left: 0.25rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  color: #b9f6eb;
}

.banner__image {
  min-height: clamp(330px, 65vw, 500px);
  overflow: hidden;
  background: var(--text-dark);
}

.banner__image img {
  height: 100%;
  object-fit: cover;
  animation: subtleZoom 14s ease-in-out infinite alternate;
}

.footer {
  background: #070b16;
}

.footer__container {
  display: grid;
  gap: 3rem 2rem;
}

.footer__logo img {
  width: auto;
  max-width: 205px;
  height: 42px;
  margin-bottom: 1.4rem;
}

.footer__summary {
  max-width: 430px;
  margin-bottom: 1.6rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-light);
}

.footer__col h4 {
  margin-bottom: 1.15rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--white);
}

.footer__links {
  display: grid;
  gap: 0.82rem;
}

.footer__links :is(li, a) {
  font-size: 0.89rem;
  line-height: 1.55;
  color: var(--text-light);
}

.footer__links a {
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer__links a:hover {
  color: #b9f6eb;
}

.footer__links span i,
.footer__links a span i {
  margin-right: 0.5rem;
  font-size: 1rem;
  color: #b9f6eb;
}

.footer__bar {
  padding: 1.15rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.75rem;
  line-height: 1.5;
  color: #75819a;
  text-align: center;
}

@keyframes heroFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -14px, 0); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.72; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes orbitPulse {
  0%, 100% { transform: scale(0.96) rotate(0deg); opacity: 0.72; }
  50% { transform: scale(1.04) rotate(8deg); opacity: 1; }
}

@keyframes morphBlob {
  0% { border-radius: 48% 52% 55% 45% / 44% 38% 62% 56%; transform: translate(-55%, -50%) rotate(0deg); }
  100% { border-radius: 58% 42% 44% 56% / 54% 59% 41% 46%; transform: translate(-52%, -48%) rotate(5deg); }
}

@keyframes gradientDrift {
  0% { background-position: 0% 40%; }
  100% { background-position: 100% 60%; }
}

@keyframes subtleZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.045); }
}

@media (min-width: 540px) {
  .service__grid,
  .popular__grid,
  .mentor__grid,
  .footer__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header__btn .btn {
    min-width: 226px;
  }
}

@media (min-width: 900px) {
  :root {
    --nav-height: 84px;
  }

  nav {
    padding-inline: 1rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
  }

  nav::before {
    position: absolute;
    content: "";
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(10, 21, 51, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .nav__header {
    width: auto;
    min-width: 180px;
    min-height: var(--nav-height);
    padding: 0;
    flex: 0 1 auto;
    background: transparent;
  }

  .nav__logo img {
    max-width: 190px;
    height: 40px;
  }

  .nav__logo .logo-dark {
    display: block;
  }

  .nav__logo .logo-white {
    display: none;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    width: auto;
    max-height: none;
    margin-left: auto;
    padding: 0;
    display: flex;
    align-items: center;
    gap: clamp(0.4rem, 1.35vw, 1.15rem);
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav__links a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.45rem 0.2rem;
    font-size: clamp(0.8rem, 1vw, 0.91rem);
    color: var(--text-dark);
  }

  .nav__links a::after {
    position: absolute;
    content: "";
    left: 0.2rem;
    right: 0.2rem;
    bottom: 0.25rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }

  .nav__links a:hover,
  .nav__links a.active {
    color: var(--primary-color);
    background: transparent;
    transform: none;
  }

  .nav__links a:hover::after,
  .nav__links a.active::after {
    transform: scaleX(1);
  }

  .nav__links li:last-child {
    display: none;
  }

  .nav__btns {
    display: flex;
    flex: 0 0 auto;
  }

  .nav__btns .btn {
    min-height: 44px;
    padding: 0.75rem 1.05rem;
    font-size: 0.86rem;
  }

  .header__container {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    padding-top: calc(var(--nav-height) + 2.5rem);
  }

  .header__container :is(h1, h2, p) {
    text-align: left;
  }

  .header__container h1::before {
    left: -0.08em;
    max-width: 60vw;
    transform: none;
  }

  .header__container p {
    margin-inline: 0;
  }

  .header__btn,
  .trust__row {
    justify-content: flex-start;
  }

  .about__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .popular__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .facility__container {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, calc(var(--max-width) / 2))
      minmax(0, calc(var(--max-width) / 2))
      minmax(0, 1fr);
  }

  .facility__image {
    grid-area: 1 / 1 / 2 / 3;
    min-height: 640px;
  }

  .facility__image img {
    border-radius: 0 5rem 5rem 0;
  }

  .facility__content {
    grid-area: 1 / 3 / 2 / 4;
    padding: clamp(5rem, 8vw, 7rem) 1rem clamp(5rem, 8vw, 7rem) clamp(2.5rem, 5vw, 4.5rem);
  }

  .facility__content::before {
    grid-area: 1 / 2 / 2 / 5;
  }

  .mentor__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .banner {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, calc(var(--max-width) / 2))
      minmax(0, calc(var(--max-width) / 2))
      minmax(0, 1fr);
  }

  .banner__content {
    grid-area: 1 / 2 / 2 / 3;
    padding: clamp(5rem, 8vw, 7rem) clamp(2.5rem, 5vw, 4rem) clamp(5rem, 8vw, 7rem) 1rem;
  }

  .banner__image {
    grid-area: 1 / 3 / 2 / 5;
    min-height: 580px;
  }

  .banner__image img {
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
  }

  .footer__container {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
  }
}

@media (min-width: 1024px) {
  nav {
    width: min(100% - 2rem, var(--max-width));
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  nav::before {
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
  }

  .service__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(235px, auto);
    gap: 1.2rem;
  }

  .service__image {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    grid-area: 1 / 2 / 3 / 3;
    min-height: 500px;
  }

  .service__image::before {
    position: absolute;
    content: "";
    width: 100%;
    aspect-ratio: 1;
    bottom: -4%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 92, 240, 0.46), rgba(9, 191, 166, 0.09) 64%, transparent 65%);
    animation: glowPulse 6s ease-in-out infinite;
  }

  .service__image img {
    position: absolute;
    bottom: -5rem;
    max-height: 625px;
    object-fit: contain;
    filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.25));
    animation: heroFloat 6.5s ease-in-out infinite 0.4s;
  }

  .popular__card {
    padding: 1.35rem;
  }

  .mentor__grid {
    gap: 1.75rem;
  }
}

@media (max-width: 899px) {
  .section__header::before {
    top: -2.15rem;
  }

  .header__container h1::before {
    top: -2.3rem;
  }

  .facility__content,
  .banner__content {
    width: min(100%, var(--max-width));
    padding-inline: 1rem;
  }
}

@media (max-width: 480px) {
  .section__container {
    width: min(100% - 1.35rem, var(--max-width));
  }

  .section__header::before,
  .header__container h1::before {
    display: none;
  }

  .header__container {
    gap: 2.6rem;
    padding-top: calc(var(--nav-height) + 2.75rem);
  }

  .header__btn {
    display: grid;
    width: 100%;
  }

  .header__btn .btn,
  .header__btn .text__link {
    width: 100%;
  }

  .text__link {
    justify-content: center;
  }

  .trust__row {
    align-items: flex-start;
    flex-direction: column;
    width: fit-content;
    margin-inline: auto;
  }

  .service__card {
    min-height: auto;
  }

  .popular__card {
    min-height: 108px;
  }

  .footer__bar {
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }
}

@media (hover: none) {
  .service__card:hover,
  .popular__card:hover,
  .mentor__card:hover,
  .about__image:hover img,
  .facility__image:hover img {
    transform: none;
  }
}



/* Responsive product screens and demo form */
.product-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  container: product-screen / inline-size;
}

.product-stage::before,
.product-stage::after {
  position: absolute;
  content: "";
  z-index: -1;
  border-radius: 999px;
  filter: blur(1px);
  pointer-events: none;
}

.product-stage::before {
  width: 44%;
  aspect-ratio: 1;
  right: -8%;
  top: -12%;
  background: rgba(183, 239, 74, 0.2);
}

.product-stage::after {
  width: 52%;
  aspect-ratio: 1;
  left: -12%;
  bottom: -20%;
  background: rgba(9, 191, 166, 0.16);
}

.app-window {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: clamp(1rem, 3cqw, 1.8rem);
  color: #263047;
  background: #fff;
  box-shadow: 0 34px 90px rgba(11, 16, 32, 0.22), 0 6px 20px rgba(91, 92, 240, 0.1);
  transform: translateZ(0);
}

.app-window__bar {
  min-height: clamp(28px, 5.4cqw, 42px);
  padding-inline: clamp(10px, 2.2cqw, 18px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(8px, 2cqw, 18px);
  border-bottom: 1px solid #eceef5;
  background: #fbfbfe;
  font-size: clamp(7px, 1.25cqw, 11px);
}

.window-dots { display: flex; gap: clamp(3px, 0.65cqw, 6px); }
.window-dots span { width: clamp(5px, 1cqw, 8px); aspect-ratio: 1; border-radius: 50%; background: #d6d9e4; }
.window-dots span:first-child { background: #ff8f8f; }
.window-dots span:nth-child(2) { background: #ffd36e; }
.window-dots span:last-child { background: #56d7b5; }
.app-window__address { justify-self: center; max-width: 62%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #9299aa; }
.app-window__live { display: inline-flex; align-items: center; gap: 0.5em; white-space: nowrap; color: #6a7285; }
.app-window__live span { width: 0.7em; aspect-ratio: 1; border-radius: 50%; background: var(--secondary-color); box-shadow: 0 0 0 0.35em rgba(9,191,166,.12); animation: appPulse 2.1s ease-in-out infinite; }

.app-shell { display: grid; grid-template-columns: minmax(88px, 20%) 1fr; min-height: clamp(330px, 62cqw, 535px); }
.app-sidebar { padding: clamp(12px, 2.4cqw, 24px) clamp(8px, 1.6cqw, 16px); display: flex; flex-direction: column; gap: clamp(6px, 1.3cqw, 12px); color: #cbd0e2; background: #0b1020; }
.app-brand { display: flex; align-items: center; gap: clamp(5px, 1cqw, 9px); margin-bottom: clamp(6px, 1.4cqw, 14px); color: #fff; font-size: clamp(7px, 1.35cqw, 12px); }
.app-brand span, .rail-mark { width: clamp(20px, 3.7cqw, 34px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 30%; font-size: clamp(7px, 1.2cqw, 11px); font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--velexcel-navy-light), var(--velexcel-orange)); }
.app-nav { min-height: clamp(24px, 4.5cqw, 39px); padding-inline: clamp(7px, 1.4cqw, 13px); display: flex; align-items: center; gap: clamp(5px, 1cqw, 9px); border-radius: clamp(5px, 1cqw, 9px); font-size: clamp(7px, 1.2cqw, 10.5px); }
.app-nav i { width: 0.7em; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 0.2em; }
.app-nav.is-active { color: #fff; background: linear-gradient(90deg, rgba(91,92,240,.32), rgba(9,191,166,.18)); }
.app-sidebar__profile { margin-top: auto; padding-top: clamp(8px, 1.8cqw, 16px); display: flex; align-items: center; gap: clamp(5px, 1cqw, 9px); border-top: 1px solid rgba(255,255,255,.1); }
.app-sidebar__profile > span { width: clamp(20px, 3.6cqw, 32px); aspect-ratio: 1; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; font-size: clamp(6px, 1.1cqw, 9px); font-weight: 900; color: var(--accent-ink); background: var(--accent-color); }
.app-sidebar__profile div { min-width: 0; }
.app-sidebar__profile b, .app-sidebar__profile small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-sidebar__profile b { font-size: clamp(6px, 1.1cqw, 9.5px); color: #fff; }
.app-sidebar__profile small { margin-top: 0.2em; font-size: clamp(5px, .9cqw, 8px); color: #858da5; }

.app-main { min-width: 0; padding: clamp(12px, 2.8cqw, 27px); background: #f7f8fc; }
.app-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.app-heading small, .panel-title small, .command-head small, .demo-head small { display: block; margin-bottom: .35em; font-size: clamp(6px, 1.05cqw, 9px); font-weight: 850; letter-spacing: .12em; color: #939bae; }
.app-heading h3, .command-head h3, .demo-head h3 { font-family: var(--font-display); font-size: clamp(12px, 2.4cqw, 22px); line-height: 1.05; letter-spacing: -.035em; color: #0b1020; }
.app-actions { display: flex; align-items: center; gap: clamp(5px, 1cqw, 10px); font-size: clamp(6px, 1.05cqw, 9px); }
.app-actions span, .app-actions b { padding: clamp(5px, 1cqw, 9px) clamp(7px, 1.3cqw, 12px); border-radius: clamp(5px, 1cqw, 8px); white-space: nowrap; }
.app-actions span { color: #9299aa; background: #fff; border: 1px solid #e5e7f0; }
.app-actions b { color: #fff; background: var(--primary-color); }
.app-metrics { margin-top: clamp(10px, 2.2cqw, 20px); display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(6px, 1.2cqw, 11px); }
.metric-card { min-width: 0; padding: clamp(8px, 1.7cqw, 15px); border: 1px solid #e9eaf2; border-radius: clamp(7px, 1.5cqw, 13px); background: #fff; box-shadow: 0 7px 18px rgba(11,16,32,.04); }
.metric-card small, .metric-card strong, .metric-card em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.metric-card small { font-size: clamp(6px, 1.05cqw, 9px); color: #858da0; }
.metric-card strong { margin-block: .26em; font-family: var(--font-display); font-size: clamp(13px, 2.5cqw, 23px); color: #12182c; }
.metric-card em { font-size: clamp(5px, .92cqw, 8px); font-style: normal; color: #079f89; }
.metric-card em.is-warm { color: #a26d0c; }
.app-workspace { margin-top: clamp(8px, 1.7cqw, 16px); display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(7px, 1.4cqw, 13px); }
.app-panel { min-width: 0; padding: clamp(8px, 1.8cqw, 16px); border: 1px solid #e9eaf2; border-radius: clamp(7px, 1.5cqw, 13px); background: #fff; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: clamp(7px, 1.4cqw, 13px); }
.panel-title h4 { font-size: clamp(8px, 1.45cqw, 13px); color: #12182c; }
.panel-title > span, .panel-title > strong { font-size: clamp(6px, 1cqw, 9px); color: #7f879a; }
.status-dot { width: .7em; aspect-ratio: 1; border-radius: 50%; background: var(--secondary-color); }
.pipeline-row { display: grid; grid-template-columns: minmax(38px, .72fr) 1.5fr auto; align-items: center; gap: clamp(5px, 1cqw, 9px); min-height: clamp(21px, 4cqw, 34px); font-size: clamp(6px, 1.05cqw, 9px); }
.pipeline-row b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #60697c; }
.pipeline-row > div, .doc-score > div, .team-row > div { height: clamp(4px, .72cqw, 7px); overflow: hidden; border-radius: 999px; background: #eceef5; }
.pipeline-row i, .doc-score i, .team-row i { display: block; width: var(--value); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); transform-origin: left; animation: barGrow 1.3s cubic-bezier(.22,1,.36,1) both; }
.pipeline-row span { color: #8a92a4; }
.activity-item { min-width: 0; padding-block: clamp(6px, 1.2cqw, 11px); display: flex; align-items: center; gap: clamp(6px, 1.1cqw, 10px); border-top: 1px solid #eff0f5; }
.activity-item:first-of-type { border-top: 0; }
.activity-icon { width: clamp(21px, 4cqw, 34px); aspect-ratio: 1; display: grid; place-items: center; flex: 0 0 auto; border-radius: 30%; font-size: clamp(6px, 1cqw, 8px); font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--velexcel-navy-light), var(--velexcel-orange)); }
.activity-item div { min-width: 0; }
.activity-item b, .activity-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity-item b { font-size: clamp(6px, 1.08cqw, 9.5px); color: #394156; }
.activity-item small { margin-top: .25em; font-size: clamp(5px, .9cqw, 8px); color: #949bac; }

.header__image { min-width: 0; }
.header__image .product-stage { max-width: 790px; margin-inline: auto; }
.header__image .app-window { animation: screenFloat 7s ease-in-out infinite; }

.service__image { display: flex; align-items: flex-end; justify-content: center; min-height: 460px; }
.phone-frame { position: relative; width: min(100%, 300px); aspect-ratio: .51; padding: 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 42px; background: #070b16; box-shadow: 0 30px 70px rgba(0,0,0,.36); transform: rotate(-2deg); animation: screenFloat 7.5s ease-in-out infinite .4s; }
.phone-notch { position: absolute; z-index: 2; width: 33%; height: 18px; top: 12px; left: 50%; border-radius: 0 0 12px 12px; background: #070b16; transform: translateX(-50%); }
.phone-screen { height: 100%; padding: 36px 14px 16px; overflow: hidden; border-radius: 31px; color: #293149; background: #f7f8fc; }
.phone-top { display: flex; align-items: center; gap: 8px; }
.phone-logo { width: 32px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; font-size: 9px; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--velexcel-navy-light), var(--velexcel-orange)); }
.phone-top div { flex: 1; }
.phone-top small, .phone-top b { display: block; }
.phone-top small { font-size: 7px; letter-spacing: .12em; color: #949bac; }
.phone-top b { margin-top: 2px; font-size: 13px; color: #0b1020; }
.phone-top > i { width: 25px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; font-size: 9px; font-style: normal; font-weight: 900; color: var(--accent-ink); background: var(--accent-color); }
.phone-stat { margin-top: 18px; padding: 15px; display: flex; align-items: flex-end; justify-content: space-between; border-radius: 17px; color: #fff; background: linear-gradient(135deg, var(--primary-color), #4a56df 52%, var(--secondary-color)); }
.phone-stat small, .phone-stat strong { display: block; }
.phone-stat small { font-size: 7px; letter-spacing: .1em; opacity: .72; }
.phone-stat strong { margin-top: 3px; font-size: 28px; }
.phone-stat span { font-size: 8px; color: #dffbf6; }
.phone-filter { margin-block: 14px 9px; display: flex; gap: 6px; overflow: hidden; }
.phone-filter > * { padding: 6px 9px; border: 1px solid #e5e7ef; border-radius: 999px; white-space: nowrap; font-size: 7px; color: #858da0; background: #fff; }
.phone-filter b { color: #fff; border-color: var(--primary-color); background: var(--primary-color); }
.lead-card { margin-top: 8px; padding: 10px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; border: 1px solid #e8eaf1; border-radius: 13px; background: #fff; box-shadow: 0 6px 16px rgba(11,16,32,.04); }
.lead-card.is-hot { border-color: rgba(91,92,240,.24); box-shadow: 0 8px 20px rgba(91,92,240,.1); }
.lead-avatar { width: 29px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; font-size: 8px; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--velexcel-navy-light), var(--velexcel-orange)); }
.lead-card div:nth-child(2) { min-width: 0; }
.lead-card b, .lead-card small, .lead-card em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lead-card b { font-size: 9px; color: #1d2438; }
.lead-card small { margin-top: 2px; font-size: 7px; color: #6f788d; }
.lead-card em { margin-top: 3px; font-size: 6.5px; font-style: normal; color: #a0a6b5; }
.lead-card > span { width: 25px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; font-size: 8px; font-weight: 900; color: #087966; background: #dcf9f3; }
.phone-action { margin-top: 12px; display: grid; grid-template-columns: auto auto 1fr; gap: 7px; }
.phone-action > * { min-height: 29px; display: grid; place-items: center; border: 1px solid #e4e6ee; border-radius: 9px; font-size: 8px; color: #6f788d; background: #fff; }
.phone-action b { color: #fff; border-color: var(--primary-color); background: var(--primary-color); }

.facility__image { display: grid; place-items: center; padding: clamp(1rem, 3vw, 2.2rem); background: linear-gradient(145deg, #eef0ff, #e4fbf6); }
.facility__image .product-stage { width: min(100%, 930px); }
.facility__image img { object-fit: contain; }
.app-window--command { box-shadow: 0 30px 80px rgba(11,16,32,.2); }
.command-layout { display: grid; grid-template-columns: clamp(42px, 7.5cqw, 68px) 1fr; min-height: clamp(355px, 66cqw, 530px); }
.command-rail { padding-block: clamp(12px, 2.5cqw, 22px); display: flex; align-items: center; flex-direction: column; gap: clamp(8px, 1.6cqw, 14px); color: #747e95; background: #0b1020; }
.command-rail i { width: clamp(22px, 4cqw, 34px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 30%; font-size: clamp(8px, 1.5cqw, 13px); font-style: normal; }
.command-rail i.is-active { color: #fff; background: rgba(91,92,240,.45); }
.command-main { min-width: 0; padding: clamp(12px, 2.8cqw, 24px); background: #f7f8fc; }
.command-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.command-head p { margin-top: .45em; font-size: clamp(6px, 1.05cqw, 9px); color: #858da0; }
.matter-badge { padding: clamp(5px, 1cqw, 8px) clamp(8px, 1.5cqw, 13px); border-radius: 999px; white-space: nowrap; font-size: clamp(6px, 1cqw, 9px); font-weight: 800; color: #087966; background: #dff9f4; }
.matter-tabs { margin-top: clamp(10px, 2cqw, 18px); display: flex; gap: clamp(9px, 2cqw, 20px); overflow: hidden; border-bottom: 1px solid #e4e6ef; }
.matter-tabs > * { padding-bottom: clamp(7px, 1.4cqw, 12px); white-space: nowrap; font-size: clamp(6px, 1.05cqw, 9px); color: #8991a3; }
.matter-tabs b { color: var(--primary-color); border-bottom: 2px solid var(--primary-color); }
.command-grid { margin-top: clamp(9px, 1.8cqw, 16px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(7px, 1.3cqw, 12px); }
.command-progress { grid-row: span 2; }
.command-progress .panel-title strong { color: var(--primary-color); }
.ring { width: clamp(72px, 14cqw, 112px); aspect-ratio: 1; margin: clamp(7px, 1.3cqw, 12px) auto; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--primary-color) 0 68%, #eceef5 68% 100%); }
.ring::before { content:""; position:absolute; width: 72%; aspect-ratio: 1; border-radius: 50%; background:#fff; }
.ring { position: relative; }
.ring span { position: relative; z-index: 1; font-family: var(--font-display); font-size: clamp(13px, 2.6cqw, 22px); font-weight: 900; color: #12182c; }
.progress-list p { padding-block: clamp(4px, .8cqw, 7px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(4px, .8cqw, 7px); border-top: 1px solid #f0f1f5; font-size: clamp(5px, .92cqw, 8px); color: #626b7f; }
.progress-list i { width: .9em; aspect-ratio: 1; border: 1px solid #cbd0dc; border-radius: 50%; }
.progress-list i.done { border-color: var(--secondary-color); background: var(--secondary-color); box-shadow: inset 0 0 0 2px #fff; }
.progress-list b { color: #8a92a3; }
.deadline-row { padding-block: clamp(6px, 1.2cqw, 10px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(6px, 1cqw, 10px); border-top: 1px solid #eff0f5; }
.deadline-row > b { width: clamp(22px, 4cqw, 34px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 28%; font-size: clamp(7px, 1.2cqw, 10px); color: var(--primary-color); background: var(--primary-soft); }
.deadline-row div { min-width: 0; }
.deadline-row strong, .deadline-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deadline-row strong { font-size: clamp(6px, 1cqw, 9px); color: #374056; }
.deadline-row small, .deadline-row em { font-size: clamp(5px, .88cqw, 7.5px); color: #969dad; }
.deadline-row em { font-style: normal; white-space: nowrap; }
.doc-score > div { height: clamp(5px, .9cqw, 8px); }
.doc-score small { display: block; margin-top: .6em; font-size: clamp(5px, .9cqw, 8px); color: #8b93a4; }
.doc-tags { margin-top: clamp(7px, 1.2cqw, 11px); display: flex; flex-wrap: wrap; gap: clamp(4px, .8cqw, 7px); }
.doc-tags span { padding: .48em .7em; border-radius: 999px; font-size: clamp(5px, .85cqw, 7.5px); color: #7d8598; background: #f0f1f5; }
.doc-tags span.done { color: #087966; background: #dff9f4; }

.banner { align-items: stretch; }
.banner__content { min-width: 0; }
.banner__content p { margin-bottom: clamp(1.5rem, 3vw, 2.2rem); }
.banner__content p a { margin-left: 0; }
.demo-form { max-width: 700px; padding: clamp(1rem, 2.5vw, 1.45rem); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-md); background: rgba(255,255,255,.08); box-shadow: 0 24px 60px rgba(0,0,0,.16); backdrop-filter: blur(12px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem; }
.form-field { min-width: 0; display: grid; gap: .45rem; }
.form-field--wide { grid-column: 1 / -1; }
.form-field > span { font-size: .76rem; font-weight: 800; color: rgba(255,255,255,.82); }
.form-field :is(input, select, textarea) { width: 100%; min-height: 48px; padding: .8rem .9rem; border: 1px solid rgba(255,255,255,.17); border-radius: .72rem; outline: none; font: inherit; font-size: .88rem; color: #fff; background: rgba(6,10,22,.48); transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease; }
.form-field textarea { min-height: 104px; resize: vertical; }
.form-field select { color-scheme: dark; }
.form-field :is(input, textarea)::placeholder { color: rgba(255,255,255,.43); }
.form-field :is(input, select, textarea):focus { border-color: var(--accent-color); background: rgba(6,10,22,.7); box-shadow: 0 0 0 4px rgba(183,239,74,.13); }
.form-field :is(input, select, textarea)[aria-invalid="true"] { border-color: #ff9d9d; box-shadow: 0 0 0 4px rgba(255,116,116,.13); }
.form-consent { margin-top: 1rem; display: flex; align-items: flex-start; gap: .7rem; font-size: .76rem; line-height: 1.5; color: rgba(255,255,255,.65); }
.form-consent input { width: 1.05rem; height: 1.05rem; margin-top: .12rem; flex: 0 0 auto; accent-color: var(--accent-color); }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 1rem; display: flex; align-items: center; gap: 1rem; }
.form-actions .btn { border-color: rgba(255,255,255,.12); color: #0b1020; background: linear-gradient(135deg, var(--accent-color), #d8ff88); box-shadow: 0 16px 32px rgba(183,239,74,.19); }
.form-actions small { font-size: .73rem; color: rgba(255,255,255,.54); }
.form-status { display: none; margin-top: .95rem; padding: .8rem .9rem; border-radius: .7rem; font-size: .82rem; line-height: 1.45; }
.form-status.is-visible { display: block; }
.form-status.is-success { color: #dffff8; background: rgba(9,191,166,.18); border: 1px solid rgba(54,222,200,.26); }
.form-status.is-error { color: #ffe2e2; background: rgba(255,90,90,.13); border: 1px solid rgba(255,145,145,.24); }
.demo-form.is-submitting { opacity: .78; pointer-events: none; }

.banner__image { display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); background: radial-gradient(circle at 82% 15%, rgba(183,239,74,.2), transparent 27%), linear-gradient(150deg, #10162d, #071918); }
.banner__image .product-stage { width: min(100%, 800px); }
.app-window--demo { transform: rotate(1.25deg); }
.demo-dashboard { min-height: clamp(330px, 60cqw, 510px); padding: clamp(12px, 2.7cqw, 24px); background: #f7f8fc; }
.demo-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.demo-head > span { padding: .65em .85em; border: 1px solid #e3e5ee; border-radius: 999px; white-space: nowrap; font-size: clamp(6px, 1cqw, 9px); color: #7e879a; background: #fff; }
.demo-kpis { margin-top: clamp(10px, 2cqw, 18px); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(6px,1.2cqw,11px); }
.demo-kpis > div { padding: clamp(8px,1.6cqw,14px); border: 1px solid #e8eaf2; border-radius: clamp(7px,1.4cqw,12px); background:#fff; }
.demo-kpis small, .demo-kpis strong, .demo-kpis em { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.demo-kpis small { font-size:clamp(5px,.95cqw,8px); color:#858da0; }
.demo-kpis strong { margin:.25em 0; font-family:var(--font-display); font-size:clamp(13px,2.5cqw,22px); color:#12182c; }
.demo-kpis em { font-size:clamp(5px,.88cqw,7.5px); font-style:normal; color:#079f89; }
.demo-chart, .demo-team { margin-top: clamp(7px,1.4cqw,13px); padding:clamp(8px,1.6cqw,14px); border:1px solid #e8eaf2; border-radius:clamp(7px,1.4cqw,12px); background:#fff; }
.chart-bars { height: clamp(82px,18cqw,150px); display:grid; grid-template-columns:repeat(8,1fr); align-items:end; gap:clamp(3px,.7cqw,7px); border-bottom:1px solid #e7e9f0; background:repeating-linear-gradient(to top, transparent 0 24%, #f1f2f6 25% 25.5%); }
.chart-bars i { height:var(--h); border-radius:999px 999px 3px 3px; background:linear-gradient(180deg,var(--secondary-color),var(--primary-color)); transform-origin:bottom; animation:chartGrow 1.3s cubic-bezier(.22,1,.36,1) both; }
.chart-bars i:nth-child(2n) { animation-delay:.08s; }
.chart-labels { margin-top:.55em; display:grid; grid-template-columns:repeat(8,1fr); text-align:center; font-size:clamp(5px,.8cqw,7px); color:#a1a6b4; }
.demo-team { display:grid; gap:clamp(5px,.9cqw,8px); }
.team-row { display:grid; grid-template-columns:auto minmax(44px,.7fr) 1fr auto; align-items:center; gap:clamp(5px,1cqw,9px); font-size:clamp(5px,.95cqw,8px); }
.team-row > b { width:clamp(20px,3.6cqw,30px); aspect-ratio:1; display:grid; place-items:center; border-radius:50%; font-size:inherit; color:#fff; background:linear-gradient(135deg,var(--primary-color),var(--secondary-color)); }
.team-row > span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#60697c; }
.team-row > em { font-style:normal; color:#8991a3; }

@container product-screen (max-width: 580px) {
  .app-shell { grid-template-columns: 1fr; }
  .app-sidebar { display: none; }
  .app-main { padding: clamp(10px, 3.3cqw, 18px); }
  .app-heading h3, .command-head h3, .demo-head h3 { font-size: clamp(11px, 4.4cqw, 18px); }
  .app-heading small, .panel-title small, .command-head small, .demo-head small { font-size: clamp(5.5px, 2cqw, 8px); }
  .app-actions span { display: none; }
  .app-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric-card:last-child { display: none; }
  .app-workspace { grid-template-columns: 1fr; }
  .app-panel--activity { display: none; }
  .metric-card small, .pipeline-row, .metric-card em { font-size: clamp(5.5px, 2cqw, 8px); }
  .metric-card strong { font-size: clamp(12px, 5cqw, 20px); }
  .panel-title h4 { font-size: clamp(7.5px, 2.7cqw, 11px); }
  .command-layout { grid-template-columns: clamp(34px, 10cqw, 48px) 1fr; }
  .command-grid { grid-template-columns: 1fr; }
  .command-progress { grid-row: auto; }
  .command-deadlines { display:none; }
  .matter-tabs span:nth-last-child(-n+2) { display:none; }
  .demo-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .demo-kpis > div:last-child { display:none; }
  .demo-team { display:none; }
}

@container product-screen (max-width: 390px) {
  .app-window__live { display:none; }
  .app-window__bar { grid-template-columns:auto 1fr; }
  .app-window__address { justify-self:end; max-width:80%; }
  .app-metrics { grid-template-columns:1fr 1fr; }
  .metric-card:nth-child(3) { display:none; }
  .app-actions { display:none; }
  .command-rail { display:none; }
  .command-layout { grid-template-columns:1fr; }
  .matter-tabs span:nth-child(n+3) { display:none; }
  .demo-kpis { grid-template-columns:1fr; }
  .demo-kpis > div:nth-child(2) { display:none; }
  .chart-bars { height:30cqw; }
}

@keyframes appPulse { 0%,100%{transform:scale(.86);opacity:.72} 50%{transform:scale(1.12);opacity:1} }
@keyframes barGrow { from{transform:scaleX(0)} to{transform:scaleX(1)} }
@keyframes chartGrow { from{transform:scaleY(0)} to{transform:scaleY(1)} }
@keyframes screenFloat { 0%,100%{transform:translate3d(0,0,0)} 50%{transform:translate3d(0,-10px,0)} }

@media (max-width: 899px) {
  .service__image { min-height: 560px; padding-top: 1.5rem; }
  .facility__image { min-height: auto; }
  .banner__image { min-height: auto; }
  .banner__image .product-stage { max-width: 740px; }
}

@media (max-width: 600px) {
  .form-grid { grid-template-columns:1fr; }
  .form-field--wide { grid-column:auto; }
  .form-actions { align-items:stretch; flex-direction:column; }
  .form-actions .btn { width:100%; }
  .service__image { min-height:500px; }
  .phone-frame { width:min(86vw,290px); }
  .facility__image, .banner__image { padding: .85rem; }
  .app-window--demo { transform:none; }
}

@media (prefers-reduced-motion: reduce) {
  .app-window__live span,
  .header__image .app-window,
  .phone-frame,
  .pipeline-row i,
  .doc-score i,
  .team-row i,
  .chart-bars i { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }

  .header__image {
    transform: none !important;
  }
}


/* =========================================================
   VelExcel reference-layout additions: clean white navigation,
   FAQ accordion, split infrastructure band, newsletter footer.
   ========================================================= */
:root {
  --reference-yellow: #ffcb05;
  --reference-black: #050608;
  --reference-navy: #020324;
  --nav-height: 80px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ri-question-line::before { content: "?"; }

/* Reference navigation */
nav,
nav.nav--scrolled {
  min-height: var(--nav-height);
  padding-inline: max(1rem, calc((100vw - var(--max-width)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(5, 6, 8, 0.06);
  box-shadow: 0 12px 30px rgba(11, 16, 32, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav__header {
  width: auto;
  min-height: var(--nav-height);
  padding-inline: 0;
  background: transparent;
}

.nav-wordmark,
.footer-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.065em;
  color: var(--reference-black);
}

.nav-wordmark strong,
.footer-wordmark strong {
  color: var(--reference-yellow);
  font-weight: inherit;
}

.nav__menu__btn {
  color: var(--reference-black);
  background: #fff;
  border-color: rgba(5, 6, 8, 0.13);
}

.nav__menu__btn:hover { background: #f7f7f7; }

.nav__links {
  position: static;
  width: auto;
  max-height: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  overflow: visible;
  color: var(--reference-black);
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.nav__links a {
  padding: 0.55rem 0;
  border-radius: 0;
  font-size: clamp(0.95rem, 1.45vw, 1.06rem);
  font-weight: 560;
  letter-spacing: -0.02em;
  color: var(--reference-black);
}

.nav__links a::after {
  position: absolute;
  content: "";
  left: 0;
  right: 100%;
  bottom: 0.18rem;
  height: 3px;
  background: var(--reference-yellow);
  transition: right 0.25s ease;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--reference-black);
  background: transparent;
  transform: none;
}

.nav__links a:hover::after,
.nav__links a.active::after { right: 0; }

.header__container { padding-top: calc(var(--nav-height) + 3.5rem); }

/* Split legal-tech infrastructure band */
.infrastructure-band {
  width: 100%;
  min-height: clamp(330px, 29vw, 430px);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) minmax(420px, 2fr);
  overflow: hidden;
  background: var(--reference-black);
}

.infrastructure-copy {
  min-width: 0;
  padding: clamp(2rem, 4vw, 3.2rem);
  display: flex;
  align-items: center;
}

.infrastructure-copy--navy { background: var(--reference-navy); }
.infrastructure-copy--black { background: #08090d; }
.infrastructure-copy p {
  max-width: 15ch;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: #fff;
}

.infrastructure-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(32, 205, 255, 0.28), transparent 24%),
    radial-gradient(circle at 28% 38%, rgba(255, 165, 0, 0.25), transparent 30%),
    linear-gradient(115deg, #07101a 0%, #0c1b2a 45%, #09111b 100%);
}

.server-room {
  position: absolute;
  inset: 0;
  perspective: 900px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.45), transparent 24% 76%, rgba(0,0,0,.4)),
    repeating-linear-gradient(90deg, transparent 0 12%, rgba(78,179,255,.06) 12.2% 12.5%, transparent 12.7% 24%);
}

.server-room::before {
  position: absolute;
  content: "";
  inset: 0;
  background:
    radial-gradient(circle at 12% 15%, #ffb000 0 3px, transparent 4px),
    radial-gradient(circle at 18% 28%, #00cfff 0 2px, transparent 3px),
    radial-gradient(circle at 54% 12%, #ffcb05 0 4px, transparent 5px),
    radial-gradient(circle at 74% 36%, #20d4ff 0 3px, transparent 4px),
    radial-gradient(circle at 88% 20%, #ff9a00 0 5px, transparent 6px),
    radial-gradient(circle at 91% 67%, #00bdf2 0 3px, transparent 4px);
  filter: drop-shadow(0 0 12px rgba(255,174,0,.55));
  opacity: .9;
  animation: infrastructureLights 4.8s ease-in-out infinite;
}

.server-rack {
  position: absolute;
  top: -8%;
  bottom: -9%;
  width: 26%;
  border: 1px solid rgba(138, 201, 255, 0.16);
  background:
    radial-gradient(circle at 14px 11px, #ffb703 0 2px, transparent 3px),
    radial-gradient(circle at 26px 11px, #08d9ff 0 1.8px, transparent 2.8px),
    radial-gradient(circle at calc(100% - 16px) 11px, #ff7b00 0 2px, transparent 3px),
    repeating-linear-gradient(to bottom, #111923 0 20px, #263446 20px 22px, #081018 22px 28px);
  background-size: 54px 28px, 54px 28px, 54px 28px, 100% 28px;
  box-shadow: inset 0 0 30px rgba(23,115,166,.16), 0 20px 50px rgba(0,0,0,.42);
}

.server-rack--one { left: 1%; transform: rotateY(15deg) skewY(-1deg); }
.server-rack--two { left: 29%; width: 31%; transform: translateZ(45px); }
.server-rack--three { right: -2%; width: 34%; transform: rotateY(-16deg) skewY(1deg); }

.server-room__glow {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(0,182,255,.16));
  filter: blur(8px);
}

.server-room__labels {
  position: absolute;
  left: clamp(1rem, 3vw, 2.2rem);
  right: clamp(1rem, 3vw, 2.2rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}

.server-room__labels span {
  padding: .52rem .72rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 760;
  letter-spacing: .04em;
  color: #fff;
  background: rgba(2, 10, 18, .65);
  backdrop-filter: blur(8px);
}

/* FAQ reference design */
.faq { background: #fff; border-top: 1px solid #e8e8e8; }
.faq__heading {
  padding: clamp(4.5rem, 8vw, 6.8rem) 1rem clamp(3.5rem, 6vw, 5rem);
  text-align: center;
  border-bottom: 1px solid #e6e6e6;
  box-shadow: inset 0 16px 34px rgba(11, 16, 32, 0.035);
}
.faq__heading .eyebrow { margin-bottom: .7rem; color: #5d6271; }
.faq__heading h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.7vw, 3.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--reference-black);
}
.faq__underline {
  width: clamp(88px, 12vw, 130px);
  height: 6px;
  margin: 1.3rem auto 0;
  display: block;
  background: var(--reference-yellow);
}
.faq__container {
  padding-top: clamp(2rem, 4vw, 3.2rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
  display: grid;
  gap: .75rem;
}
.faq-item {
  border: 1px solid #d8d8d8;
  border-radius: .25rem;
  background: #fff;
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}
.faq-item:hover,
.faq-item[open] {
  border-color: #bdbdbd;
  box-shadow: 0 12px 34px rgba(11,16,32,.06);
}
.faq-item summary {
  min-height: 58px;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(.92rem, 1.5vw, 1.05rem);
  font-weight: 790;
  line-height: 1.35;
  color: #101114;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}
.faq-item summary i::before,
.faq-item summary i::after {
  position: absolute;
  content: "";
  left: 50%;
  top: 50%;
  width: 15px;
  height: 2px;
  background: #090909;
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}
.faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 1.15rem 1.15rem; }
.faq-answer p {
  max-width: 920px;
  font-size: .94rem;
  line-height: 1.75;
  color: #596175;
}

/* Newsletter + four-column footer reference design */
.footer {
  color: rgba(255,255,255,.62);
  background: #000;
}
.footer__newsletter {
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.newsletter-copy { max-width: 520px; }
.newsletter-copy > span {
  display: block;
  margin-bottom: .6rem;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .03em;
  color: #fff;
}
.newsletter-copy h2 {
  max-width: 11ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: #fff;
}
.newsletter-copy p {
  max-width: 54ch;
  margin-top: .5rem;
  font-size: .9rem;
  line-height: 1.65;
  color: #7f8aa5;
}
.newsletter-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .8rem;
}
.newsletter-form input,
.newsletter-form button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: .38rem;
  font: inherit;
}
.newsletter-form input {
  width: 100%;
  padding: .8rem 1rem;
  color: #111;
  background: #fff;
  outline: none;
}
.newsletter-form input:focus { box-shadow: 0 0 0 4px rgba(255,203,5,.22); }
.newsletter-form input[aria-invalid="true"] { border-color: #ff7676; }
.newsletter-form button {
  padding: .8rem 1.35rem;
  color: #000;
  background: #fff;
  cursor: pointer;
  transition: background-color .22s ease, transform .22s ease;
}
.newsletter-form button:hover,
.newsletter-form button:focus-visible { background: var(--reference-yellow); transform: translateY(-2px); }
.newsletter-status {
  grid-column: 1 / -1;
  min-height: 1.2em;
  font-size: .78rem;
  line-height: 1.45;
}
.newsletter-status.is-success { color: #baf7d8; }
.newsletter-status.is-error { color: #ffb8b8; }
.newsletter-form.is-submitting { opacity: .72; pointer-events: none; }

.footer__container {
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}
.footer-wordmark { margin-bottom: 1.5rem; color: #fff; }
.footer__col h4 {
  margin-bottom: 1.4rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}
.footer__col--contact > p {
  max-width: 28ch;
  margin-bottom: 1rem;
  font-size: .85rem;
  line-height: 1.65;
  color: #7f8aa5;
}
.footer__links { display: grid; gap: .85rem; }
.footer__links :is(li, a) {
  font-size: .84rem;
  line-height: 1.5;
  color: #7f8aa5;
}
.footer__links a:hover { color: #fff; }
.footer__links b { color: #fff; font-weight: 760; }
.footer__locations li { display: flex; align-items: flex-start; gap: .5rem; }
.footer__locations li > span { flex: 0 0 auto; color: #8e9ab6; }
.footer__locations p { margin: 0; }
.footer-demo-link { color: var(--reference-yellow) !important; font-weight: 750; }
.footer-socials { margin-top: 1rem; display: flex; gap: .6rem; }
.footer-socials a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: .76rem;
  font-weight: 850;
  color: #8995ae;
  background: #171922;
  transition: color .22s ease, background-color .22s ease, transform .22s ease;
}
.footer-socials a:hover { color: #000; background: var(--reference-yellow); transform: translateY(-2px); }
.footer__bar {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
  padding: 1.4rem 0 1.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .72rem;
  line-height: 1.5;
  color: #667087;
}

@media (max-width: 899px) {
  nav,
  nav.nav--scrolled {
    padding-inline: 0;
    display: block;
  }
  .nav__header { width: 100%; padding-inline: 1rem; }
  .nav__links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    max-height: calc(100svh - var(--nav-height));
    padding: .8rem 1rem 1.25rem;
    display: grid;
    gap: .2rem;
    overflow-y: auto;
    background: rgba(255,255,255,.985);
    border-top: 1px solid #ececec;
    box-shadow: 0 22px 38px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
  }
  .nav__links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__links a { padding: .85rem .75rem; border-radius: .4rem; }
  .nav__links a:hover,
  .nav__links a.active { background: #f6f6f6; }
  .nav__links a::after { display: none; }
  .infrastructure-band { grid-template-columns: 1fr 1fr; }
  .infrastructure-visual { grid-column: 1 / -1; min-height: 380px; }
  .footer__newsletter { grid-template-columns: 1fr; }
  .footer__container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .infrastructure-band { grid-template-columns: 1fr; }
  .infrastructure-copy { min-height: 190px; }
  .infrastructure-copy p { max-width: 19ch; }
  .infrastructure-visual { grid-column: auto; min-height: 320px; }
  .faq__heading { padding-inline: 1rem; }
  .faq-item summary { padding: .9rem; }
  .faq-answer { padding: 0 .9rem .95rem; }
  .newsletter-form { grid-template-columns: 1fr; }
  .newsletter-form button { width: 100%; }
  .footer__container { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; }
}

@keyframes infrastructureLights {
  0%, 100% { opacity: .62; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.015); }
}


/* Final alignment refinements for the supplied references. */
nav,
nav.nav--scrolled {
  width: 100%;
  max-width: none;
  left: 0;
  right: 0;
  margin: 0;
  transform: none;
}
nav::before { display: none; }
.newsletter-copy h2 { max-width: 14ch; }
.faq__heading h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.nav__links li:last-child { display: list-item; }

/* =========================================================
   Workflow, role visual, navigation stacking, and unified type
   scale refinements.
   ========================================================= */
:root {
  --z-navigation: 2147483647;
  --type-caption: 0.78rem;
  --type-small: 0.9rem;
  --type-body: 1rem;
  --type-body-large: 1.08rem;
  --type-nav: 1rem;
  --type-card-title: 1.14rem;
  --type-subheading: 1.35rem;
  --type-section-title: 2.75rem;
  --type-hero-subtitle: 2rem;
  --type-hero-title: 4.65rem;
  --type-footer-heading: 1rem;
  --type-footer-copy: 0.9rem;
}

/* The navigation now lives outside the hero and owns the highest
   practical stacking layer so product screens and animated sections
   can never paint above it. */
nav,
nav.nav--scrolled {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-navigation);
  isolation: isolate;
}

.scroll-progress { z-index: 2147483646; }
.skip-link { z-index: var(--z-navigation); }

/* A single, predictable typography scale across the page. */
body { font-size: var(--type-body); }
.nav-wordmark,
.footer-wordmark { font-size: 1.75rem; }
.nav__links a { font-size: var(--type-nav); }
.eyebrow { font-size: var(--type-caption); }
.section__header,
.faq__heading h2 { font-size: var(--type-section-title); }
.header__container h1 { font-size: var(--type-hero-title); }
.header__container h2 { font-size: var(--type-hero-subtitle); }
.header__container p,
.about__content p,
.facility__content p,
.banner__content p { font-size: var(--type-body-large); }
.service__card h4,
.popular__card h4,
.mentor__card h4 { font-size: var(--type-card-title); }
.service__card p,
.popular__card p,
.mentor__card p,
.faq-answer p { font-size: var(--type-small); }
.faq-item summary { font-size: var(--type-body); }
.infrastructure-copy p { font-size: var(--type-subheading); }
.newsletter-copy h2 { font-size: 2.55rem; }
.newsletter-copy p,
.footer__col--contact > p,
.footer__links :is(li, a) { font-size: var(--type-footer-copy); }
.footer__col h4 { font-size: var(--type-footer-heading); }

/* Responsive workflow board in the About section. */
.about {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 8% 18%, rgba(91, 92, 240, 0.085), transparent 26%),
    radial-gradient(circle at 92% 78%, rgba(9, 191, 166, 0.09), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.about::before {
  position: absolute;
  content: "";
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(7, 21, 45, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 21, 45, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.about__container {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: clamp(2.75rem, 6vw, 5rem);
}

.about__visual {
  min-width: 0;
  container-type: inline-size;
  filter: drop-shadow(0 30px 48px rgba(7, 21, 45, 0.13));
}

.workflow-board {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 21, 45, 0.09);
  border-radius: 1.45rem;
  color: #0a1730;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 24px 70px rgba(7, 21, 45, 0.11);
  transform: translateZ(0);
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease;
}

.about__visual:hover .workflow-board {
  transform: translateY(-7px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 34px 90px rgba(7, 21, 45, 0.16);
}

.workflow-board__bar {
  min-height: 62px;
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  color: #dce6f4;
  background: #07152d;
}

.workflow-board__dots { display: flex; gap: .38rem; }
.workflow-board__dots span {
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: #ff7b7b;
}
.workflow-board__dots span:nth-child(2) { background: #ffcb05; }
.workflow-board__dots span:nth-child(3) { background: #42d6a4; }
.workflow-board__title {
  min-width: 0;
  overflow: hidden;
  font-size: var(--type-small);
  font-weight: 750;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.workflow-board__status {
  padding: .48rem .7rem;
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  border-radius: 999px;
  font-size: var(--type-caption);
  font-weight: 800;
  text-transform: uppercase;
  color: #e8fff7;
  background: #0d674f;
}
.workflow-board__status i {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #76f0c2;
  box-shadow: 0 0 0 4px rgba(118, 240, 194, .12);
}

.workflow-board__body { padding: clamp(1rem, 3.4cqi, 1.65rem); }
.workflow-board__overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .95fr);
  gap: clamp(.8rem, 2.5cqi, 1.1rem);
}

.workflow-matter,
.workflow-health,
.workflow-next,
.workflow-update {
  border: 1px solid #e3e8f1;
  border-radius: 1rem;
}

.workflow-matter {
  position: relative;
  min-width: 0;
  padding: 1rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
  background: #fff;
}
.workflow-matter__avatar {
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border-radius: .9rem;
  font-size: .83rem;
  font-weight: 900;
  color: #ffcb05;
  background: #07152d;
}
.workflow-matter__copy { min-width: 0; display: grid; gap: .14rem; }
.workflow-matter__copy small,
.workflow-health small,
.workflow-next small,
.workflow-update small {
  font-size: .64rem;
  font-weight: 850;
  letter-spacing: .09em;
  color: #7c879c;
}
.workflow-matter__copy strong {
  overflow: hidden;
  font-size: 1rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.workflow-matter__copy > span { font-size: .78rem; color: #7c879c; }
.workflow-matter__progress {
  grid-column: 1 / -1;
  height: .43rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e6eaf2;
}
.workflow-matter__progress i {
  display: block;
  width: 70%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5b5cf0, #09bfa6);
  animation: workflowProgress 2.4s cubic-bezier(.22,1,.36,1) both;
}

.workflow-health {
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: .55rem;
  color: #fff;
  background: #07152d;
}
.workflow-health div { min-width: 0; display: grid; gap: .3rem; }
.workflow-health div + div { padding-left: .75rem; border-left: 1px solid rgba(255,255,255,.11); }
.workflow-health small { color: #91a3bd; letter-spacing: .06em; }
.workflow-health strong { font-size: 1.45rem; line-height: 1; }
.workflow-health .is-accent strong { color: #ffcb05; }

.workflow-steps {
  position: relative;
  margin: 2.25rem .3rem 1.8rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .35rem;
}
.workflow-steps::before,
.workflow-steps::after {
  position: absolute;
  content: "";
  top: 1.15rem;
  left: 8%;
  right: 8%;
  height: .3rem;
  border-radius: 999px;
  background: #dce3ed;
}
.workflow-steps::after {
  right: 36%;
  background: linear-gradient(90deg, #09bfa6, #5b5cf0);
}
.workflow-steps li {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: .68rem;
  text-align: center;
}
.workflow-steps li > span {
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  border: .25rem solid #dce3ed;
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 900;
  color: #9aa6b8;
  background: #fff;
}
.workflow-steps li.is-complete > span {
  border-color: #09bfa6;
  color: #fff;
  background: #09bfa6;
}
.workflow-steps li.is-current > span {
  border-color: #5b5cf0;
  color: #fff;
  background: #5b5cf0;
  box-shadow: 0 0 0 7px rgba(91,92,240,.1);
}
.workflow-steps li div { min-width: 0; display: grid; gap: .15rem; }
.workflow-steps strong {
  overflow: hidden;
  font-size: .72rem;
  letter-spacing: .025em;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.workflow-steps small { font-size: .66rem; color: #7c879c; }

.workflow-board__footer {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(190px, .8fr);
  gap: .8rem;
}
.workflow-next,
.workflow-update {
  min-width: 0;
  padding: .9rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.workflow-next { background: #fff7d5; border-color: #f4e7a5; }
.workflow-next > span {
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: .75rem;
  font-weight: 900;
  color: #07152d;
  background: #ffcb05;
}
.workflow-next div,
.workflow-update div { min-width: 0; display: grid; gap: .2rem; }
.workflow-next strong {
  overflow: hidden;
  font-size: .78rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.workflow-update { justify-content: space-between; background: #e9f8f5; border-color: #ccebe5; }
.workflow-update strong { font-size: .86rem; }
.workflow-update > span {
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #09bfa6;
}

.about__content { position: relative; }
.about__content p { max-width: 62ch; }
.about__proof {
  margin: 1.65rem 0 2rem;
  display: grid;
  gap: .65rem;
}
.about__proof span {
  min-height: 44px;
  padding: .6rem .75rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  border: 1px solid rgba(7, 21, 45, .08);
  border-radius: .75rem;
  font-size: var(--type-small);
  font-weight: 760;
  color: #26344b;
  background: rgba(255,255,255,.76);
  box-shadow: 0 8px 22px rgba(7,21,45,.045);
}
.about__proof i {
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: .6rem;
  font-style: normal;
  font-size: .67rem;
  font-weight: 900;
  color: #ffcb05;
  background: #07152d;
}

/* Featured case-manager card and improved media fitting. */
.mentor__card { display: flex; flex-direction: column; }
.mentor__card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f4f7fb;
}
.mentor__card--featured {
  border-color: rgba(255, 203, 5, .52);
  box-shadow: 0 20px 54px rgba(7,21,45,.13);
}
.mentor__card--featured::after {
  position: absolute;
  content: "";
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,203,5,.24);
}
.mentor__badge {
  position: absolute;
  top: 1.65rem;
  right: 1.65rem;
  z-index: 2;
  padding: .48rem .68rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #07152d;
  background: #ffcb05;
  box-shadow: 0 8px 22px rgba(7,21,45,.14);
}

@container (max-width: 560px) {
  .workflow-board__overview { grid-template-columns: 1fr; }
  .workflow-health { min-height: 88px; }
  .workflow-board__footer { grid-template-columns: 1fr; }
  .workflow-steps { margin-inline: 0; }
  .workflow-steps strong { font-size: .65rem; }
}

@container (max-width: 410px) {
  .workflow-board__bar { grid-template-columns: auto minmax(0, 1fr); }
  .workflow-board__status { display: none; }
  .workflow-board__body { padding: .8rem; }
  .workflow-health { padding: .8rem; }
  .workflow-health strong { font-size: 1.2rem; }
  .workflow-steps {
    margin: 1.2rem 0;
    grid-template-columns: 1fr;
    gap: .55rem;
  }
  .workflow-steps::before,
  .workflow-steps::after { display: none; }
  .workflow-steps li {
    min-height: 48px;
    padding: .45rem .55rem;
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    text-align: left;
    border: 1px solid #e3e8f1;
    border-radius: .75rem;
    background: #fff;
  }
  .workflow-steps li > span { width: 2rem; height: 2rem; border-width: .2rem; }
  .workflow-steps li div { justify-items: start; }
  .workflow-steps strong { font-size: .7rem; }
  .workflow-next strong { white-space: normal; }
}

@media (max-width: 899px) {
  :root {
    --type-section-title: 2.25rem;
    --type-hero-title: 3.35rem;
    --type-hero-subtitle: 1.7rem;
  }
  .about__container { grid-template-columns: 1fr; }
  .about__content { order: -1; }
  .about__content .section__header { max-width: 18ch; }
  .about__proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root {
    --type-body: .98rem;
    --type-body-large: 1rem;
    --type-nav: 1rem;
    --type-card-title: 1.08rem;
    --type-section-title: 2rem;
    --type-hero-title: 2.75rem;
    --type-hero-subtitle: 1.45rem;
    --type-footer-copy: .9rem;
  }
  .section__header,
  .faq__heading h2 { line-height: 1.12; letter-spacing: -.035em; }
  .about__proof { grid-template-columns: 1fr; }
  .mentor__badge { top: 1.45rem; right: 1.45rem; }
  .newsletter-copy h2 { font-size: 2.1rem; }
}

@keyframes workflowProgress {
  from { width: 0; }
  to { width: 70%; }
}


/* =========================================================
   Modern header refresh + stronger role-image responsiveness
   ========================================================= */
:root {
  --nav-float-top: 0.8rem;
  --nav-float-radius: 1.35rem;
}

header {
  background:
    radial-gradient(circle at 12% 8%, rgba(91, 92, 240, 0.08), transparent 26%),
    radial-gradient(circle at 85% 16%, rgba(255, 203, 5, 0.10), transparent 22%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 62%);
}

nav,
nav.nav--scrolled {
  top: var(--nav-float-top);
  left: 50%;
  right: auto;
  width: min(calc(100% - 1.2rem), 1240px);
  min-height: calc(var(--nav-height) - 10px);
  padding: 0.55rem 0.7rem 0.55rem 1rem;
  border: 1px solid rgba(7, 21, 45, 0.08);
  border-radius: var(--nav-float-radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 55px rgba(7, 21, 45, 0.12), 0 2px 0 rgba(255, 255, 255, 0.55) inset;
  backdrop-filter: saturate(1.3) blur(18px);
  -webkit-backdrop-filter: saturate(1.3) blur(18px);
  transform: translateX(-50%);
}

nav.nav--scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 60px rgba(7, 21, 45, 0.16), 0 2px 0 rgba(255,255,255,.62) inset;
}

.nav__header {
  min-height: calc(var(--nav-height) - 10px);
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav-wordmark {
  position: relative;
  padding-left: 0.05rem;
  font-size: clamp(1.55rem, 1.15rem + 0.9vw, 1.95rem);
  letter-spacing: -0.07em;
}

.nav-wordmark::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-left: 0.45rem;
  align-self: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--velexcel-orange), #ffd45f);
  box-shadow: 0 0 0 6px rgba(255, 203, 5, 0.12);
}

.nav__links {
  margin-inline: auto;
  padding: 0.38rem;
  gap: 0.35rem;
  border: 1px solid rgba(7, 21, 45, 0.05);
  border-radius: 999px;
  background: rgba(247, 249, 252, 0.88);
}

.nav__links li {
  display: flex;
}

.nav__links a {
  padding: 0.78rem 1.05rem;
  border-radius: 999px;
  font-weight: 650;
  line-height: 1;
  transition: color .25s ease, background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.nav__links a::after {
  display: none;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--velexcel-navy);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(7, 21, 45, 0.08);
  transform: translateY(-1px);
}

.nav__cta {
  display: flex;
  align-items: center;
  margin-left: 0.9rem;
}

.nav__demo {
  padding: 0.82rem 1.18rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 780;
  letter-spacing: -0.02em;
  color: #ffffff;
  background: linear-gradient(135deg, var(--velexcel-navy), var(--velexcel-navy-light));
  box-shadow: 0 14px 28px rgba(6, 47, 69, 0.2);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.nav__demo:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(6, 47, 69, 0.24);
  filter: brightness(1.02);
}

.header__container {
  padding-top: calc(var(--nav-height) + 4.35rem);
}

.header__content {
  max-width: 40rem;
}

.header__btn {
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Role cards become self-aware containers so the illustration area
   adapts more intelligently at narrower widths. */
.mentor__grid {
  align-items: stretch;
}

.mentor__card {
  container-type: inline-size;
  padding: clamp(1rem, 1.5vw, 1.25rem);
  gap: 0;
}

.mentor__card img {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 1.25rem;
  padding: clamp(0.5rem, 2.2cqi, 0.95rem);
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
  border-radius: 1.05rem;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,255,255,.95), rgba(255,255,255,.72) 34%, transparent 35%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.mentor__card h4,
.mentor__card p {
  max-width: 28ch;
  margin-inline: auto;
}

.mentor__card--featured img {
  background:
    radial-gradient(circle at 12% 10%, rgba(255,255,255,.95), rgba(255,255,255,.72) 34%, transparent 35%),
    linear-gradient(180deg, #fffdf4 0%, #f6f8fc 100%);
}

@container (max-width: 420px) {
  .mentor__card {
    padding: 0.95rem;
  }

  .mentor__card img {
    aspect-ratio: 1 / 1;
    padding: 0.55rem;
    margin-bottom: 1rem;
  }

  .mentor__card h4,
  .mentor__card p {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 1023px) {
  nav,
  nav.nav--scrolled {
    width: min(calc(100% - 1rem), 1240px);
  }

  .nav__links {
    margin-inline: 0;
  }

  .nav__cta {
    display: none;
  }
}

@media (max-width: 899px) {
  :root {
    --nav-float-top: 0.55rem;
  }

  nav,
  nav.nav--scrolled {
    width: min(calc(100% - 0.75rem), 1240px);
    padding: 0.35rem 0.45rem 0.35rem 0.8rem;
    border-radius: 1.15rem;
  }

  .nav__header {
    width: 100%;
    min-height: calc(var(--nav-height) - 18px);
  }

  .nav__menu__btn {
    border-radius: 0.9rem;
    box-shadow: 0 10px 20px rgba(7, 21, 45, 0.08);
  }

  .nav__links {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    width: 100%;
    max-height: min(70vh, 440px);
    padding: 0.65rem;
    display: grid;
    gap: 0.35rem;
    border: 1px solid rgba(7, 21, 45, 0.08);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 44px rgba(7, 21, 45, 0.14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .nav__links a {
    width: 100%;
    padding: 0.95rem 1rem;
    justify-content: flex-start;
  }

  .header__container {
    padding-top: calc(var(--nav-height) + 3.85rem);
  }

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

@media (max-width: 640px) {
  .nav-wordmark {
    font-size: 1.55rem;
  }

  .header__container {
    padding-top: calc(var(--nav-height) + 3.4rem);
  }

  .mentor__card img {
    max-width: min(100%, 420px);
  }
}

/* =========================================================
   Hosting-safe role dashboards
   These visuals are pure HTML/CSS and do not depend on SVG files.
   ========================================================= */
.role-screen {
  --role-accent: #5b5cf0;
  --role-accent-soft: rgba(91, 92, 240, 0.12);
  width: 100%;
  min-width: 0;
  margin: 0 auto 1.25rem;
  padding: clamp(0.72rem, 2.8cqi, 1rem);
  overflow: hidden;
  border: 1px solid rgba(7, 21, 45, 0.09);
  border-radius: 1.05rem;
  color: #0a1730;
  background:
    radial-gradient(circle at 94% 4%, var(--role-accent-soft), transparent 31%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 16px 34px rgba(7, 21, 45, 0.08);
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease, border-color .45s ease;
}

.role-screen--attorney {
  --role-accent: #ffb300;
  --role-accent-soft: rgba(255, 179, 0, 0.14);
}

.role-screen--manager {
  --role-accent: #09bfa6;
  --role-accent-soft: rgba(9, 191, 166, 0.14);
}

.role-screen--intake {
  --role-accent: #6fcd3d;
  --role-accent-soft: rgba(111, 205, 61, 0.15);
}

.mentor__card:hover .role-screen {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--role-accent) 38%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.94), 0 24px 48px rgba(7, 21, 45, 0.13);
}

.role-screen__top {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.48rem, 2cqi, 0.72rem);
}

.role-screen__mark {
  width: clamp(2rem, 9cqi, 2.6rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 0.72rem;
  font-size: clamp(0.62rem, 2.7cqi, 0.78rem);
  font-weight: 900;
  color: #ffcb05;
  background: #07152d;
  box-shadow: 0 8px 18px rgba(7, 21, 45, 0.16);
}

.role-screen__title {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

.role-screen__title small,
.role-screen__panel-title span {
  overflow: hidden;
  font-size: clamp(0.48rem, 1.85cqi, 0.62rem);
  font-weight: 850;
  letter-spacing: 0.09em;
  color: #8290a5;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.role-screen__title strong {
  overflow: hidden;
  font-size: clamp(0.72rem, 3cqi, 0.94rem);
  line-height: 1.15;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.role-screen__status {
  padding: clamp(0.3rem, 1.4cqi, 0.42rem) clamp(0.46rem, 2cqi, 0.65rem);
  border-radius: 999px;
  font-size: clamp(0.5rem, 1.9cqi, 0.62rem);
  font-weight: 850;
  color: #075d4d;
  background: #e4f8f3;
  white-space: nowrap;
}

.role-screen__metrics {
  margin-top: clamp(0.7rem, 2.8cqi, 1rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.38rem, 1.7cqi, 0.62rem);
}

.role-screen__metrics > div {
  min-width: 0;
  padding: clamp(0.52rem, 2.2cqi, 0.75rem);
  display: grid;
  gap: clamp(0.12rem, .8cqi, 0.25rem);
  border: 1px solid #e5eaf1;
  border-radius: clamp(0.58rem, 2.4cqi, 0.82rem);
  background: rgba(255,255,255,.92);
}

.role-screen__metrics small {
  overflow: hidden;
  font-size: clamp(0.46rem, 1.75cqi, 0.58rem);
  font-weight: 750;
  color: #7c879c;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.role-screen__metrics strong {
  font-size: clamp(0.95rem, 4.4cqi, 1.35rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.role-screen__metrics span {
  overflow: hidden;
  font-size: clamp(0.42rem, 1.6cqi, 0.54rem);
  color: #0c8d76;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.role-screen__body {
  min-width: 0;
  margin-top: clamp(0.55rem, 2.2cqi, 0.78rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(0.45rem, 1.8cqi, 0.68rem);
}

.role-screen__chart,
.role-screen__queue {
  min-width: 0;
  padding: clamp(0.58rem, 2.2cqi, 0.78rem);
  border: 1px solid #e5eaf1;
  border-radius: clamp(0.62rem, 2.4cqi, 0.85rem);
  background: rgba(255,255,255,.94);
}

.role-screen__panel-title {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.role-screen__panel-title b {
  flex: 0 0 auto;
  font-size: clamp(0.46rem, 1.7cqi, 0.56rem);
  color: #7c879c;
}

.role-bars,
.role-funnel {
  margin-top: clamp(0.45rem, 1.8cqi, 0.65rem);
  display: grid;
  gap: clamp(0.32rem, 1.35cqi, 0.48rem);
}

.role-bars > span {
  position: relative;
  min-height: clamp(1.16rem, 5cqi, 1.55rem);
  padding: 0 clamp(0.38rem, 1.7cqi, 0.55rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  overflow: hidden;
  border-radius: 0.42rem;
  font-size: clamp(0.44rem, 1.7cqi, 0.56rem);
  background: #edf1f6;
}

.role-bars > span::before {
  position: absolute;
  content: "";
  inset: 0 auto 0 0;
  width: var(--role-bar);
  border-radius: inherit;
  background: color-mix(in srgb, var(--role-accent) 24%, white);
}

.role-bars i,
.role-bars b {
  position: relative;
  z-index: 1;
  font-style: normal;
}

.role-bars i {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.role-screen__queue {
  display: grid;
  align-content: start;
}

.role-screen__queue p {
  min-width: 0;
  margin: 0;
  padding-block: clamp(0.34rem, 1.4cqi, 0.48rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.28rem, 1.1cqi, 0.4rem);
  border-bottom: 1px solid #edf0f5;
  font-size: clamp(0.42rem, 1.62cqi, 0.54rem);
}

.role-screen__queue p:last-child {
  border-bottom: 0;
}

.role-screen__queue p span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.role-screen__queue p b {
  font-size: inherit;
  color: #67748a;
  white-space: nowrap;
}

.role-dot {
  width: clamp(0.38rem, 1.5cqi, 0.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #5b5cf0;
}

.role-dot--gold { background: #ffb300; }
.role-dot--teal { background: #09bfa6; }
.role-dot--violet { background: #5b5cf0; }

.role-stage-track {
  position: relative;
  margin-top: clamp(0.58rem, 2.1cqi, 0.78rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.2rem;
}

.role-stage-track::before {
  position: absolute;
  content: "";
  top: clamp(0.52rem, 2.2cqi, 0.68rem);
  left: 10%;
  right: 10%;
  height: 0.18rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #09bfa6 0 55%, #dfe5ed 55% 100%);
}

.role-stage-track span {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: clamp(0.25rem, 1cqi, 0.35rem);
}

.role-stage-track i {
  width: clamp(1.05rem, 4.5cqi, 1.4rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 0.14rem solid #dfe5ed;
  border-radius: 50%;
  font-size: clamp(0.4rem, 1.5cqi, 0.5rem);
  font-style: normal;
  font-weight: 900;
  color: #8a96a8;
  background: #fff;
}

.role-stage-track .is-done i {
  border-color: #09bfa6;
  color: #fff;
  background: #09bfa6;
}

.role-stage-track .is-current i {
  border-color: #5b5cf0;
  color: #fff;
  background: #5b5cf0;
  box-shadow: 0 0 0 0.22rem rgba(91,92,240,.1);
}

.role-stage-track b {
  overflow: hidden;
  max-width: 100%;
  font-size: clamp(0.38rem, 1.45cqi, 0.5rem);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.role-funnel > span {
  width: var(--funnel-width);
  min-height: clamp(1.05rem, 4.5cqi, 1.4rem);
  padding-inline: clamp(0.35rem, 1.5cqi, 0.48rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  justify-self: center;
  gap: 0.3rem;
  border-radius: 0.38rem;
  font-size: clamp(0.42rem, 1.6cqi, 0.54rem);
  color: #073e36;
  background: color-mix(in srgb, var(--role-accent) 22%, white);
}

.role-funnel i {
  overflow: hidden;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@container (max-width: 360px) {
  .role-screen__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .role-screen__metrics > div:last-child {
    grid-column: 1 / -1;
  }

  .role-screen__body {
    grid-template-columns: 1fr;
  }

  .role-screen__queue p {
    font-size: 0.55rem;
  }
}

@container (max-width: 270px) {
  .role-screen__status {
    display: none;
  }

  .role-screen__top {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .role-screen__metrics {
    grid-template-columns: 1fr;
  }

  .role-screen__metrics > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 899px) {
  .role-screen {
    max-width: 680px;
  }
}

@media (max-width: 480px) {
  .role-screen {
    padding: 0.72rem;
    border-radius: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mentor__card:hover .role-screen {
    transform: none;
  }
}
