/* Import local fonts */
/* ========== Local Font Declarations ========== */
/* Variable fonts for optimal performance - single file handles all weights 400-700 */
/* Newsreader - Display Font */
@font-face {
  font-family: 'Newsreader';
  src: url('/fonts/Newsreader-VariableFont_opsz,wght.woff2') format('woff2'),
       url('/fonts/Newsreader-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Newsreader Italic */
@font-face {
  font-family: 'Newsreader';
  src: url('/fonts/Newsreader-Italic-VariableFont_opsz,wght.woff2') format('woff2'),
       url('/fonts/Newsreader-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter - Body Font */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-VariableFont_opsz,wght.woff2') format('woff2'),
       url('/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter Italic */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Italic-VariableFont_opsz,wght.woff2') format('woff2'),
       url('/fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
body {
  font-family: 'Inter', sans-serif;
  font-synthesis: none;
}
code {
  background-color: #F5F5F7;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}
@media (max-width: 1024px) {
  html {
    font-size: 14px;
  }
}

.podcast-banner {
  position: fixed;
  top: 0;
  left: 0;overflow: visible;

  display: flex;
  align-items: center;
  gap: 20px;

  padding: 16px 22px;
  border-radius: 18px;

  color: var(--charcoal);

  z-index: 9999;
  user-select: none;
  touch-action: none;

  border: 1px solid rgba(255, 255, 255, 0.95);

  background:
    linear-gradient(
      155deg,
      rgba(255,255,255,.4) 0%,
      rgba(248,246,255,.45) 38%,
      rgba(237,232,252,.5) 72%,
      rgba(225,218,255,.42) 100%
    );

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  box-shadow:
    0 8px 24px rgba(26,28,29,.08),
    0 24px 56px rgba(26,28,29,.14);

  will-change: transform;
}

.podcast-banner--collapsed {
  gap: 12px;
  padding: 12px 14px;
}

.podcast-banner__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}

.podcast-banner__platform-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.podcast-banner__platform-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.podcast-banner__close,
.podcast-banner__expand {
  width: 20px;
  height: 20px;
  border: none;
  background: transparent;
  color: var(--dark-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.podcast-banner__close svg,
.podcast-banner__expand svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 768px) {
  .podcast-banner {
    gap: 12px;
    padding: 10px 14px;
    max-width: calc(100vw - 24px);
  }

  .podcast-banner__platform-icon {
    width: 24px;
    height: 24px;
  }

  .podcast-banner__label {
    font-size: 9px;
  }
}









.podcast-banner__tooltip {
  position: absolute;

  top: -8px;
  right: -8px;

  padding: 6px 10px;

  border-radius: 999px;

  font-size: 11px;
  font-weight: 600;

  color: white;
  background: var(--primary);

  transform: translateY(-100%);

  box-shadow:
    0 4px 12px rgba(0,0,0,.15);

  pointer-events: none;

  animation:
    tooltipPulse 1.8s ease-in-out infinite,
    tooltipFadeIn .35s ease;
}
.podcast-banner__tooltip::after {
  content: '';

  position: absolute;

  top: 100%;
  right: 16px;

  border-width: 6px;
  border-style: solid;

  border-color:
    rgba(26, 28, 29, 0.92)
    transparent
    transparent
    transparent;
}
@keyframes tooltipPulse {
  0%,
  100% {
    transform: translateY(-100%) scale(1);
  }

  50% {
    transform: translateY(-100%) scale(1.05);
  }
}/* ========== Design System Variables ========== */
:root {
  /* Colors */
  --primary: #695AF2;
  --primary-dark: #503DD8;
  --white: #FFFFFF;
  --charcoal: #1A1C1D;
  --light-gray: #F5F5F7;
  --gray: #E2E2E2;
  --dark-gray: #474555;
  --surface: #F9F9FB;
  
  /* Typography */
  --font-display: 'Newsreader', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing (8px base unit) */
  --xs: 4px;
  --sm: 16px;
  --md: 32px;
  --lg: 60px;
  --xl: 128px;
  
  /* Sizes */
  --container-max: 1440px;
  --gutter: 24px;
  --margin-desktop: 80px;
  --margin-mobile: 20px;

  /* CTAs (.cta) */
  --cta-radius: 4px;
  --cta-pad-y: 12px;
  --cta-pad-x: 22px;
  --cta-font-size: 14px;
  --cta-font-size-lg: 15px;
  --cta-pad-y-lg: 14px;
  --cta-pad-x-lg: 32px;

  /* UI polish  text selection */
  --selection-bg: rgba(26, 28, 29, 0.1);
  --selection-color: var(--charcoal);
  --selection-bg-on-dark: rgba(255, 255, 255, 0.9);
  --selection-color-on-dark: var(--charcoal);
  --scrollbar-track: var(--white);
  --scrollbar-thumb: #c6c6c9;
  --scrollbar-thumb-hover: #9a9aa0;
}

/* ========== Route Loading State ========== */
.route-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  font-size: 16px;
  color: var(--dark-gray);
  font-family: var(--font-body);
}

.route-loading::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* ========== Global UI polish ========== */
html {
  color-scheme: light;
  accent-color: var(--primary);
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb);
  border: 2px solid var(--scrollbar-track);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--scrollbar-thumb-hover);
}

::-webkit-scrollbar-corner {
  background: var(--scrollbar-track);
}

::selection {
  background-color: var(--selection-bg);
  color: var(--selection-color);
}

::-moz-selection {
  background-color: var(--selection-bg);
  color: var(--selection-color);
}

/*
 * Light text on charcoal  add .surface-dark to any block (CTAs, quotes, panels).
 * Legacy BEM suffixes below are covered until markup uses the utility consistently.
 */
.surface-dark ::selection,
.section-dark ::selection,
[class*='-final-cta'] ::selection,
[class$='-closing'] ::selection,
.home-philosophy ::selection,
.book-call-quote ::selection,
.results-spotlight__panel ::selection,
.specialty-proof__case ::selection,
.client-portal-soon ::selection {
  background-color: var(--selection-bg-on-dark);
  color: var(--selection-color-on-dark);
}

.surface-dark ::-moz-selection,
.section-dark ::-moz-selection,
[class*='-final-cta'] ::-moz-selection,
[class$='-closing'] ::-moz-selection,
.home-philosophy ::-moz-selection,
.book-call-quote ::-moz-selection,
.results-spotlight__panel ::-moz-selection,
.specialty-proof__case ::-moz-selection,
.client-portal-soon ::-moz-selection {
  background-color: var(--selection-bg-on-dark);
  color: var(--selection-color-on-dark);
}

::placeholder {
  color: var(--dark-gray);
  opacity: 0.85;
}

input,
textarea,
select,
[contenteditable='true'] {
  caret-color: var(--primary);
}

a,
button,
input,
textarea,
select,
summary,
[tabindex]:not([tabindex='-1']) {
  -webkit-tap-highlight-color: rgba(26, 28, 29, 0.08);
}

:where(a, button, input, textarea, select, summary, [tabindex]:not([tabindex='-1'])):focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

:where(a, button, input, textarea, select, summary, [tabindex]:not([tabindex='-1'])):focus:not(:focus-visible) {
  outline: none;
}

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

/* ========== Global Styles ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height, 61px);
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--charcoal);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== Container & Layout ========== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
}

h1 {
  font-size: 72px;
  line-height: 80px;
  letter-spacing: -0.02em;
  margin-bottom: var(--md);
}

h2 {
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -0.01em;
  margin-bottom: var(--lg);
  font-weight: 400;
}

h3 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
  margin-bottom: var(--md);
}

p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: var(--sm);
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-transform: none;
  border: 1px solid var(--charcoal);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--charcoal);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-secondary:hover {
  background-color: var(--light-gray);
}

/* ========== Global CTAs (use on <a> or <button>) ========== */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  padding: var(--cta-pad-y) var(--cta-pad-x);
  font-family: var(--font-body);
  font-size: var(--cta-font-size);
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
  border-radius: var(--cta-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  width: fit-content;
  box-sizing: border-box;
}

.cta:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.cta--lg {
  padding: var(--cta-pad-y-lg) var(--cta-pad-x-lg);
  font-size: var(--cta-font-size-lg);
}

/* Full-width CTA within a column (centered, capped width) */
.cta--block {
  width: 100%;
  max-width: 22rem;
  justify-content: center;
}

.cta--primary {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.cta--primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(105, 90, 242, 0.2);
}

.cta--secondary {
  background-color: var(--white);
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.cta--secondary:hover {
  background-color: var(--light-gray);
  border-color: var(--primary);
  color: var(--primary);
}

/* Solid light CTA on dark backgrounds (e.g. testimonial panels) */
.cta--inverse {
  background-color: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.cta--inverse:hover {
  background-color: var(--light-gray);
  border-color: var(--light-gray);
  color: var(--charcoal);
}

button.cta {
  appearance: none;
  margin: 0;
  font: inherit;
}

/* Navigation styles live in src/components/Navbar.css */

/* ========== Hero Section ========== */
.hero {
  padding: var(--margin-desktop) var(--gutter);
  background-color: var(--white);
  border-bottom: 1px solid var(--gray);
}

.hero-content {
  text-align: left;
}

.hero-title {
  font-size: 72px;
  line-height: 80px;
  letter-spacing: -0.02em;
  margin-bottom: var(--md);
  color: var(--charcoal);
  font-weight: 400;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 28px;
  max-width: 800px;
  margin: 0 auto var(--lg);
  color: var(--dark-gray);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--lg);
  margin-top: var(--lg);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--xs);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  color: var(--primary);
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--dark-gray);
  text-transform: uppercase;
}

/* ========== Color Architecture Section ========== */
.color-architecture {
  padding: var(--margin-desktop) var(--gutter);
  background-color: var(--surface);
  border-bottom: 1px solid var(--gray);
}

.color-architecture h2 {
  text-align: center;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--lg);
  margin-top: var(--lg);
}

