:root {
  /* Colors */
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cad5e2;
  --color-slate-400: #94a3b8;
  --color-slate-500: #62748e;
  --color-slate-600: #475569;
  --color-slate-900-rgb: 15 23 42; /* #0f172a */
  --color-primary-rgb: 0 0 0;
  --color-on-primary-rgb: 255 255 255;
  --color-primary-container: #131b2e;
  --color-on-primary-container-rgb: 124 131 155; /* #7c839b */
  --color-primary-fixed: #dae2fd;
  --color-primary-fixed-dim: #bec6e0;
  --color-on-primary-fixed: #131b2e;
  --color-on-primary-fixed-variant: #3f465c;
  --color-secondary-rgb: 0 104 122; /* #00687a */
  --color-secondary-500-rgb: 0 151 177; /* #0097b1 */
  --color-on-secondary: #ffffff;
  --color-secondary-container-rgb: 87 223 254; /* #57dffe */
  --color-on-secondary-container: #006172;
  --color-secondary-fixed: #acedff;
  --color-secondary-fixed-dim: #4cd7f6;
  --color-on-secondary-fixed: #001f26;
  --color-on-secondary-fixed-variant: #004e5c;
  --color-tertiary: #000000;
  --color-on-tertiary: #ffffff;
  --color-tertiary-container: #001a42;
  --color-on-tertiary-container: #3980f4;
  --color-tertiary-fixed: #d8e2ff;
  --color-tertiary-fixed-dim: #adc6ff;
  --color-on-tertiary-fixed: #001a42;
  --color-on-tertiary-fixed-variant: #004395;
  --color-surface: #f8f9ff;
  --color-on-surface: #191c20;
  --color-surface-variant: #e1e2e8;
  --color-on-surface-variant: #45464d;
  --color-surface-dim: #d8dae0;
  --color-surface-bright: #f8f9ff;
  --color-surface-tint: #565e74;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low: #f2f3f9;
  --color-surface-container: #eceef3;
  --color-surface-container-high: #e7e8ee;
  --color-surface-container-highest: #e1e2e8;
  --color-background: #f8f9ff;
  --color-on-background: #191c20;
  --color-outline: #76777d;
  --color-outline-variant-rgb: 198 198 205; /* #c6c6cd */
  --color-error: #Ba1a1a;
  --color-on-error: #ffffff;
  --color-error-container: #ffdad6;
  --color-on-error-container: #93000a;
  --color-inverse-surface: #2e3135;
  --color-inverse-on-surface: #eff0f6;
  --color-inverse-primary: #bec6e0;
  --color-electric-cyan-rgb: 6 182 212; /* #06b6d4, this is cyan-500 */
  --color-white-rgb: 255 255 255;
  --color-brand-pulse: #3b82f6;
  --color-custom-gray-100-rgb: 241 241 241; /* #f1f1f1 */

  /* Border Radii */
  --radius-default: 0.25rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;

  /* Spacing Constraints */
  --spacing-xs: 4px;
  --spacing-base: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 40px;
  --spacing-gutter-mobile: 16px;
  --spacing-margin-mobile: 16px;
  --spacing-gutter-desktop: 24px;
  --spacing-margin-desktop: 32px;
  --spacing-max-width-fixed: 1280px;

  --font-inter: 'Inter', sans-serif;
  --font-hanken: 'Hanken Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-material: 'Material Symbols Outlined';
}

/* For when using dark mode later */
.dark {
  --color-on-primary-rgb: 15 23 42;
}

/* ---- Press Release Article ---- */
.material-symbols-outlined {
  font-family: var(--font-material);
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  display: inline-block;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  vertical-align: middle;
}

.article-lead {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.015em;
}

.article-lead::first-letter {
  font-size: 3em;
  font-weight: 700;
  float: left;
  margin-right: var(--spacing-sm);
  line-height: 1;
  margin-top: -0.15rem;
  color: rgb(var(--color-electric-cyan-rgb));
}

