:root {
  --dev-bar-height: 32px;
  --header-height: 72px;
  --site-top-offset: calc(var(--dev-bar-height) + var(--header-height));
  --font-size: 16px;
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.145 0 0);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.145 0 0);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.985 0 0);
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: oklch(0.269 0 0);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: oklch(0.396 0.141 25.723);
  --destructive-foreground: oklch(0.637 0.237 25.331);
  --border: oklch(0.269 0 0);
  --input: oklch(0.269 0 0);
  --ring: oklch(0.439 0 0);
  --font-weight-medium: 500;
  --font-weight-normal: 400;
  --chart-1: oklch(0.488 0.243 264.376);
  --chart-2: oklch(0.696 0.17 162.48);
  --chart-3: oklch(0.769 0.188 70.08);
  --chart-4: oklch(0.627 0.265 303.9);
  --chart-5: oklch(0.645 0.246 16.439);
  --sidebar: oklch(0.205 0 0);
  --sidebar-foreground: oklch(0.985 0 0);
  --sidebar-primary: oklch(0.488 0.243 264.376);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.269 0 0);
  --sidebar-accent-foreground: oklch(0.985 0 0);
  --sidebar-border: oklch(0.269 0 0);
  --sidebar-ring: oklch(0.439 0 0);

  /* Derived from theme.css inline theme */
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-input-background: var(--input-background);
  --color-switch-background: var(--switch-background);
  --color-ring: var(--ring);
  --radius: 0.625rem;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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

body {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.15s ease-in;
}

body.site-ready {
  opacity: 1;
}

main,
section,
header,
footer,
div,
article,
aside,
nav {
  max-width: 100%;
  min-width: 0;
}

img,
video,
canvas,
svg,
iframe {
  max-width: 100%;
}

.site-dev-bar {
  background: linear-gradient(90deg, #FF000D 0%, #990008 100%);
  color: white;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 40px;
  padding: 8px 48px 8px 16px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
  transition: transform 0.3s ease, opacity 0.3s ease;
  isolation: isolate;
}

.site-dev-bar .close-dev-bar {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  opacity: 0.6;
  transition: opacity 0.2s;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.site-dev-bar .dev-tag,
.site-dev-bar .dev-cta,
.site-dev-bar .dev-line {
  flex: 0 0 auto;
  white-space: nowrap;
}

.site-dev-bar .dev-line {
  display: inline;
  margin: 0;
}

.site-dev-bar .close-dev-bar:hover {
  opacity: 1;
}

.dev-bar-closed .site-dev-bar {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}


.site-dev-bar .dev-tag {
  background: white;
  color: #FF000D;
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 900;
  margin-right: 12px;
  text-transform: uppercase;
}

.site-dev-bar .dev-cta {
  color: white;
  display: inline-block;
  text-decoration: underline;
  margin-left: 8px;
  font-weight: 800;
  white-space: normal;
}

.site-dev-bar .dev-cta:hover {
  color: rgba(255, 255, 255, 0.8);
}

.site-dev-bar.dev-bar-stacked {
  text-align: center;
}

.site-dev-bar.dev-bar-stacked .dev-tag,
.site-dev-bar.dev-bar-stacked .dev-line,
.site-dev-bar.dev-bar-stacked .dev-cta {
  display: inline;
  margin: 0;
}

/* Adjust header top when banner exists */
header.fixed {
  top: var(--dev-bar-height);
  z-index: 110;
  transition: top 0.3s ease;
}

body.dev-bar-closed {
  --dev-bar-height: 0px;
}


body {
  padding-top: var(--site-top-offset);
  overflow-x: hidden;
  transition: padding-top 0.3s ease;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .site-dev-bar {
    min-height: 30px;
    font-size: 10px;
    text-align: center;
    letter-spacing: 0.01em;
    padding: 6px 34px 6px 10px;
    gap: 6px;
    justify-content: center;
  }

  .site-dev-bar .dev-tag {
    font-size: 9px;
    padding: 1px 6px;
    margin-right: 0;
  }

  .site-dev-bar .dev-cta {
    margin-left: 0;
    font-size: 10px;
  }

  .site-dev-bar .dev-line:last-of-type,
  .site-dev-bar .dev-copy-secondary {
    display: none;
  }

  .site-dev-bar .close-dev-bar {
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
  }

  .mobile-nav-backdrop,
  .mobile-nav-drawer {
    max-width: 100vw;
  }
}

@media (max-width: 420px) {
  .site-dev-bar {
    font-size: 9px;
    padding-right: 30px;
  }

  .site-dev-bar .dev-cta {
    display: none;
  }
}

#heroSection {
  margin-top: calc(var(--site-top-offset) * -1) !important;
  padding-top: var(--site-top-offset) !important;
}

.mobile-nav-toggle {
  display: none;
}

.mobile-nav-backdrop {
  position: fixed;
  top: var(--site-top-offset);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 99;
}

.mobile-nav-drawer {
  position: fixed;
  top: var(--site-top-offset);
  right: 0;
  height: calc(100dvh - var(--site-top-offset));
  width: min(88vw, 360px);
  background: rgba(8, 8, 8, 0.98);
  border-left: 1px solid #1a1a1a;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid #1a1a1a;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
  overflow-y: auto;
}

.mobile-nav-link {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover {
  background: rgba(255, 0, 13, 0.1);
  color: #ff000d;
}

body.mobile-nav-open {
  overflow: hidden;
}

body.mobile-nav-open .mobile-nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.mobile-nav-open .mobile-nav-drawer {
  transform: translateX(0);
}

@media (max-width: 1023px) {
  .mobile-nav-toggle {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid #1f1f1f;
    background: rgba(255, 255, 255, 0.02);
  }

  .desktop-only-cta {
    display: none !important;
  }
}


body {
  background-color: var(--background);
  /* Fallback/Base */
  color: var(--foreground);
  font-family: 'Inter', sans-serif;
}

.nav-link-active {
  background-color: #FF000D;
  color: white !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.animate-fadeIn {
  animation: fadeIn 0.4s ease-out;
}

/* Standardized Navigation Styles */
.nav-link-active {
  background-color: #FF000D;
  color: white !important;
}

/* Expandable Search Transition */
.search-form-expandable {
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
}

.search-active .search-form-expandable {
  width: 300px;
  opacity: 1;
  visibility: visible;
}