.color-item {
  background-color: var(--white);
  border: 1px solid var(--gray);
  padding: var(--md);
}

.color-swatch {
  width: 100%;
  height: 120px;
  margin-bottom: var(--md);
  border: 1px solid var(--gray);
}

.color-swatch.primary {
  background-color: var(--primary);
}

.color-swatch.white {
  background-color: var(--white);
  border: 1px solid var(--charcoal);
}

.color-swatch.charcoal {
  background-color: var(--charcoal);
}

.color-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--xs);
  font-family: var(--font-body);
}

.color-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark-gray);
  margin-bottom: var(--md);
}

.color-description {
  font-size: 14px;
  line-height: 22px;
  color: var(--dark-gray);
}

/* ========== Typography Section ========== */
.typography {
  padding: var(--margin-desktop) var(--gutter);
  background-color: var(--white);
  border-bottom: 1px solid var(--gray);
}

.typography h2 {
  text-align: center;
}

.typography-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--lg);
  margin-top: var(--lg);
}

.typography-item {
  background-color: var(--surface);
  border: 1px solid var(--gray);
  padding: var(--md);
}

.type-display {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 400;
  line-height: 80px;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: var(--md);
}

.type-headline {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  line-height: 56px;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin-bottom: var(--md);
}

.type-body {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--charcoal);
  margin-bottom: var(--md);
}