.global-article-layout {
  font-family: var(--font-inter);
  color: var(--color-slate-800);

  /* Fallback */
  p {
    font-family: var(--font-inter);
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.015em;
  }

  p strong,
  & strong {
    font-weight: 600;
  }

  p:last-child {
    margin-bottom: 0;
  }

  h2,
  h3,
  h4,
  h5,
  h6 {
    color: var(--color-slate-900-rgb);
    font-family: var(--font-hanken);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
  }

  h2 {
    font-size: 32px;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
  }

  h3,
  h4 {
    font-size: 24px;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
  }

  h5 {
    font-size: 18px;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
  }

  h6 {
    font-size: 16px;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
  }

  /* Layout and Styling Configurations for TinyMCE selectors */
  .article-quote-container {
    display: block;
    margin: var(--spacing-sm) 0;
    padding: var(--spacing-sm) var(--spacing-lg);

    p {
      margin: 0 !important;
      padding: 0 !important;
    }

    blockquote {
      display: block;
      margin: 0 0 var(--spacing-sm) 0;
      font-family: var(--font-hanken), sans-serif;
      font-size: 24px;
      line-height: 32px;
      font-style: italic;
      color: rgb(var(--color-slate-900-rgb));
    }

    figcaption {
      display: block;
      margin: 0;
      font-family: var(--font-inter), sans-serif;
      font-size: 14px;
      line-height: 20px;
      font-weight: 500;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: var(--color-slate-500);
    }

    &.float-left-quote {
      float: left;
      width: 100%;
      margin-right: var(--spacing-lg);
      margin-bottom: var(--spacing-md);

      border-right: 4px solid rgb(var(--color-electric-cyan-rgb));
      border-left: 0;

      blockquote,
      figcaption {
        text-align: end;
      }
    }

    &.float-right-quote {
      float: right;
      width: 100%;
      margin-left: var(--spacing-lg);
      margin-bottom: var(--spacing-md);

      border-left: 4px solid rgb(var(--color-electric-cyan-rgb));
      border-right: 0;

      blockquote,
      figcaption {
        text-align: start;
      }
    }
  }

  img.alignleft,
  img.alignright {
    display: block;
    width: 100%;
    margin: var(--spacing-lg) 0;
    border-radius: var(--radius-lg);
  }
}

/* ------------------------ Theme Styles ------------------------- */

.product-card.hidden {
  display: none;
}

.active-tab-indicator {
  border-left: 2px solid rgb(var(--color-electric-cyan-rgb));
  background: linear-gradient(90deg, rgba(var(--color-electric-cyan-rgb) / 0.05) 0%, rgba(var(--color-white-rgb) / 0) 100%);
}

.filter-tab:not(.active):hover {
  background-color: var(--color-slate-200);
  color: rgb(var(--color-primary-rgb));
}
.filter-tab.active {
  background-color: rgb(var(--color-slate-900-rgb));
  color: rgb(var(--color-white-rgb));
  border-color: rgb(var(--color-slate-900-rgb));
}

.agentic-glow {
  box-shadow: 0 0 25px rgba(var(--color-electric-cyan-rgb) / 0.4);
}

/* When there is another shimmer animation
    Append a unique word to the class name, name the keyframe similarly */
.agentic-shimmer {
  background: linear-gradient(90deg, rgb(var(--color-slate-900-rgb)) 0%, rgb(var(--color-electric-cyan-rgb)) 50%, rgb(var(--color-slate-900-rgb)) 100%);
  background-size: 200% 100%;
  animation: shimmer-kf 5s infinite linear;
}

