:root {
  /* --- Brand Colors --- */
  --color-primary-start: #7c3aed; /* Violet */
  --color-primary-end: #06b6d4;   /* Cyan */
  --color-accent: #ff6b6b;        /* Coral */
  --color-secondary: #ddd6fe;     /* Soft Lilac */

  /* --- Neutrals --- */
  --color-neutral-dark: #0d0d0d;  /* Ink */
  --color-neutral-light: #fafafa; /* Ghost White */

  /* --- Semantic Roles (Shorthands for cleaner code) --- */
  --bg-base: var(--color-neutral-light);
  --bg-surface: var(--color-secondary);
  --text-main: var(--color-neutral-dark);
  --text-inverse: var(--color-neutral-light);
  
  /* --- Gradients --- */
  --gradient-primary: linear-gradient(
    135deg, 
    var(--color-primary-start), 
    var(--color-primary-end)
  );

  /* section vars */
  --page-max-width: 1440px;
  --padding-inline: clamp(1.25rem, 3.5vw, 2rem);
  --header-height: 80px;

  /* Spacing & Layout */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 5rem;
  --header-h: 80px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --hero-title-mb: clamp(0.8rem, 0.4vw + 0.6rem, 1.6rem);

  /* Fonts & Weights */
  --font-display: neue-haas-grotesk-display, sans-serif;
  --font-text: neue-haas-grotesk-text, sans-serif;

  --fw-light: 400;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --fw-black: 900;

  --line-height-reset: 1;
  --line-height-tight: 1.1;
  --line-height-snug: 1.22;
  --line-height-normal: 1.35;
  --line-height-relaxed: 1.45;

  --font-montserrat: 'Montserrat', sans-serif;
}

/* =========================
   FLUID BODY TYPOGRAPHY
   ========================= */

@supports (font-size: clamp(1rem, 1vw, 1rem)) {
  :root {
    --text-xs: clamp(0.79rem, 0.05vw + 0.78rem, 0.82rem);
    --text-s: clamp(0.89rem, 0.14vw + 0.86rem, 0.99rem);
    --text-m: clamp(1rem, 0.27vw + 0.95rem, 1.19rem);
    --text-l: clamp(1.13rem, 0.43vw + 1.04rem, 1.43rem);
    --text-xl: clamp(1.27rem, 0.63vw + 1.14rem, 1.71rem);
  }
}

/* fallback */
@supports not (font-size: clamp(1rem, 1vw, 1rem)) {
  :root {
    --text-xs: 0.79rem;
    --text-s: 0.89rem;
    --text-m: 1rem;
    --text-l: 1.13rem;
    --text-xl: 1.27rem;
  }

  @media (min-width: 1440px) {
    :root {
      --text-xs: 0.82rem;
      --text-s: 0.99rem;
      --text-m: 1.19rem;
      --text-l: 1.43rem;
      --text-xl: 1.71rem;
    }
  }
}


/* =========================
   FLUID HEADINGS
   ========================= */

@supports (font-size: clamp(1rem, 1vw, 1rem)) {
  :root {
    --headings-h6: clamp(0.77rem, 0.02vw + 0.76rem, 0.8rem);
    --headings-h5: clamp(1rem, 0.05vw + 0.99rem, 1.03rem);
    --headings-h4: clamp(1.25rem, 0.18vw + 1.21rem, 1.38rem);
    --headings-h3: clamp(1.56rem, 0.39vw + 1.49rem, 1.83rem);
    --headings-h2: clamp(1.95rem, 0.7vw + 1.81rem, 2.44rem);
    --headings-h1: clamp(2.44rem, 1.16vw + 2.21rem, 3.26rem);
    --headings-hero-title: clamp(3.05rem, 1.84vw + 2.68rem, 4.34rem);
  }
}

/* fallback */
@supports not (font-size: clamp(1rem, 1vw, 1rem)) {
  :root {
    --headings-h6: 0.77rem;
    --headings-h5: 1rem;
    --headings-h4: 1.25rem;
    --headings-h3: 1.56rem;
    --headings-h2: 1.95rem;
    --headings-h1: 2.44rem;
    --headings-hero-title: 3.05rem;
  }

  @media (min-width: 1440px) {
    :root {
      --headings-h6: 0.8rem;
      --headings-h5: 1.03rem;
      --headings-h4: 1.38rem;
      --headings-h3: 1.83rem;
      --headings-h2: 2.44rem;
      --headings-h1: 3.26rem;
      --headings-hero-title: 4.34rem;
    }
  }
}

/* Misc general css */
h1, h2 {
  line-height: var(--line-height-tight);
}

h3, h4, h5, h6 {
  line-height: var(--line-height-normal);
}

p, li {
  line-height: var(--line-height-relaxed);
}

/* Removes the mobile tap highlight from all clickable elements */
a, 
button, 
summary, 
input, 
textarea {
    -webkit-tap-highlight-color: transparent;
}

/* Sticky positioning */
#brx-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

/* Wrapper to control the size */
.logo-wrapper {
  width: 80px; 
  height: 80px;
  display: block;
}
/* Logo color animation */
@keyframes color-cycle {
  0%   { fill: var(--color-primary-start); } /* Violet */
  25%  { fill: var(--color-primary-end); }   /* Cyan */
  50%  { fill: var(--color-accent); }        /* Coral */
  75%  { fill: var(--color-secondary); }     /* Soft Lilac */
  100% { fill: var(--color-primary-start); } /* Loop back to Violet */
}

.logo-background-color {
  fill: var(--color-logo-return); 
  transition: fill 0.3s ease-in-out;
}

.logo-wrapper.is-animated .logo-background-color {
  animation: color-cycle 14s ease-in-out infinite;
}

.logo-wrapper:hover .logo-background-color {
  fill: #e53510;
}

.logo-wrapper.header-transparent .logo-background-color {
  fill: #FFFFFF;
}

.logo-wrapper.header-sticky .logo-background-color {
  fill: #000000;
}

/* Glassy dark effect */
.main-header {
  height: 80px;
  padding: 0 !important;
  background: rgba(10, 10, 10, 0.55) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Inner layout */
.inner-header {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  max-width: 100%;
  padding-inline: 0 1.5rem !important;
}

/* Logo white */
.logo-background-color {
  fill: white;
}

/* Logo size */
.logo-container {
  display: block;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  margin-right: auto;
}

/* general section css */

.section-inner {
  width: 100%;
  max-width: var(--page-max-width);
  margin-inline: auto;
}

@media (max-width: 991px) {
  .section-inner {
    padding-inline: var(--padding-inline);
  }
}

/* Hero Section CSS */

.section-hero {
  padding-top: calc(var(--header-height) + clamp(3rem, 6vw, 6rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--gradient-primary);
}

.home-hero-title {
    color: var(--color-text-on-accent, #FFFFFF);
    font-family: var(--font-montserrat);
    font-weight: var(--fw-black);
    line-height: var(--line-height-tight);
    font-size: var(--headings-h1);
    width: 70%;
}