.type-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: var(--md);
}

.type-spec {
  font-size: 12px;
  color: var(--dark-gray);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: var(--sm);
}

.type-description {
  font-size: 14px;
  line-height: 22px;
  color: var(--dark-gray);
}

/* ========== Services Section ========== */
.services {
  padding: var(--margin-desktop) var(--gutter);
  background-color: var(--surface);
  border-bottom: 1px solid var(--gray);
}

.services h2 {
  text-align: center;
}

.section-subtitle {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--lg);
  font-size: 18px;
  color: var(--dark-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--md);
  margin-top: var(--lg);
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--gray);
  padding: var(--md);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
}

.service-number {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: var(--md);
}

.service-card h3 {
  font-size: 24px;
  line-height: 32px;
  margin-bottom: var(--md);
  color: var(--charcoal);
}

.service-card p {
  font-size: 16px;
  line-height: 24px;
  color: var(--dark-gray);
}

/* Footer styles live in src/components/Footer.css */

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
    line-height: 44px;
  }

  h1 {
    font-size: 36px;
    line-height: 44px;
  }

  h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--md);
  }

  .hero {
    padding: var(--margin-mobile) var(--gutter);
  }

  .color-architecture,
  .typography,
  .services {
    padding: var(--margin-mobile) var(--gutter);
  }

  .type-display {
    font-size: 48px;
  }

  .type-headline {
    font-size: 32px;
  }
}
:root {
  --navbar-height: 61px;
  /* Space between nav trigger and mega panel (Appnox-style “floating” menu) */
  --nav-dropdown-gap: 26px;
  --nav-dropdown-radius: 16px;
  --nav-dropdown-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

/* ========== Navigation ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 226, 226, 0.6);
  z-index: 200;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.38s ease,
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  will-change: transform, opacity;
}

.navbar--hidden {
  transform: translateY(calc(-100% - 2px));
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.34s cubic-bezier(0.4, 0, 0.68, 0.06),
    opacity 0.28s ease,
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.navbar-spacer {
  height: var(--navbar-height, 61px);
  flex-shrink: 0;
  pointer-events: none;
}

/* Homepage hero: transparent overlay navbar */
.navbar--hero {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  --navbar-height: 76px;
}

.navbar--hero .navbar__container {
  max-width: none;
  padding: 0;
}

.navbar--hero .nav-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background:transparent;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  gap: 32px;
  padding: 20px clamp(24px, 5vw, 64px);
  /* max-width: 1600px; */
  margin: 0 auto;
  border-radius: 0;
  transition:
    background 0.4s ease,
    backdrop-filter 0.4s ease,
    box-shadow 0.4s ease;
}