@keyframes shimmer-kf {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.thinking-shimmer {
  background: linear-gradient(90deg, rgb(var(--color-slate-900-rgb)) 0%, rgb(var(--color-electric-cyan-rgb)) 50%, rgb(var(--color-slate-900-rgb)) 100%);
  background-size: 200% 100%;
  animation: shimmer-100 2s infinite linear;
}

@keyframes shimmer-100 {
  0% {
    background-position: 100% 0%;
  }

  100% {
    background-position: -100% 0%;
  }
}

.agent-pulse {
  background: linear-gradient(90deg, rgb(var(--color-slate-900-rgb)) 0%, rgb(var(--color-electric-cyan-rgb)) 50%, rgb(var(--color-slate-900-rgb)) 100%);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

.agentic-shimmer-fast {
  background: linear-gradient(90deg, rgb(var(--color-slate-900-rgb)) 0%, rgb(var(--color-electric-cyan-rgb)) 50%, rgb(var(--color-slate-900-rgb)) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

.custom-leaflet-marker {
  background: transparent !important;
  border: none !important;
}

.map-pulse-wrapper {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Center pin */
.map-pulse-core {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-brand-pulse, #3b82f6);
  border: 2px solid rgb(var(--color-white-rgb));
  box-shadow: 0 2px 4px rgba(var(--color-primary-rgb) / 0.3);
  z-index: 2;
}

/* Outer pulse wave */
.map-pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--color-brand-pulse, #3b82f6);
  opacity: 0.4;
  z-index: 1;
  animation: marker-pulse 2.2s infinite cubic-bezier(0, 0, 0.2, 1);
}

@keyframes marker-pulse {
  0% {
    transform: scale(0.4);
    opacity: 0.8;
  }

  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.sticky-sidebar {
  position: sticky;
  top: 100px;
}

.solution-card {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.solution-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.bento-card {
  background: rgb(var(--color-white-rgb));
  border: 1px solid var(--color-slate-200);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover {
  box-shadow: 0px 20px 25px -5px rgba(var(--color-slate-900-rgb) / 0.122);
  transform: translateY(-2px);
}

.success-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-card:hover {
  transform: translateY(-8px);
}

.atmospheric-shadow {
  box-shadow: 0px 10px 15px -3px rgba(var(--color-slate-900-rgb) / 0.08);
}

.enterprise-grid {
  background-image: radial-gradient(var(--color-slate-300) 0.5px, transparent 0.5px);
  background-size: 24px 24px;
}

.glass-panel {
  background: rgba(var(--color-white-rgb) / 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--color-white-rgb) / 0.15);
}

.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgb(var(--color-custom-gray-100-rgb));
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.scroll-hide::-webkit-scrollbar {
  display: none;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 12px;
  transition: all 200ms ease-in;
  opacity: 1;
}
.faq-answer {
  max-height: 0;
  margin-top: 0;
  transition: all 200ms ease-out;
  opacity: 0;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

#success-slider-track {
  padding-top: 16px;
  margin-top: -16px;
}

/* Chevron buttons, whether left or right */
.btn-chevron {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 3rem;
  height: 3rem;
  background-color: rgba(var(--color-white-rgb) / 0.9);
  color: rgb(var(--color-primary-rgb));
  border: 1px solid var(--border-outline-variant, var(--color-slate-300));
  box-shadow: 0 4px 6px -1px rgba(var(--color-primary-rgb) / 0.1), 0 2px 4px -1px rgba(var(--color-primary-rgb) / 0.06);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;

  opacity: 0;

  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-chevron:hover {
  background-color: rgb(var(--color-white-rgb));
  transform: translateY(-50%) scale(1.1);
}

/* Parent section group */
.group\/section:hover .btn-chevron {
  opacity: 1;
}

/* Active focus, keeps controls visible mid-click */
.btn-chevron:focus-within {
  opacity: 1;
}

/* Instance tabs */
.tab-active {
  background-color: rgb(var(--color-slate-900-rgb)) !important;
  color: white !important;
}

.modal-backdrop {
  background-color: rgba(var(--color-slate-900-rgb) / 0.9);
  backdrop-filter: blur(4px);
}

details>summary {
  list-style: none;
}
details>summary::-webkit-details-marker {
  display: none;
}

.agentic-border {
  border-left: 4px solid rgb(var(--color-electric-cyan-rgb));
}


/* ------------- Media Queries -------------- */

/* SM */
@media (min-width: 640px) {}

/* MD */
@media (min-width: 768px) {
  .article-quote-container {

    &.float-right-quote,
    &.float-left-quote {
      width: 40%;
    }
  }
}

/* LG */
@media (min-width: 1024px) {

  h2,
  h3,
  h4,
  h5,
  h6 {
    letter-spacing: -0.03em;
    line-height: 1.15;
  }

  .article-lead {
    font-size: 18px;
    line-height: 28px;
    letter-spacing: -0.015em;
  }

  .global-article-layout {
    p {
      font-size: 16px;
      line-height: 24px;
      letter-spacing: 0.01em;
    }

    /* Desktop Viewport Multi-Column Image Wrapping Layout Rules */
    img.alignleft {
      float: left;
      display: inline;
      max-width: 33.333%;
      margin-right: var(--spacing-lg);
      margin-top: 4px;
      margin-bottom: var(--spacing-md);
    }

    img.alignright {
      float: right;
      display: inline;
      max-width: 33.333%;
      margin-left: var(--spacing-lg);
      margin-top: 4px;
      margin-bottom: var(--spacing-md);
    }

    /* Desktop Sidebar Floating Box Formats */
    .article-quote-container {
      max-width: 320px;
    }
  }

  article img.float-left,
  .global-article-layout img.float-left,
  div img.float-left {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1.5rem;
    max-width: 40%;
  }

  article img.float-right,
  .global-article-layout img.float-right,
  div img.float-right {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    max-width: 40%;
  }

  article img.block,
  .global-article-layout img.block,
  div img[class*="block"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    float: none;
  }
}