.navbar--hero.navbar--scrolled .nav-content {
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.navbar:not(.navbar--hero).navbar--scrolled {
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
}

.navbar--revealing.navbar--hero .nav-content {
  animation: navbar-glass-enter 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.navbar--hero .logo {
  grid-column: 1;
  justify-self: start;
}

.navbar--hero .logo__mark {
  height: 36px;
  width: 36px;
}

.navbar--hero .nav-links--desktop {
  grid-column: 2;
  display: flex;
  justify-content: center;
  flex: none;
}

.navbar--hero .nav-links__center {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar--hero .nav-links__actions--desktop {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar--hero .nav-item > a,
.navbar--hero .nav-links > a:not(.btn),
.navbar--hero .nav-links__center > a:not(.btn) {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.navbar--hero .nav-item > a:hover,
.navbar--hero .nav-links > a:not(.btn):hover,
.navbar--hero .nav-links__center > a:not(.btn):hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
}

.navbar--hero .nav-item--active > a,
.navbar--hero .nav-links > a.nav-link--active,
.navbar--hero .nav-item > a.nav-link--active {
  color: var(--white);
}

.navbar--hero .dropdown-toggle svg {
  opacity: 0.7;
  width: 14px;
  height: 14px;
}

.navbar--hero .portal-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
  font-size: 14px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.navbar--hero .portal-link:hover {
  color: var(--white);
  opacity: 1;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar--hero .btn-primary {
  background:var(--primary);
  border: none !important;
  border-radius: 8px !important;
  padding: 11px 22px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  white-space: nowrap;
}

.navbar--hero .btn-primary:hover {
  background: linear-gradient(135deg, #8b6ff7 0%, #6b9af1 100%) !important;
  box-shadow: 0 6px 24px rgba(105, 90, 242, 0.45);
  transform: none;
}

.navbar--hero .nav-menu-toggle {
  grid-column: 3;
  justify-self: end;
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

.navbar--hero .nav-menu-toggle:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.navbar--hero.navbar--menu-open {
  background: var(--white);
  border-bottom: 1px solid var(--gray);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
}

.navbar--hero.navbar--menu-open .nav-content {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  animation: none;
}

.navbar--hero.navbar--menu-open .nav-menu-toggle {
  color: var(--charcoal);
  background: var(--white);
  border-color: var(--gray);
}

.navbar--menu-open {
  z-index: 250;
  transform: translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

@keyframes navbar-glass-enter {
  from {
    opacity: 0.6;
    filter: blur(2px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .navbar,
  .navbar--hidden {
    transition: none;
  }

  .navbar--hero .nav-content,
  .navbar--revealing.navbar--hero .nav-content {
    animation: none;
  }
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--md) var(--gutter);
  position: relative;
}

.navbar .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
  opacity: 1;
  width: auto;
}

.navbar .logo__mark {
  height: 50px;
  width: 50px;
  max-width: none;
  display: block;
}

.nav-links {
  display: flex;
  gap: var(--md);
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links__center,
.nav-links__actions--desktop {
  display: contents;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-item > a:hover {
  color: var(--primary);
  background-color: rgba(105, 90, 242, 0.05);
}

.nav-item--active > a,
.nav-links > a.nav-link--active,
.nav-item > a.nav-link--active {
  color: var(--primary);
}

.dropdown-toggle svg {
  transition: transform 0.3s ease;
  stroke-width: 2;
}

.dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: calc(-1 * var(--nav-dropdown-gap));
  left: 0;
  right: 0;
  height: 500px;
  z-index: 999;
  pointer-events: auto;
}

.nav-item:hover .dropdown-toggle svg {
  transform: rotate(180deg);
}

/* Invisible hover bridge so the gap under the nav doesn’t close the menu */
.dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * var(--nav-dropdown-gap));
  height: var(--nav-dropdown-gap);
}

.dropdown-lg::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * var(--nav-dropdown-gap));
  height: var(--nav-dropdown-gap);
}

/* Dropdown Menu */
.dropdown {
  position: absolute;
  top: calc(100% + var(--nav-dropdown-gap));
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background-color: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--nav-dropdown-radius);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  width: fit-content;
  max-width: min(920px, calc(100vw - 32px));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
  pointer-events: none;
  box-shadow: var(--nav-dropdown-shadow);
  z-index: 1000;
  white-space: normal;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Services: align to trigger (avoids clipping when centered) + stable 3-col width */
.dropdown.dropdown-mega--services {
  left: 0;
  right: auto;
  transform: translateX(0) translateY(-8px);
  width: min(720px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nav-item:hover .dropdown.dropdown-mega--services {
  transform: translateX(0) translateY(0);
}

.dropdown-lg {
  position: absolute;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) translateY(-8px) !important;
  width: min(1120px, calc(100vw - 40px)) !important;
  max-width: min(1120px, calc(100vw - 40px)) !important;
  background-color: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--nav-dropdown-radius);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
  box-shadow: var(--nav-dropdown-shadow);
  z-index: 1000;
  white-space: normal;
  top: calc(100% + var(--nav-dropdown-gap));
  align-items: start;
}

.dropdown-lg.dropdown-mega--who {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(1280px, calc(100vw - 40px)) !important;
  max-width: min(1280px, calc(100vw - 40px)) !important;
  position: absolute;
  left: 50%;
  right: auto;
  top: calc(100% + var(--nav-dropdown-gap));
  transform: translateX(-50%) translateY(-8px) !important;
}

.nav-item:hover .dropdown-lg.dropdown-mega--who {
  transform: translateX(-50%) translateY(0) !important;
}

.nav-item:hover .dropdown-lg {
  transform: translateX(-50%) translateY(0) !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

/* Appnox-style pastel column headers */
.dropdown-mega__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--charcoal);
  margin: 0;
}

.dropdown-mega__head-icon {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--charcoal);
  opacity: 0.85;
}

.dropdown-mega__head-label {
  white-space: normal;
}

.dropdown-mega__head--accent-1 {
  background: #e5f7ef;
}

.dropdown-mega__head--accent-2 {
  background: #fde9e0;
}

.dropdown-mega__head--accent-3 {
  background: #eee8fc;
}

.dropdown-mega__head--accent-4 {
  background: #fdf3d9;
}

.dropdown-mega__head--accent-5 {
  background: #e8f2ff;
}

.dropdown-mega__more-btn {
  align-self: flex-start;
  margin-top: 2px;
  padding: 6px 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dropdown-mega__more-btn:hover {
  color: var(--primary-dark);
}

.dropdown-mega__list--extra {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.dropdown-column h5 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--gray);
  padding-bottom: var(--sm);
}

.pillar-main {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: var(--sm) 0;
  transition: color 0.2s ease;
}

.pillar-main:hover {
  color: var(--primary-dark);
}

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

.dropdown-column ul li {
  margin: 0;
  padding: 0;
}

.dropdown-mega__list li a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.2s ease;
  padding: 2px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.dropdown-mega__link-label {
  flex: 1;
  min-width: 0;
}

.dropdown-mega__list li a .external-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
  margin-left: 4px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.dropdown-mega__list li a:hover .external-icon {
  transform: translate(1px, -1px);
}



.dropdown-mega__list li a:hover {
  color: var(--primary);
}

.dropdown-section--practice {
  min-width: 0;
}

/* Compact dropdown for single-column menus */
.dropdown--compact {
  padding: clamp(1rem, 2vw, 1.35rem);
  gap: 0;
  grid-template-columns: 1fr;
  min-width: min(280px, calc(100vw - 32px));
}

.dropdown--compact .dropdown-column ul {
  gap: 10px;
}

/* Dropdown sections for large dropdowns */
.dropdown-section {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-bottom: 0;
  border-bottom: none;
}

.dropdown-section:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.dropdown-mega .dropdown-section h5 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-self: start;
}

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

.dropdown-section ul li {
  margin: 0;
  padding: 0;
}

.dropdown-section ul li a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  transition: color 0.2s ease;
  padding: 4px 0;
  display: block;
}

.dropdown-section ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.dropdown-mega .dropdown-section ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  font-weight: 500;
}

.dropdown-mega .dropdown-section ul li a:hover {
  padding-left: 0;
}

/* Regular nav links (exclude .btn e.g. Book a call  keep App.css button colors) */
.nav-links > a:not(.btn),
.nav-links__center > a:not(.btn) {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-links > a:not(.btn):hover,
.nav-links__center > a:not(.btn):hover {
  color: var(--primary);
  background-color: rgba(105, 90, 242, 0.05);
}

.portal-link {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 1px solid var(--gray);
  background-color: var(--white);
}

.portal-link:hover {
  background-color: var(--light-gray);
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.btn-primary {
  padding: 10px 20px !important;
  font-size: 14px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
  border: 1px solid var(--primary) !important;
}

.btn-primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(105, 90, 242, 0.3) !important;
}

@media (max-width: 1200px) {
  .dropdown {
    max-width: min(920px, calc(100vw - 32px));
  }

  .dropdown-lg {
    width: min(1120px, calc(100vw - 32px)) !important;
    max-width: min(1120px, calc(100vw - 32px)) !important;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    gap: var(--sm);
  }

  .nav-links > a:not(.btn) {
    font-size: 13px;
  }

  .dropdown {
    max-width: calc(100vw - 32px);
    gap: var(--md);
  }

  .dropdown-lg {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }

  .dropdown-lg.dropdown-mega--who {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dropdown-section--practice {
    grid-column: 1 / -1;
  }
}

/* ========== Mobile menu toggle ========== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: 4px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.nav-menu-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-menu-toggle:hover {
  border-color: var(--charcoal);
}

.nav-menu-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.nav-overlay {
  display: none;
  position: fixed;
  top: var(--navbar-height, 57px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(26, 28, 29, 0.45);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-overlay--visible {
  opacity: 1;
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  top: var(--navbar-height, 57px);
  right: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  width: min(100%, 380px);
  height: calc(100dvh - var(--navbar-height, 57px));
  max-height: calc(100dvh - var(--navbar-height, 57px));
  background: var(--white);
  border-left: 1px solid var(--gray);
  box-shadow: -8px 0 32px rgba(26, 28, 29, 0.12);
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 0.3s ease,
    visibility 0.3s ease;
}

.mobile-nav--open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav__scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--sm, 16px) var(--gutter, 24px) var(--md, 32px);
  -webkit-overflow-scrolling: touch;
}

.mobile-nav__top-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  border-bottom: 1px solid var(--gray);
  transition: color 0.2s ease;
}

.mobile-nav__top-link:hover {
  color: var(--primary);
}

.mobile-nav__group {
  border-bottom: 1px solid var(--gray);
}

.mobile-nav__group-head {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.mobile-nav__group-link {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav__group-link:hover {
  color: var(--primary);
}

.mobile-nav__group-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  padding: 0;
  color: var(--charcoal);
  background: transparent;
  border: none;
  border-left: 1px solid var(--gray);
  cursor: pointer;
}

.mobile-nav__group-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--charcoal);
  stroke-width: 1.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.mobile-nav__group--open .mobile-nav__group-toggle svg {
  transform: rotate(180deg);
}

.mobile-nav__group-panel {
  padding: 0 0 16px;
}

.mobile-nav__block {
  margin-bottom: 14px;
}

.mobile-nav__block:last-child {
  margin-bottom: 0;
}

.mobile-nav__block-title {
  margin: 0 0 8px;
  padding: 8px 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--charcoal);
  border-radius: 8px;
}

.mobile-nav__block-title--accent-1 {
  background: #e5f7ef;
}

.mobile-nav__block-title--accent-2 {
  background: #fde9e0;
}

.mobile-nav__block-title--accent-3 {
  background: #eee8fc;
}

.mobile-nav__block-title--accent-4 {
  background: #fdf3d9;
}

.mobile-nav__block-title--accent-5 {
  background: #e8f2ff;
}

.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav__list--flat {
  padding-top: 4px;
}

.mobile-nav__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--dark-gray);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav__item:hover {
  color: var(--primary);
}

.mobile-nav__item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.6;
}

.mobile-nav__footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--md, 32px) var(--gutter, 24px);
  padding-bottom: max(var(--md, 32px), env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--gray);
  background: var(--surface);
}

.mobile-nav__portal {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  text-align: center;
}

.mobile-nav__portal:hover {
  color: var(--primary-dark);
}

.mobile-nav__cta {
  width: 100%;
  justify-content: center;
  text-align: center;
}

@media (max-width: 1023px) {
  :root {
    --navbar-height: 57px;
  }

  .navbar--hero .nav-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px var(--gutter, 24px);
    max-width: none;
  }

  .navbar--hero .nav-links--desktop,
  .navbar--hero .nav-links__actions--desktop {
    display: none !important;
  }

  .navbar--hero .logo__mark {
    height: 32px;
    width: 32px;
  }

  .nav-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px var(--gutter, 24px);
  }

  .navbar .logo__mark {
    height: 40px;
  }

  .nav-menu-toggle {
    display: flex;
  }

  .nav-overlay {
    display: block;
    pointer-events: none;
  }

  .nav-overlay--visible {
    pointer-events: auto;
  }

  .nav-links--desktop {
    display: none !important;
  }

  .nav-item:hover .dropdown,
  .nav-item:hover .dropdown-lg {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@media (min-width: 1024px) {
  .mobile-nav,
  .nav-overlay,
  .nav-menu-toggle {
    display: none !important;
  }

  .nav-content {
    gap: 16px;
  }

  .nav-links--desktop {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    gap: var(--md);
  }

  .nav-links__center {
    display: flex;
    align-items: center;
    gap: var(--md);
  }

  .nav-links__actions--desktop {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }

  .navbar--hero .nav-links--desktop {
    flex: none;
    justify-content: center;
  }

  .navbar--hero .nav-links__center {
    gap: 36px;
  }
}

@media (min-width: 1024px) and (max-width: 1280px) {
  .navbar--hero .nav-links__center {
    gap: 24px;
  }

  .navbar--hero .nav-item > a,
  .navbar--hero .nav-links__center > a:not(.btn),
  .navbar--hero .portal-link {
    font-size: 13px;
  }
}
/* ========== Footer  light glass + soft neo, primary accent ========== */
.footer {
  padding: var(--sm) 8px 10px;
  background: transparent;
  color: var(--charcoal);
}

@media (min-width: 768px) {
  .footer {
    padding: var(--md) clamp(6px, 1.2vw, 14px) clamp(8px, 1.2vw, 18px);
  }
}
.footer__card{
  position:relative;
  overflow:hidden;

  background:#fff;
  border:1px solid #ececec;
  border-radius:32px;

  box-shadow:
  0 10px 40px rgba(0,0,0,.05);
}
.footer__contact a{
  text-decoration: none;
  color: #222;
  border: 1px solid #695af1;
  border-radius: 12px;
  padding: 8px 16px;
  transition: all 0.3s ease-in-out;
}
.footer__contact a:hover{
  background-color: #695af1;
  color: white;
}
.footer__cta{
  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:32px;
  background-color: #F5F1FF;

  margin:40px;
  padding:28px 32px;

  border:1px solid #ececec;
  border-radius:24px;
}

.footer__cta-left{
  display:flex;
  align-items:center;
  gap:24px;
}

.footer__cta-icon{
  width:300px;
  height:150px;
  /* border-radius:50%; */
  background:#f5f1ff;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:28px;
}

.footer__cta h3{
  margin:0;
  font-size:28px;
}

.footer__cta p{
  margin:8px 0 0;
  color:#666;
}

.footer__cta-btn{
  background:#695af1;
  color:white;
  padding:18px 28px;
  text-decoration:none;
  border-radius:12px;
}
.footer__cta-btn:hover{
  border:1px solid #695af1;
  background-color: #fff;
  color: #695af1;
  transition: all 0.3s ease-in-out;
  transform: scale(1.05);
}
.footer__grid{
  display:grid;
  grid-template-columns:
  1.2fr
  1fr
  1fr
  1fr
  1fr;

  padding:0 40px 40px;
}

.footer__col{
  padding:0 36px;
  border-left:1px solid #ededed;
}

.footer__col:first-child{
  border-left:none;
}

.footer__col-heading{
  color:#695af1;
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  margin-bottom:28px;
}

.footer__logo{
  width:80px;
  margin-bottom:20px;
}

.footer__tagline{
  max-width:220px;
  line-height:1.7;
  color:#555;
}

.footer__social{
  display:flex;
  gap:16px;
  margin-top:32px;
}

.footer__social a{
  width:52px;
  height:52px;
  border-radius:50%;
  background:#f5f1ff;

  display:flex;
  align-items:center;
  justify-content:center;

  color:#695af1;
}

.footer__list{
  display:flex;
  flex-direction:column;
  gap:22px;

  list-style:none;
  padding:0;
  margin:0;
}

.footer__list a{
  display:flex;
  justify-content:space-between;
  align-items:center;

  color:#222;
  text-decoration:none;
}

.footer__contact{
  display:flex;
  flex-direction:column;
  gap:24px;

  color:#444;
}

.footer__audit-link{
  margin-top:32px;
  display:inline-flex;
  align-items:center;
  color:#695af1;
  text-decoration: none;
  border: 1px solid #695af1;
  border-radius: 12px;
  padding: 8px 16px;
  font-weight:600;
}
.footer__audit-link:hover{
  background-color: #695af1;
  color: white;
  
}
.footer-sub{
  border-top:1px solid #ececec;
  margin:0 40px;
  padding:24px 0;
}

.footer-sub__row{
  display:flex;
  gap:12px;
  color:#777;
}

.footer__stethoscope{
  position:absolute;
  top:10px;
  right:250px;
/* z-index: 0; */
  width:620px;
  pointer-events:none;
}

.footer__ecg{
  position:absolute;

  right:80px;
  bottom:18px;

  width:280px;
  height:40px;

  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 40'%3E%3Cpath d='M0,20 L10,19 L20,21 L30,18 L40,22 L50,15 L60,25 L70,10 L80,30 L90,20 L100,19 L110,21 L120,18 L130,22 L140,15 L150,25 L160,5 L170,35 L180,20 L190,19 L200,21 L210,18 L220,22 L230,15 L240,25 L250,10 L260,30 L270,20 L280,19 L290,21 L300,18 L310,22 L320,15 L330,25 L340,5 L350,35 L360,20 L370,19 L380,21 L390,18 L400,22 L410,15 L420,25 L430,10 L440,30 L450,20 L460,19 L470,21 L480,18 L490,22 L500,15 L510,25 L520,5 L530,35 L540,20 L550,19 L560,21' fill='none' stroke='%23695af1' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 560px 40px;
  opacity:.6;
  animation: ecg-move 5s linear infinite;
}

@keyframes ecg-move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -560px 0;
  }
}.homepage {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ========== Design System Variables ========== */
:root {
  --hero-bg: #050505;
  --hero-gradient: linear-gradient(135deg, #7b5cf5 0%, #5b8def 100%);
  --hero-text-muted: rgba(255, 255, 255, 0.55);
  --hero-stats-bg: rgba(20, 20, 22, 0.72);
  --navbar-height: 76px;
}

/* ========== Home Hero Section ========== */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--hero-bg);
  font-family: var(--font-body);
  color: var(--white);
  overflow: hidden;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 5, 5, 0.97) 0%,
    rgba(5, 5, 5, 0.88) 38%,
    rgba(5, 5, 5, 0.45) 62%,
    rgba(5, 5, 5, 0.25) 100%
  );
}

.home-hero__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--navbar-height) + 48px) var(--gutter) 40px;
}

.home-hero__main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}

/* Eyebrow */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hero-text-muted);
  margin: 0 0 28px;
}

.hero-eyebrow__line {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--hero-gradient);
  flex-shrink: 0;
}

/* Headline */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.hero-headline__line {
  display: block;
}

.hero-headline__line--gradient {
  font-style: italic;
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Sub-headline */
.hero-subheadline {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 36px;
  max-width: 420px;
}

/* CTA Buttons */
.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
}

.hero-btn--primary {
  background: var(--primary);
  color: var(--white);
  /* box-shadow: 0 4px 20px rgba(105, 90, 242, 0.35); */
}

.hero-btn--primary:hover {
  box-shadow: 0 6px 28px rgba(105, 90, 242, 0.5);
  transform: translateY(-1px);
}

.hero-btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
}

.hero-btn__arrow {
  width: 18px;
  height: 18px;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.hero-btn:hover .hero-btn__arrow--right {
  transform: translateX(3px);
}

.hero-btn:hover .hero-btn__arrow--down {
  transform: translateY(3px);
}

/* Testimonial */
.hero-testimonial {
  margin: 0;
  padding: 0 0 8px;
  max-width: 340px;
  justify-self: end;
  align-self: end;
}

.hero-testimonial__quote {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}

.hero-testimonial__text {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 20px;
}

.hero-testimonial__divider {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #7b5cf5 0%, rgba(91, 141, 239, 0.2) 100%);
  margin-bottom: 16px;
}

.hero-testimonial__attribution {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-style: normal;
}

.hero-testimonial__attribution cite {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  font-style: normal;
}

.hero-testimonial__attribution span {
  font-size: 13px;
  color: var(--hero-text-muted);
}

/* Stats Bar */
.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--hero-stats-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 28px 16px;
  margin-bottom: 36px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat__icon {
  width: 20px;
  height: 20px;
  color: #7b5cf5;
  margin-bottom: 12px;
}

.hero-stat__number {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.hero-stat__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hero-text-muted);
  line-height: 1.4;
}

/* Trust Bar */
.hero-trust {
  text-align: center;
  padding-bottom: 8px;
}

.hero-trust__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hero-text-muted);
  margin: 0 0 20px;
}

.hero-trust__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 48px);
}

.hero-trust__logo {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

a.hero-trust__logo:hover {
  color: rgba(255, 255, 255, 0.75);
}

.hero-trust__more {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
}

/* ========== Responsive Design ========== */
@media (max-width: 1100px) {
  .home-hero__main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-testimonial {
    justify-self: start;
    max-width: 480px;
  }

  .hero-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
    padding: 24px 12px;
  }

  .hero-stat {
    border-right: none;
    padding: 0 20px;
  }

  .hero-stat:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 768px) {
  .home-hero__content {
    padding-top: calc(var(--navbar-height) + 32px);
    padding-bottom: 32px;
  }

  .hero-headline {
    font-size: 36px;
  }

  .hero-subheadline {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .hero-cta-buttons {
    flex-direction: column;
  }

  .hero-btn {
    width: 100%;
  }

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

  .hero-stat:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-stat:nth-child(even) {
    border-right: none;
  }

  .hero-trust__logos {
    gap: 16px 24px;
  }

  .hero-trust__logo {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 32px;
  }

  .hero-stats-bar {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-stat {
    border-right: none !important;
    padding: 0 16px;
  }

  .hero-testimonial__text {
    font-size: 15px;
  }
}
