@import "./variables.css";

/* ========== Fonts: Outfit (local) ========== */
@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit/Outfit-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit/Outfit-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit/Outfit-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit/Outfit-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit/Outfit-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit/Outfit-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit/Outfit-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit/Outfit-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit/Outfit-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ========== Fonts: Thatura (main headings) ========== */
@font-face {
  font-family: "Thatura";
  src: url("../fonts/thatura/WOFF2/Thatura-Regular.woff2") format("woff2"),
    url("../fonts/thatura/WOFF/Thatura-Regular.woff") format("woff"),
    url("../fonts/thatura/TTF/Thatura-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thatura";
  src: url("../fonts/thatura/WOFF2/Thatura-SemiBold.woff2") format("woff2"),
    url("../fonts/thatura/WOFF/Thatura-SemiBold.woff") format("woff"),
    url("../fonts/thatura/TTF/Thatura-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thatura";
  src: url("../fonts/thatura/WOFF2/Thatura-Bold.woff2") format("woff2"),
    url("../fonts/thatura/WOFF/Thatura-Bold.woff") format("woff"),
    url("../fonts/thatura/TTF/Thatura-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thatura";
  src: url("../fonts/thatura/WOFF2/Thatura-ExtraBold.woff2") format("woff2"),
    url("../fonts/thatura/WOFF/Thatura-ExtraBold.woff") format("woff"),
    url("../fonts/thatura/TTF/Thatura-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Thatura";
  src: url("../fonts/thatura/WOFF2/Thatura-Black.woff2") format("woff2"),
    url("../fonts/thatura/WOFF/Thatura-Black.woff") format("woff"),
    url("../fonts/thatura/TTF/Thatura-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ========== Fonts: Museo Moderno (legacy — kept for reference) ========== */
@font-face {
  font-family: "Museo Moderno";
  src: url("../fonts/museo-moderno/MuseoModerno-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Moderno";
  src: url("../fonts/museo-moderno/MuseoModerno-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Moderno";
  src: url("../fonts/museo-moderno/MuseoModerno-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Moderno";
  src: url("../fonts/museo-moderno/MuseoModerno-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Moderno";
  src: url("../fonts/museo-moderno/MuseoModerno-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Moderno";
  src: url("../fonts/museo-moderno/MuseoModerno-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Moderno";
  src: url("../fonts/museo-moderno/MuseoModerno-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Moderno";
  src: url("../fonts/museo-moderno/MuseoModerno-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Museo Moderno";
  src: url("../fonts/museo-moderno/MuseoModerno-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Element reset in @layer base so Tailwind utilities (text-*, p-*, m-*) can override */
@layer theme, base, components, utilities;

@layer base {

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

  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }

  ::-webkit-scrollbar {
    width: 5px;
  }

  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(173, 173, 173, 0.5);
    border-radius: 10px;
  }

  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #a8b0bd;
    width: 2px !important;
    border-radius: 10px;
  }

  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #575757;
  }

  body {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-ink);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

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

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

  button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
  }

  ul,
  ol {
    list-style: none;
  }

  h1,
  h2 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
    color: var(--color-ink);
  }

  h3,
  h4 {
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-ink);
  }

  p {
    color: var(--color-muted);
  }
}

/* end @layer base */

/* ========== Utilities ========== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--sm {
  max-width: var(--container-sm);
}

.container--md {
  max-width: var(--container-md);
}

.container--lg {
  max-width: var(--container-lg);
}

.container--wide {
  max-width: var(--container-wide);
  margin-inline: auto;
}

.text-accent {
  color: var(--color-primary);
}

.text-gradient {
  background: linear-gradient(98.47deg, #0046BE -19.6%, #A13DFF 79.52%);

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.bg-connect-gradient {
  background: #3557f6;
  background: var(--gradient-connect);
}

.bg-connect-card {
  background: #d9ccffcc;
  background: var(--gradient-connect-card);
  border: 1px solid #E3E7F3;
}

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

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1;
  border-radius: 6px;
  padding: 14px 22px;
  box-shadow: 4px 8px 25px 0px #B2A8FA;


  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease),
    background var(--duration) var(--ease), border-color var(--duration) var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn--primary {
  color: #fff;
  background: var(--gradient-primary);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.28);
}

.btn--primary:hover {
  background: var(--gradient-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}

.btn--outline {
  color: var(--color-ink-soft);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 10px 25px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0px 4px 9px 0px #b2a8fa85;
}

.btn--outline:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary);
}

.btn--ghost {
  color: var(--color-primary);
  font-weight: 600;
  padding: 0;
  gap: 6px;
}

.btn--ghost:hover {
  gap: 10px;
}

.btn--sm {
  padding: 11px 18px;
  font-size: 0.875rem;
  border-radius: 6px;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8eaf0ad;
  box-shadow: 0 4px 14px #8A8FF026;
  overflow: visible;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: #dde1eaa8;
  box-shadow: 0 6px 18px #8A8FF026;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 32px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.logo-text {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-ink);
}

.nav {
  display: none;
  align-items: center;
  gap: 2px;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: var(--header-height);
  padding: 0 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #23292e;
  border-radius: 0;
  transition: color var(--duration) var(--ease);
}

.nav__link:hover {
  color: var(--color-nav-active);
}

/* Active menu — blue→purple gradient text + short blue pill underline */
.nav__link.is-active,
.nav__link.active {
  font-weight: 600;
  background-image: linear-gradient(90deg, #0046BE 0%, #A13DFF 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.nav__link.is-active::after,
.nav__link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  /* align under start of label (matches horizontal padding) */
  bottom: 24px;
  width: 16px;
  height: 3px;
  border-radius: 100px;
  background: #3143D2;
  /* solid blue — same as gradient start */
  transform: none;
}

.nav__link.is-active svg,
.nav__link.active svg {
  color: #8b5cf6;
  -webkit-text-fill-color: #8b5cf6;
}

.header-cta.btn--primary {
  border-radius: 5px;
  padding: 12px 28px;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.28);
}

.header-cta.btn--primary:hover {
  transform: translateY(-1px);
}

.nav__link svg {
  width: 11px;
  height: 11px;
  color: #9ca3af;
  opacity: 1;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  z-index: 200;
  min-width: 220px;
  padding: 8px;
  margin-top: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease),
    visibility var(--duration);
}

/* Invisible hover bridge so the menu doesn't close in the gap */
.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__menu a {
  padding: 10px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-ink-soft);
  border-radius: var(--radius-sm);
}

.nav-dropdown__menu a:hover {
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.nav-dropdown:hover .nav__link svg,
.nav-dropdown:focus-within .nav__link svg {
  color: var(--color-nav-active);
}

.nav-dropdown__menu a:last-child {
  font-weight: 600;
  color: var(--color-primary);
}

.nav-dropdown__menu--mega {
  min-width: min(46rem, calc(100vw - 2rem));
  max-width: 46rem;
  padding: 1.25rem 1.5rem;
}

@media (min-width: 1536px) {
  .nav-dropdown__menu--mega {
    min-width: min(55rem, calc(100vw - 2rem));
    max-width: 55rem;
  }
}

.nav-dropdown__menu--mega a:last-child {
  font-weight: inherit;
  color: inherit;
}

.nav-dropdown__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 2rem;
}

.nav-dropdown__col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-dropdown__item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.75rem;
  border-radius: 0.625rem;
  text-decoration: none;
  background: transparent;
  transition: color 0.2s var(--ease);
}

.nav-dropdown__item-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
}

.nav-dropdown__item-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-dropdown__menu--mega .nav-dropdown__item:hover .nav-dropdown__item-icon img,
.nav-dropdown__item.is-active .nav-dropdown__item-icon img {
  filter: brightness(0) saturate(100%) invert(24%) sepia(89%) saturate(3500%) hue-rotate(248deg) brightness(98%) contrast(101%);
}

.nav-dropdown__item-copy {
  flex: 1;
  min-width: 0;
}

.nav-dropdown__item-title {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--text-primary);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-dropdown__item-desc {
  display: block;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
  color: #64748b;
}

.nav-dropdown__menu--mega .nav-dropdown__item {
  color: inherit;
}

.nav-dropdown__menu--mega .nav-dropdown__item:hover,
.nav-dropdown__item.is-active,
.nav-dropdown__item.is-active:hover {
  background: transparent;
  color: inherit;
}

.nav-dropdown__menu--mega .nav-dropdown__item:hover .nav-dropdown__item-title,
.nav-dropdown__item.is-active .nav-dropdown__item-title {
  background: linear-gradient(98.47deg, #0046be -19.6%, #a13dff 79.52%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 500;
}

.nav-dropdown__menu--mega .nav-dropdown__item:hover .nav-dropdown__item-desc,
.nav-dropdown__item.is-active .nav-dropdown__item-desc {
  color: #64748b;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #64748b;
  font-weight: 300;
}

.nav-dropdown.is-active > .nav__link svg {
  color: #8b5cf6;
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--color-ink);
}

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

/* Mobile nav */
.mobile-nav {
  display: block;
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: var(--color-surface);
  padding: 16px 24px 32px;
  overflow-y: auto;
  z-index: 99;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.375rem);
  transition:
    opacity 0.32s var(--ease),
    transform 0.32s var(--ease),
    visibility 0.32s;
}

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

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border-soft);
}

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

.mobile-nav__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  border: 0;
  background: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.mobile-nav__trigger svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: #93a1be;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mobile-nav a.is-active,
.mobile-nav__trigger.is-active {
  color: var(--color-nav-active);
  font-weight: 600;
}

.mobile-nav__sub.is-active {
  color: var(--color-nav-active);
  font-weight: 500;
}

.mobile-nav__group.is-active-section > .mobile-nav__trigger {
  color: var(--color-nav-active);
}

.mobile-nav__panel {
  display: grid;
  grid-template-rows: 0fr;
  padding-left: 1rem;
  transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav__panel-inner {
  overflow: hidden;
}

.mobile-nav__group.is-open .mobile-nav__panel {
  grid-template-rows: 1fr;
}

.mobile-nav__sub {
  display: block;
  padding: 12px 0;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border-soft);
  opacity: 0;
  transform: translateY(-0.25rem);
  transition:
    opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.2s var(--ease);
}

.mobile-nav__group.is-open .mobile-nav__sub {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav__group.is-open .mobile-nav__sub:nth-child(1) { transition-delay: 0.04s; }
.mobile-nav__group.is-open .mobile-nav__sub:nth-child(2) { transition-delay: 0.07s; }
.mobile-nav__group.is-open .mobile-nav__sub:nth-child(3) { transition-delay: 0.1s; }
.mobile-nav__group.is-open .mobile-nav__sub:nth-child(4) { transition-delay: 0.13s; }
.mobile-nav__group.is-open .mobile-nav__sub:nth-child(5) { transition-delay: 0.16s; }
.mobile-nav__group.is-open .mobile-nav__sub:nth-child(6) { transition-delay: 0.19s; }
.mobile-nav__group.is-open .mobile-nav__sub:nth-child(7) { transition-delay: 0.22s; }
.mobile-nav__group.is-open .mobile-nav__sub:nth-child(8) { transition-delay: 0.25s; }
.mobile-nav__group.is-open .mobile-nav__sub:nth-child(9) { transition-delay: 0.28s; }
.mobile-nav__group.is-open .mobile-nav__sub:nth-child(10) { transition-delay: 0.31s; }

.mobile-nav__sub:last-child {
  border-bottom: none;
  padding-bottom: 14px;
}

.mobile-nav .btn {
  width: 100%;
  margin-top: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav,
  .mobile-nav__panel,
  .mobile-nav__trigger svg,
  .mobile-nav__sub {
    transition: none;
  }

  .mobile-nav__group.is-open .mobile-nav__sub {
    transition-delay: 0s;
  }
}

@media (min-width: 1024px) {

  .nav,
  .header-cta {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: 0px 0 0px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 16ch;
}

.hero__lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 42ch;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__glow {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.28) 0%, rgba(124, 58, 237, 0.08) 45%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Dashboard mockup */
.dash-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hero);
  padding: 20px;
  animation: floatIn 0.8s var(--ease) both;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

.dash-card__top {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.dash-policy {
  flex: 1;
  background: linear-gradient(160deg, #faf5ff 0%, #f3e8ff 100%);
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid #ede9fe;
}

.dash-policy__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.dash-policy__score {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dash-ring {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.dash-ring svg {
  width: 64px;
  height: 64px;
  transform: rotate(-90deg);
}

.dash-ring__value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--color-primary);
}

.dash-policy__meta strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-ink);
  margin-bottom: 2px;
}

.dash-policy__meta span {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.dash-side {
  width: 120px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-pill {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px;
  font-size: 0.6875rem;
}

.dash-pill strong {
  display: block;
  font-size: 0.875rem;
  color: var(--color-ink);
}

.dash-pill span {
  color: var(--color-muted);
}

.dash-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-ink-soft);
}

.dash-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}

.dash-item__icon svg {
  width: 14px;
  height: 14px;
}

.dash-item__status {
  margin-left: auto;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-green);
  background: #ecfdf5;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

@media (min-width: 900px) {
  .hero {
    padding: 0px 0 0px;
  }

  .hero__grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
  }

  .hero__content {
    animation: fadeSlide 0.7s var(--ease) both;
  }
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }

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

.border-gradient {
  border: 1px solid;
  border-radius: 20px;
 
  background:
    linear-gradient(180deg, #ffffff 0%, #faf9ff 100%) padding-box,
    linear-gradient(97.78deg, rgba(0, 70, 190, 0.075) -19.82%, rgba(161, 61, 255, 0.062) 80.38%) border-box;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}
/* ========== Get Started hero — only what Tailwind can't express cleanly ========== */
/* Hero — plain 2-column grid: white | lavender */
.hero {
  display: grid;
  grid-template-columns: 1fr;
}

.hero-col {
  min-width: 0;
  background-size: 48px 48px;
  background-position: left top;
  /* plain square grid */
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.05) 1px, transparent 1px);
}

.hero-col--copy {
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 24px 40px;
}

.hero-col--visual {
  background-color: #f7f8fc;
  background-image:
    /* plain square grid on top */
    linear-gradient(rgba(148, 163, 184, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.18) 1px, transparent 1px),
    /* soft bloom (upper-right) */
    radial-gradient(ellipse 65% 55% at 88% 12%,
      rgba(167, 139, 250, 0.32) 0%,
      rgba(196, 181, 253, 0.14) 40%,
      transparent 70%),
    /* diagonal wash: lavender top-right → pale bottom-left */
    linear-gradient(215deg,
      #d8d0f2 0%,
      #e4def6 22%,
      #eeebf8 48%,
      #f4f5fa 72%,
      #f8f9fc 100%);
  background-size: 48px 48px, 48px 48px, auto, auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 40px 24px 56px;
  overflow: visible;
}

.hero-col__inner {
  width: 100%;
  max-width: 560px;
}

.hero-col__inner--visual {
  max-width: 560px;
  margin-inline: auto;
}

.hero-rotating-tabs {
  width: 100%;
  max-width: 22rem;
}

.hero-rotating-tabs__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 68%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 68%, transparent 100%);
}

.hero-rotating-tabs__track {
  display: flex;
  gap: 0.625rem;
  width: max-content;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-rotating-tabs__pill {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  min-height: 2.625rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid #ddd6fe;
  border-radius: 999px;
  background: #f5f3ff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  color: #1e1b4b;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .hero-rotating-tabs__track {
    transition: none;
  }
}

.hero__cta-rule {
  display: block;
  flex-shrink: 0;
  align-self: flex-start;
  width: 50%;
  height: 1.8px;
  min-height: 1.8px;
  margin: 0 0 0 10px;
  border: 0;
  border-radius: 999px;
  /* background: linear-gradient(
    90deg,
    #a78bfa 0%,
    #c4b5fd 18%,
    rgba(203, 213, 225, 0.95) 45%,
    rgba(226, 232, 240, 0.55) 100%
  ); */


  background: linear-gradient(90deg, #D8E0EF 0%, rgba(216, 224, 239, 0) 78.52%);


  position: relative;
  overflow: visible;
}

.hero__cta-rule::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6C5CF0;
  transform: translateY(-50%);
  /* box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2); */
}

/* Trusted-by divider: faded purple lines · periwinkle dot · faded purple lines */
.trust-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  margin: 0 auto 40px;
  gap: 10px;
}

.trust-rule__line {
  flex: 1 1 0;
  min-width: 50%;
  height: 1px;
  min-height: 1.2px;
  flex-shrink: 1;
  border-radius: 999px;
  background: linear-gradient(90deg,
      transparent 0%,
      #D8E0EF00 45%,
      #D8E0EF 100%);
}

.trust-rule__line:last-child {
  background: linear-gradient(90deg,
      #D8E0EF 0%,
      #D8E0EF00 55%,
      transparent 100%);
}

.trust-rule__dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  border-radius: 50%;
  background: #6C5CF0;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}

@media (min-width: 768px) {
  .trust-rule {
    margin-bottom: 48px;
  }
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .hero-col--copy {
    padding: 80px 40px 80px clamp(24px, 4vw, 64px);
  }

  .hero-col--visual {
    padding-top: 120px !important;
    padding: 64px clamp(24px, 4vw, 64px) 80px 0px;
  }

  .hero-col--visual {
    padding-left: 50px;
  }

}

@media (min-width: 1280px) {
  .hero-col--copy {
    padding-right: 48px;
  }


}

/* Hero product preview — layered images */
.hero-product {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding: 28px 12px 36px;
  overflow: visible;
}

.hero-product__glow {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle at 55% 40%,
      rgba(167, 139, 250, 0.32) 0%,
      rgba(147, 197, 253, 0.16) 35%,
      transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

/* Orbital ring graphic — black bg knocked out via lighten blend */
.hero-product__orbit {
  position: absolute;
  z-index: 1;
  right: -43%;
  top: 11%;
  width: min(50%, 640px);
  max-width: none;
  height: auto;
  aspect-ratio: 1;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: lighten;
  opacity: 0.95;
  animation: heroOrbitSpin 28s linear infinite;
}

@keyframes heroOrbitSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-product__orbit {
    animation: none;
    transform: translate(-40%, -10%);
  }
}

.hero-product__dashboard {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 50px rgba(79, 70, 229, 0.16));
}

.hero-product__policy,
.hero-product__task {
  position: absolute;
  z-index: 3;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 32px rgba(79, 70, 229, 0.18));
  animation: floatIn 0.8s var(--ease) both;
}

.hero-product__policy {
  top: 2%;
  left: -4%;
  width: min(44%, 220px);
}

.hero-product__task {
  left: 22%;
  bottom: 2%;
  width: min(52%, 260px);
  animation-delay: 0.12s;
}

@media (min-width: 900px) {
  .hero-product {
    padding: 16px 4px 24px;
    max-width: 560px;
  }

  .hero-product__policy {
    top: -7%;
    left: 17%;
    width: min(32%, 240px);
  }

  .hero-product__task {
    left: 45%;
    bottom: 20px;
    width: min(37%, 280px);
  }
}

@media (max-width: 639px) {
  .hero-product {
    padding: 24px 8px 32px;
  }

  .hero-product__policy {
    left: 0;
    top: 0;
    width: min(52%, 190px);
  }

  .hero-product__task {
    left: 18%;
    bottom: 0;
    width: min(64%, 230px);
  }
}

/* ========== Trust ========== */
.trust {
  padding: 64px 0 80px;
  text-align: center;
}

.trust__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  max-width: 28ch;
  margin: 0 auto 12px;
}

.trust__sub {
  max-width: 48ch;
  margin: 0 auto 40px;
  font-size: 1rem;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  padding: 20px 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  max-width: 560px;
  margin: 0 auto 48px;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.stat__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  align-self: center;
}

.stat__dot--blue {
  background: var(--color-blue);
}

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

.stat__dot--green {
  background: var(--color-green);
}

.stat strong {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-ink);
}

.logo-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 48px;
  opacity: 0.55;
}

.logo-cloud__item {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted-light);
  white-space: nowrap;
}

/* ========== Workflow ========== */
.workflow {
  padding: 80px 0;
  background: var(--color-surface-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1rem;
}

.workflow__hub {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.workflow__hub-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
  animation: hubPulse 3s ease-in-out infinite;
}

@keyframes hubPulse {

  0%,
  100% {
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
  }

  50% {
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.55);
  }
}

.workflow__hub-icon svg {
  width: 24px;
  height: 24px;
}

.workflow__rays {
  height: 40px;
  margin: 0 auto 24px;
  max-width: 900px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='40' fill='none'%3E%3Cpath d='M450 0 L75 40 M450 0 L225 40 M450 0 L375 40 M450 0 L525 40 M450 0 L675 40 M450 0 L825 40' stroke='%23c4b5fd' stroke-width='1.5' stroke-dasharray='4 4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.flow-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.flow-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.flow-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.flow-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.flow-card__icon svg {
  width: 18px;
  height: 18px;
}

.flow-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.flow-card p {
  font-size: 0.8125rem;
  line-height: 1.55;
}

/* P2P interactive flow */
.p2p-hub {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
}

.p2p-hub__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(99, 102, 241, 0.45);
  pointer-events: none;
}

.p2p-hub__orb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.4);
}

.p2p-hub__star {
  width: 28px;
  height: 28px;
  animation: p2pStarPulse 1.8s ease-in-out infinite;
  transform-origin: center;
}

@keyframes p2pStarPulse {

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

  50% {
    transform: scale(1.2);
    opacity: 0.88;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p2p-hub__star {
    animation: none;
  }
}

.p2p-section {
  background-color: #ffffff;
  background-image: linear-gradient(90deg,
      rgba(15, 23, 42, 0.035) 1px,
      transparent 1px);
  background-size: 56px 100%;
}

.p2p-rail {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.65);
  padding: 16px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .p2p-rail {
    padding: 24px clamp(16px, 3vw, 40px);
  }
}

@media (min-width: 1024px) {
  .p2p-rail {
    padding: 28px clamp(16px, 2.5vw, 32px);
  }
}

.p2p-card {
  position: relative;
  min-width: 0;
  flex: 1;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease),
    background 0.2s var(--ease);
}

.p2p-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.p2p-card:focus-visible {
  outline: 2px solid #8b5cf6;
  outline-offset: 2px;
}

.p2p-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 68px;
  border-radius: 12px;
  background: linear-gradient(90deg, #0046BE14 0%, #A13DFF14 100%);
  color: #0284c7;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.p2p-card__icon svg {
  width: 20px;
  height: 20px;
}

.p2p-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.p2p-card p {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  color: #64748b;
}

.p2p-card.is-active {
  border: 2px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, #6366f1, #a855f7) border-box;
  box-shadow: 0 10px 28px rgba(139, 92, 246, 0.16);
}

.p2p-card.is-active .p2p-card__icon {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(139, 92, 246, 0.35);
}

.p2p-card.is-active .p2p-card__icon svg :is(path, circle, rect, line, polyline, polygon)[stroke]:not([stroke="none"]) {
  stroke: #ffffff;
}

.p2p-card.is-active .p2p-card__icon svg :is(path, circle, rect)[fill="#0046BE"] {
  fill: #ffffff;
}

.p2p-sep {
  display: none;
  flex-shrink: 0;
  align-items: center;
  padding-inline: 4px;
  color: #A9B6D4;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.08em;
  user-select: none;
}

@media (min-width: 1024px) {
  .p2p-sep {
    display: flex;
  }
}

@media (min-width: 640px) {
  .flow-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .flow-cards {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }

  .flow-card {
    padding: 18px 14px;
  }
}

/* ========== Features ========== */
.features {
  padding: 80px 0 100px;
}

.features .section-header {
  margin-bottom: 48px;
}

.feature-grid {
  display: grid;
  gap: 20px;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card__media {
  background: linear-gradient(145deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.feature-card__media--light {
  background: linear-gradient(160deg, #f8fafc 0%, #ede9fe 100%);
  aspect-ratio: 16 / 9;
}

.feature-card__body {
  padding: 24px;
}

.feature-card__body h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.feature-card__body p {
  font-size: 0.9375rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

/* Mini UI previews inside feature cards */
.ui-preview {
  width: 100%;
  max-width: 360px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 12px;
  backdrop-filter: blur(8px);
}

.ui-preview__bar {
  height: 8px;
  width: 40%;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  margin-bottom: 10px;
}

.ui-preview__row {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.ui-preview__cell {
  flex: 1;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.ui-preview__cell--accent {
  background: rgba(168, 85, 247, 0.5);
}

.ui-globe {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px dashed #c4b5fd;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ui-globe::before,
.ui-globe::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid #ddd6fe;
}

.ui-globe::before {
  inset: 16px;
}

.ui-globe::after {
  inset: 32px;
}

.ui-globe__core {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}

.ui-supplier {
  width: 100%;
  max-width: 280px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.ui-supplier__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-ink);
}

.ui-supplier__bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ui-supplier__bar {
  height: 8px;
  border-radius: 4px;
  background: #f3e8ff;
  overflow: hidden;
}

.ui-supplier__bar span {
  display: block;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
}

@media (min-width: 900px) {
  .feature-grid {
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
  }

  .feature-card--large {
    grid-row: 1 / -1;
  }

  .feature-card--large .feature-card__media {
    aspect-ratio: auto;
    flex: 1;
    min-height: 280px;
  }

  .feature-card--large {
    display: flex;
    flex-direction: column;
  }
}

/* ========== Page shell (inner pages) ========== */
.page-hero {
  padding: 64px 0 48px;
  text-align: center;
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 48ch;
  margin: 0 auto;
  font-size: 1.0625rem;
}

.page-content {
  padding: 48px 0 96px;
}

.placeholder-block {
  background: var(--color-surface-alt);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
  text-align: center;
  color: var(--color-muted);
}

/* ========== Footer ========== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 0;
  color: #c5cbe0;
  background:
    radial-gradient(ellipse 55% 70% at 8% 0%, rgba(88, 70, 220, 0.55) 0%, rgba(55, 40, 160, 0.22) 38%, transparent 68%),
    linear-gradient(112deg, #1b1658 0%, #12153a 28%, #0a0f24 58%, #060912 100%);
}

.site-footer__glow {
  position: absolute;
  pointer-events: none;
  border-radius: 9999px;
  filter: blur(64px);
}

.site-footer__glow--tl {
  top: -6rem;
  left: -5rem;
  width: 22rem;
  height: 22rem;
  background: rgba(109, 70, 255, 0.35);
}

.site-footer__glow--br {
  right: -4rem;
  bottom: -3rem;
  width: 18rem;
  height: 18rem;
  background: rgba(49, 70, 180, 0.18);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
  padding: 4rem 0 0;
}

@media (min-width: 1536px) {
  .site-footer__inner {
    width: min(100% - 2 * var(--gutter), var(--container-wide));
  }
}

.site-footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.site-footer__logo img {
  display: block;
  height: 2rem;
  width: auto;
}

.site-footer__tagline {
  max-width: 42ch;
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #9aa3bc;
}

.site-footer__newsletter {
  max-width: 100%;
  padding: 1rem 1.05rem 1.05rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(125, 190, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.site-footer__newsletter-title {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: #ffffff;
}

.site-footer__form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

@media (min-width: 480px) {
  .site-footer__form {
    flex-direction: row;
    align-items: stretch;
  }
}

.site-footer__input {
  min-width: 0;
  flex: 1;
  padding: 0.5rem 0.85rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a1028;
  color: #ffffff;
  font-size: 0.875rem;
  outline: none;
}

.site-footer__input::placeholder {
  color: #7d869e;
}

.site-footer__input:focus {
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}

.site-footer__subscribe {
  flex-shrink: 0;
  padding: 0.3rem 0.85rem;
  border: 0;
  border-radius: 0.45rem;
  background: linear-gradient(90deg, #3557f6 0%, #7c3aed 52%, #c026d3 100%);
  color: #ffffff;
  font-size: 0.775rem;
  font-weight: 400;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.28);
  transition: filter 0.2s var(--ease), transform 0.2s var(--ease);
}

.site-footer__subscribe:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.site-footer__newsletter-note {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  color: #6f7893;
}

.site-footer__col h4 {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}

.site-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.site-footer__col a {
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #9aa3bc;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.site-footer__col a:hover {
  color: #ffffff;
}

/* Glowing accent line with purple dot */
.site-footer__accent {
  display: flex;
  align-items: center;
  gap: 0;
  width: min(70%, 32rem);
  margin: 0 0 0.25rem;
}

.site-footer__accent-dot {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: #a78bfa;
  box-shadow:
    0 0 0 3px rgba(167, 139, 250, 0.18),
    0 0 14px 4px rgba(139, 92, 246, 0.75),
    0 0 28px 8px rgba(99, 102, 241, 0.35);
}

.site-footer__accent-line {
  display: block;
  height: 1px;
  width: 30rem;
  margin-left: -1px;
  background: linear-gradient(90deg,
      rgba(167, 139, 250, 0.95) 0%,
      rgba(99, 102, 241, 0.55) 28%,
      rgba(125, 190, 255, 0.18) 62%,
      transparent 100%);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.35);
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  background: #050814;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.site-footer__bottom-inner {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
}

@media (min-width: 640px) {
  .site-footer__bottom-inner {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 1536px) {
  .site-footer__bottom-inner {
    width: min(100% - 2 * var(--gutter), var(--container-wide));
  }
}

.site-footer__bottom p {
  margin: 0;
  font-size: 0.875rem;
  color: #6f7893;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-footer__social a {
  display: inline-flex;
  color: #9aa3bc;
  transition: color 0.2s var(--ease);
}

.site-footer__social a:hover {
  color: #ffffff;
}

.site-footer__social svg {
  width: 1.15rem;
  height: 1.15rem;
}

/* ========== Governance feature list ========== */
.gov-list {
  --gov-track: 8rem;
  position: relative;
  padding-left: var(--gov-track);
}

.gov-list__rail {
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: calc(var(--gov-track) * 0.55);
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg,
      #a78bfa 0%,
      #2dd4bf 32%,
      #f59e0b 66%,
      #22c55e 100%);
  transform: translateX(-50%);
  pointer-events: none;
}

.gov-list__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gov-item {
  --gov-tone: #8b5cf6;
  position: relative;
}

.gov-item[data-tone="violet"] {
  --gov-tone: #8b5cf6;
}

.gov-item[data-tone="teal"] {
  --gov-tone: #14b8a6;
}

.gov-item[data-tone="amber"] {
  --gov-tone: #f59e0b;
}

.gov-item[data-tone="emerald"] {
  --gov-tone: #22c55e;
}

.gov-item__track {
  position: absolute;
  left: calc(var(--gov-track) * -1);
  top: 0;
  bottom: 0;
  width: var(--gov-track);
  color: var(--gov-tone);
  pointer-events: none;
  z-index: 0;
}

.gov-item__node {
  position: absolute;
  left: 55%;
  top: 50%;
  z-index: 3;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 0 0 4px #ffffff;
}

.gov-item__node svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 32px;
  height: 32px;
}

.gov-item__dash {
  position: absolute;
  top: 50%;
  z-index: 3;
  height: 0;
  transform: translateY(-50%);
  border-top: 1.5px dashed var(--gov-tone);
  opacity: 0.9;
}

.gov-item__dash--left {
  left: 4px;
  right: calc(45% + 13px);
  opacity: 0.45;
}

.gov-item__dash--right {
  left: calc(58% + 13px);
  right: 0;
}

.gov-item__card {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  min-height: 5.75rem;
  padding: 1.125rem 1.25rem;
  text-align: left;
  cursor: pointer;
  border-radius: 18px;
  border: 1px solid #ddd6fe;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  color: inherit;
  font: inherit;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.gov-item__card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.gov-item__card:focus-visible {
  outline: 2px solid #8b5cf6;
  outline-offset: 2px;
}

.gov-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  margin-top: 0.125rem;
  border-radius: 14px;
  background: #eef2ff;
  color: #1d4ed8;
  transition: background 0.25s ease, color 0.25s ease;
}

.gov-item__icon svg {
  width: 22px;
  height: 22px;
}

.gov-item__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.gov-item__copy strong {
  font-size: 20px;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.3;
  transition: color 0.25s ease;
}

.gov-item__copy span {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
  transition: color 0.25s ease;
}

.gov-item.is-active .gov-item__card {
  border-color: transparent;
  background: linear-gradient(90deg, #1d4ed8 0%, #4f46e5 48%, #a78bfa 100%);
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.28);
}

.gov-item.is-active .gov-item__icon {
  background: #ffffff;
  color: #0f172a;
}

.gov-item.is-active .gov-item__copy strong,
.gov-item.is-active .gov-item__copy span {
  color: #ffffff;
}

.gov-item.is-active .gov-item__copy span {
  opacity: 0.92;
}

@media (max-width: 640px) {
  .gov-list {
    --gov-track: 56px;
  }

  .gov-item__node {
    width: 28px;
    height: 28px;
    box-shadow: 0 0 0 3px #ffffff;
  }

  .gov-item__node svg {
    width: 28px;
    height: 28px;
  }

  .gov-item__dash--left {
    right: calc(45% + 11px);
  }

  .gov-item__dash--right {
    left: calc(55% + 11px);
  }

  .gov-item__card {
    padding: 14px;
    gap: 12px;
  }

  .gov-item__icon {
    width: 42px;
    height: 42px;
  }
}

/* ========== Swiper homepage carousels ========== */
.features-swiper,
.agents-swiper,
.testimonials-swiper {
  overflow: hidden;
  width: 100%;
}

.features-swiper .swiper-slide,
.agents-swiper .swiper-slide,
.testimonials-swiper .swiper-slide {
  height: auto;
}

.agents-swiper .swiper-slide>article,
.testimonials-swiper .swiper-slide>article {
  height: 100%;
}

/* Agents: left-aligned to container, right edge bleeds off viewport */
.agents-section {
  overflow-x: clip;
}

.agents-bleed {
  --agents-pad: var(--gutter);
  width: 100%;
  padding-left: var(--agents-pad);
}

@media (min-width: 1280px) {
  .agents-bleed {
    padding-left: max(var(--gutter),
        calc((100vw - var(--container)) / 2 + var(--gutter)));
  }
}

@media (min-width: 1536px) {
  .agents-bleed {
    padding-left: max(var(--gutter),
        calc((100vw - var(--container-wide)) / 2 + var(--gutter)));
  }
}

.agents-swiper,
.testimonials-swiper {
  overflow: hidden;
  width: 100%;
}

.agents-swiper .swiper-slide,
.testimonials-swiper .swiper-slide {
  box-sizing: border-box;
}

.agent-card,
.testimonial-card {
  height: 100%;
  background: #ffffff;
}

/* Agent card media: inset mockup sized to slide (matches design) */
.agent-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.85rem 1rem 1.1rem;
  min-width: 0;
  border-radius: 1rem;
}

.agent-card__media>img:first-child {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 360px;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: left center;
  border-radius: 10px;
}

.agent-card__media--stacked>img:first-child {
  object-position: center;
}

.agent-card__media-float {
  position: absolute;
  right: 1rem;
  bottom: 22%;
  width: 38%;
  max-width: 8.75rem;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.18));
}

@media (min-width: 768px) {
  .agent-card__media {
    padding: 1rem 0.75rem 1rem 1rem;
  }

  .agent-card__media>img:first-child {
    max-height: 360px;
  }
}

@media (min-width: 1280px) {
  .agent-card__media>img:first-child {
    max-height: 360px;
  }

  .agent-card__media-float {
    max-width: 9.5rem;
  }
}

/* Testimonials: stay inside project container */
.testimonials-section {
  overflow-x: clip;
}

.testimonials-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(268.67deg, rgba(234, 240, 251, 0) 9.01%, rgba(241, 242, 253, 0.6) 51.26%, rgba(244, 244, 254, 0.6) 79%, rgba(248, 245, 255, 0) 95.4%);
  background-size:
    auto,
    56px 56px,
    56px 56px;
  background-position: center top, 0 0, 0 0;
}

/* Carousel nav: default border, gradient border when active */
.carousel-nav-btn {
  --carousel-nav-border: linear-gradient(98.47deg, rgba(161, 61, 255, 0.3) -19.6%, rgba(161, 61, 255, 0) 29.96%, rgba(161, 61, 255, 0.3) 89.18%);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.75rem;
  height: 2rem;
  border-radius: 9999px;
  border: 1px solid #d8e0ef;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s var(--ease);
}

.carousel-nav-btn svg {
  transition: stroke 0.2s var(--ease);
}

.carousel-nav-btn:hover:not(.swiper-button-disabled):not(.is-active),
.carousel-nav-btn:focus-visible:not(.swiper-button-disabled):not(.is-active) {
  border-color: #d8e0ef;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.2);
  outline: none;
}

.carousel-nav-btn.is-active:not(.swiper-button-disabled) {
  border: 1px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    var(--carousel-nav-border) border-box;
  box-shadow: 1px 3px 7px rgba(139, 92, 246, 0.35);
  outline: none;
}

.carousel-nav-btn.is-active:not(.swiper-button-disabled) svg {
  stroke: url(#carousel-nav-arrow-gradient);
}

.features-prev.swiper-button-disabled,
.features-next.swiper-button-disabled,
.agents-prev.swiper-button-disabled,
.agents-next.swiper-button-disabled,
.testimonials-prev.swiper-button-disabled,
.testimonials-next.swiper-button-disabled,
.carousel-nav-btn.swiper-button-disabled {
  opacity: 0.45;
  cursor: default;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  border-color: #d8e0ef;
  background: #ffffff;
}

.carousel-nav-btn.swiper-button-disabled svg {
  stroke: currentColor;
}

/* ========== Feature media (moves slider) ========== */
.feature-media {
  position: relative;
  overflow: hidden;
}

.feature-media__bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-media--hero .feature-media__bg {
  height: 220px;
  border-radius: 1rem;
}

.feature-media--compact {
  min-height: 180px;
}

.feature-media--compact .feature-media__bg {
  position: absolute;
  inset: 0;
}

.feature-media__float {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.14));
  animation: movesFloatY 3.2s ease-in-out infinite;
  will-change: transform;
}

.feature-media--hero .feature-media__float {
  bottom: 8%;
  left: 5%;
  width: 90%;
}

.feature-media--compact .feature-media__float {
  bottom: 5%;
  left: 4%;
  width: 92%;
}

.feature-media__float--delay-1 {
  animation-delay: -0.8s;
}

.feature-media__float--delay-2 {
  animation-delay: -1.6s;
}

.feature-media__float--delay-3 {
  animation-delay: -2.4s;
}

@media (min-width: 768px) {
  .feature-media--hero .feature-media__bg {
    height: 360px;
  }

  .feature-media--compact {
    min-height: 245px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-media__float {
    animation: none;
  }
}

/* ========== Moves feature float ========== */
.moves-float {
  animation: movesFloatY 3.2s ease-in-out infinite;
  will-change: transform;
}

@keyframes movesFloatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .moves-float {
    animation: none;
  }
}

/* ========== Arrow nudge (forward / back) ========== */
.arrow-nudge {
  display: inline-block;
  animation: arrowNudgeX 2.4s cubic-bezier(0.45, 0.05, 0.25, 1) infinite;
  will-change: transform;
  backface-visibility: hidden;
}

@keyframes arrowNudgeX {

  0%,
  20% {
    transform: translate3d(0, 0, 0);
  }

  45% {
    transform: translate3d(5px, 0, 0);
  }

  58% {
    transform: translate3d(5px, 0, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .arrow-nudge {
    animation: none;
  }
}

/* ========== Outcome cards / sparklines ========== */
.outcome-card__metric {
  background: linear-gradient(90deg, #3557f6 0%, #7c3aed 55%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.outcome-card__rule {
  height: 0;
  border-top: 1.5px dotted #cbd5e1;
}

.outcome-spark__line {
  fill: none;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: outcomeSparkDraw 2.6s ease-out infinite;
}

.outcome-spark__fill {
  opacity: 0;
  animation: outcomeSparkFill 2.6s ease-out infinite;
}

.outcome-spark__end {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: outcomeSparkDot 2.6s ease-out infinite;
}

/* Draw start → end, hold, hide in place, then restart from start (no reverse) */
@keyframes outcomeSparkDraw {
  0% {
    stroke-dashoffset: 100;
    opacity: 1;
  }

  45% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  72% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  78% {
    stroke-dashoffset: 0;
    opacity: 0;
  }

  79%,
  100% {
    stroke-dashoffset: 100;
    opacity: 0;
  }
}

@keyframes outcomeSparkFill {
  0% {
    opacity: 0;
  }

  45%,
  72% {
    opacity: 0.85;
  }

  78%,
  100% {
    opacity: 0;
  }
}

/* Dot appears at the tip after the line finishes, then hides with it */
@keyframes outcomeSparkDot {

  0%,
  42% {
    opacity: 0;
    transform: scale(0.35);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }

  58%,
  72% {
    opacity: 1;
    transform: scale(1);
  }

  78%,
  100% {
    opacity: 0;
    transform: scale(0.35);
  }
}

@media (prefers-reduced-motion: reduce) {

  .outcome-spark__line,
  .outcome-spark__fill,
  .outcome-spark__end {
    animation: none;
  }
}

/* ========== Stakeholder / procurement chain ========== */
.stakeholder-list {
  --stake-icon: 2.75rem;
  --stake-pad-x: 0.75rem;
  --stake-line-x: calc(var(--stake-pad-x) + var(--stake-icon) / 2);
  position: relative;
  gap: 0;
}

/* Vertical timeline through icon centers */
.stakeholder-list::before {
  content: "";
  position: absolute;
  top: calc(var(--stake-pad-x) + var(--stake-icon) / 2);
  bottom: calc(var(--stake-pad-x) + var(--stake-icon) / 2);
  left: var(--stake-line-x);
  width: 1px;
  background: #eeeeee;
  transform: translateX(-50%);
  z-index: 0;
}

.stakeholder-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.2rem var(--stake-pad-x);
  border-radius: 1rem;
}

@media (max-width: 1024px) {
  .stakeholder-item {
    padding: 1rem var(--stake-pad-x);
  }
}

/*
  Connector row between roles:
  horizontal line LEFT — purple DOT (on vertical axis) — horizontal line RIGHT
*/
.stakeholder-rail {
  position: relative;
  z-index: 1;
  width: 100%;
  pointer-events: none;
}

.stakeholder-rail__dot {
  position: absolute;
  left: var(--stake-line-x);
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #7c3aed;
  transform: translate(-50%, -50%);

  box-shadow: 0 0 0 5px #fff;
  /* breaks the vertical line around the dot */

  z-index: 2;
}

.stakeholder-rail__line {
  position: absolute;
  top: 50%;
  height: 1.5px;
  transform: translateY(-50%);
  z-index: 1;
}

.stakeholder-rail__line--left {
  left: 0;
  width: calc(var(--stake-line-x) - 7px);
  background: linear-gradient(90deg,

      #D8E0EF 45%,
      #D8E0EF00 100%);
}

.stakeholder-rail__line--right {
  left: calc(var(--stake-line-x) + 7px);
  width: 9.5rem;
  background: linear-gradient(90deg,

      #D8E0EF 45%,
      #D8E0EF00 100%);
}

.stakeholder-item__icon {
  position: relative;
  z-index: 1;
  display: flex;
  width: var(--stake-icon);
  height: var(--stake-icon);
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid #e0e7ff;
  background: #fff;
  color: #4f46e5;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.stakeholder-item__body {
  min-width: 0;
}

.stakeholder-item.is-active {
  background: #F6F6FF;
  /* box-shadow: 0 8px 24px rgba(124, 58, 237, 0.08); */
}

/* Top junction sits on the rail before the active row — raise it above the card fill */
.stakeholder-rail:has(+ .stakeholder-item.is-active) {
  z-index: 2;
}

.stakeholder-rail:has(+ .stakeholder-item.is-active) .stakeholder-rail__dot {
  box-shadow: 0 0 0 5px #f6f6ff;
}

/* Bottom junction: match knockout to active fill where it meets the card edge */
.stakeholder-item.is-active + .stakeholder-rail .stakeholder-rail__dot {
  box-shadow: 0 0 0 5px #f6f6ff;
}
.stakeholder-item__title {
  font-size: 18px;
  font-weight: 500;
}

@media (min-width: 1536px) {
  .stakeholder-item__title {
    font-size: 22px;
  }
}

.stakeholder-item.is-active .stakeholder-item__title {
  color: #6d28d9;
}

.stakeholder-item.is-active .stakeholder-item__desc {
  color: #6b7280;
}

.stakeholder-item.is-active .stakeholder-item__icon {
  border-color: #c7d2fe;
  color: #000;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.18);
}

.stakeholder-item.is-active .stakeholder-item__icon svg :is(path, circle, rect)[fill="#0046BE"] {
  fill: #000;
}

.stakeholder-item:focus-visible {
  outline: 2px solid #818cf8;
  outline-offset: 2px;
}

.stakeholder-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(245deg, rgba(234, 240, 251, 0.6) -13.37%, #F8F5FF 65.9%);

}

/* Soft sky-blue top corners + lavender bottom corners (behind content) */
.stakeholder-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

}

.stakeholder-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(175, 203, 255, 0.28), transparent 65%);
  box-shadow:
    inset 0 -56px 72px -16px rgba(193, 170, 245, 0.22),
    inset 0 -28px 44px -10px rgba(175, 203, 255, 0.2);
}

.stakeholder-panel__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.55) 0%, transparent 42%),
    linear-gradient(317deg, rgba(217, 204, 255, 0.2) 30%, rgba(217, 204, 255, 0.55) 100%);
}

/* ========== Reveal on scroll ========== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Role cards (platforms — built for everyone) ========== */
.role-flow {
  position: relative;
}

.role-flow__connector {
  position: relative;
  margin-bottom: 2px;
}

.role-flow__nodes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.role-flow__rail {
  border: 1px solid #DBE3F2;
  position: absolute;
  top: 12px;
  left: 12.5%;
  width: 75%;
  height: 4px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

.role-flow__rail-glow {
  position: absolute;
  inset: -1px 0;
  border-radius: 999px;
  background: linear-gradient(90deg,
      rgba(79, 93, 232, 0.42) 0%,
      rgba(14, 155, 181, 0.42) 33%,
      rgba(139, 92, 246, 0.42) 66%,
      rgba(105, 206, 158, 0.42) 100%);
  filter: blur(1.5px);
  opacity: 0.5;
}

.role-flow__rail-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg,
      #4f5de8 0%,
      #4f5de8 24%,
      #0e9bb5 24%,
      #0e9bb5 49%,
      #8b5cf6 49%,
      #8b5cf6 74%,
      #69ce9e 74%,
      #69ce9e 100%);
  /* background: linear-gradient(90deg, #2B7CF0 0%, #0FB5A0 35%, #7C5CF5 70%, #10B981 100%); */
  -webkit-mask: repeating-linear-gradient(90deg,
      #000 0 5px,
      transparent 5px 11px);
  mask: repeating-linear-gradient(90deg,
      #000 0 5px,
      transparent 5px 11px);
}

.role-flow__node-col {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.role-flow__node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px dashed currentColor;
  background: #ffffff;
}

.role-flow__node::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.role-flow__node--blue {
  color: #4f5de8;
}

.role-flow__node--teal {
  color: #0e9bb5;
}

.role-flow__node--purple {
  color: #8b5cf6;
}

.role-flow__node--green {
  color: #69ce9e;
}

.role-flow__stem {
  display: block;
  width: 1.5px;
  height: 32px;
  margin-top: 0px;
  border-radius: 999px;
  background: currentColor;
  opacity: 1;
  z-index: 0;
}

.role-flow__stem--blue {
  color: #2B7CF059;
}

.role-flow__stem--teal {
  color: #0e9bb5;
}

.role-flow__stem--purple {
  color: #8b5cf6;
}

.role-flow__stem--green {
  color: #69ce9e;
}

@keyframes roleCardFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.role-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: 28px 20px 22px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  text-align: center;
  cursor: pointer;
  animation: roleCardFloat 3.8s ease-in-out infinite;
  will-change: transform;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.3s var(--ease);
    position: relative;
    z-index: 2;
}

.role-card:nth-child(1) {
  animation-delay: 0s;
}

.role-card:nth-child(2) {
  animation-delay: 0.5s;
}

.role-card:nth-child(3) {
  animation-delay: 1s;
}

.role-card:nth-child(4) {
  animation-delay: 1.5s;
}

.role-card:hover {
  animation-play-state: paused;
  transform: translateY(-12px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.role-card:focus-visible {
  outline: 2px solid #8b5cf6;
  outline-offset: 2px;
}

.role-card.is-active {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.12),
    0 12px 32px rgba(139, 92, 246, 0.16);
}

.role-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  border: 1px solid #e8ecf4;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  color: #2563eb;
}

.role-card__icon svg {
  width: 22px;
  height: 22px;
}

.role-card.is-active .role-card__icon {
  border: none;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(139, 92, 246, 0.32);
}

.role-card__title {
  margin: 0 0 20px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  color: #131B2E;
}

.role-card__desc {
  margin: 0 0 20px;
  flex: 1;
  font-size: 18px;
  line-height: 30px;
  color: #464C5B;
}

.role-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 28px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
}

.role-card__tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.role-card__tag--blue {
  background: #eff6ff;
  color: #2563eb;
}

.role-card__tag--blue .role-card__tag-dot {
  background: #2563eb;
}

.role-card__tag--green {
  background: #ecfdf5;
  color: #059669;
}

.role-card__tag--green .role-card__tag-dot {
  background: #059669;
}

.role-card__tag--purple {
  background: #f5f3ff;
  color: #7c3aed;
}

.role-card__tag--purple .role-card__tag-dot {
  background: #7c3aed;
}

.role-card__tag--teal {
  background: #ecfdf5;
  color: #0d9488;
}

.role-card__tag--teal .role-card__tag-dot {
  background: #0d9488;
}

@media (max-width: 1023px) {
  .role-flow__connector {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .role-card {
    animation: none;
    will-change: auto;
  }

  .role-card:hover {
    transform: none;
  }
}

/* ========== Structure demand grid (platforms) ========== */
.structure-section,
.platform-faq-section {
  background-color: #ffffff;
  background-image: linear-gradient(
    268.65deg,
    rgba(234, 240, 251, 0) 9.01%,
    rgba(241, 242, 253, 0.6) 51.23%,
    rgba(244, 244, 254, 0.6) 78.96%,
    rgba(248, 245, 255, 0) 95.35%
  );
}

.structure-card {
  display: flex;
  padding: 24px;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(97.78deg, rgba(0, 70, 190, 0.25) -19.82%, rgba(161, 61, 255, 0.25) 80.38%) border-box;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}

.structure-card:hover {
  transform: translateY(-4px);
  border: 1px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(98.47deg, rgba(0, 70, 190, 0.25) -19.6%, rgba(161, 61, 255, 0.25) 79.52%) border-box;
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.08);
}

.structure-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 24px 24px 12px;
  background: radial-gradient(90% 90% at 20% 10%, rgba(217, 204, 255, 0.5) 0%, rgba(217, 204, 255, 0.08) 60%);
  border-radius: 18px;
}

.structure-card__media img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
}

.structure-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 8px 24px 28px;
  text-align: center;
}

.structure-card__title {
  margin: 0 0 10px;
  max-width: 26ch;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}

.structure-card__desc {
  margin: 0;
  max-width: 34ch;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #64748b;
}

@media (min-width: 1024px) {
  .structure-card__media {
    min-height: 240px;
    padding: 28px 28px 16px;
  }

  .structure-card__body {
    padding: 10px 28px 32px;
  }

  .structure-card__title {
    font-size: 1.125rem;
  }
}

/* ========== Workflow steps (platforms) ========== */

.workflow-bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  right: 65%;
  background: radial-gradient(50% 50% at 50% 55%, rgba(138, 92, 240, 0.1) 0%, rgba(138, 92, 240, 0) 88.46%);
  pointer-events: none;
}

.workflow-tabs {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  margin: 0 auto 32px;
  padding: 5px;
  max-width: 1200px;
  border: 1px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(95.01deg, rgba(161, 61, 255, 0.5) 2.51%, rgba(161, 61, 255, 0) 33.13%, rgba(161, 61, 255, 0.3) 72.88%) border-box;
  scrollbar-width: none;
}

.workflow-tabs::-webkit-scrollbar {
  display: none;
}

.workflow-tab {
  flex: 1 0 auto;
  min-width: max-content;
  padding: 18px 10px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 100%;
  color: #131B2E;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.workflow-tab:hover {
  color: #A13DFF;
}

.workflow-tab.is-active {
  /* background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); */
  background: linear-gradient(98.47deg, #0046BE -19.6%, #A13DFF 79.52%);

  color: #ffffff;
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.28);
}

.workflow-tab:focus-visible {
  outline: 2px solid #8b5cf6;
  outline-offset: 2px;
}

.workflow-panel {
  display: none;
}

.workflow-panels {
  position: relative;
  z-index: 1;
}

.workflow-panel.is-active {
  display: block;
  animation: workflowPanelIn 0.35s var(--ease);
}

@keyframes workflowPanelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

.workflow-panel__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 1024px) {
  .workflow-panel__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
  }
}

.workflow-visual__card {
  position: relative;
  z-index: 1;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(180deg, #ffffff 0%, #faf9ff 100%) padding-box,
    linear-gradient(97.78deg, rgba(0, 70, 190, 0.25) -19.82%, rgba(161, 61, 255, 0.25) 80.38%) border-box;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.workflow-visual__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.workflow-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 24px;
}

.workflow-stepper__item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.workflow-stepper__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.workflow-stepper__icon svg {
  width: 18px;
  height: 18px;
}

.workflow-stepper__icon--violet {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
}

.workflow-stepper__icon--blue {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #ffffff;
}

.workflow-stepper__icon--muted {
  background: #f1f5f9;
  color: #94a3b8;
}

.workflow-stepper__label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748b;
  text-align: center;
}

.workflow-stepper__line {
  flex: 1;
  height: 2px;
  margin-top: 19px;
  border-radius: 999px;
  background: #e2e8f0;
}

.workflow-stepper__line.is-done {
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.workflow-intake,
.workflow-ai-card,
.workflow-route-card,
.workflow-track-card {
  border: 1px solid #ece9f8;
  border-radius: 16px;
  background: #ffffff;
  padding: 18px;
}

.workflow-intake__head,
.workflow-ai-card__head,
.workflow-track-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.workflow-intake__badge,
.workflow-ai-card__chip {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7c3aed;
}

.workflow-intake__status,
.workflow-ai-card__score,
.workflow-track-card__stage {
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #059669;
}

.workflow-intake__id,
.workflow-ai-card__title,
.workflow-route-card__path,
.workflow-track-card__id {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.workflow-route-card__label {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #7c3aed;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.workflow-intake__grid,
.workflow-ai-card__rows,
.workflow-route-card__steps {
  display: grid;
  gap: 10px;
}

.workflow-intake__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workflow-intake__field,
.workflow-ai-card__row,
.workflow-route-card__step {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
}

.workflow-intake__field span,
.workflow-ai-card__row span,
.workflow-route-card__step span,
.workflow-track-card__timeline span {
  display: block;
  margin-bottom: 2px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.workflow-intake__field strong,
.workflow-ai-card__row strong,
.workflow-route-card__step strong,
.workflow-track-card__timeline strong {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
}

.workflow-intake__field--success,
.workflow-ai-card__row--highlight {
  background: #ecfdf5;
}

.workflow-intake__field--success strong,
.workflow-ai-card__row--highlight strong {
  color: #059669;
}

.workflow-route-card__step.is-done {
  background: #eef2ff;
}

.workflow-route-card__step.is-active {
  background: #f5f3ff;
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.18);
}

.workflow-track-card__timeline {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.workflow-track-card__timeline li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
}

.workflow-track-card__timeline li.is-done {
  background: #eef2ff;
}

.workflow-track-card__timeline li.is-active {
  background: #f5f3ff;
  box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.18);
}

.workflow-track-card__sla {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eff6ff;
}

.workflow-track-card__sla span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #2563eb;
  text-transform: uppercase;
}

.workflow-track-card__sla strong {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
}

.workflow-copy__title {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: #112030;
}

.workflow-copy__subtitle {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
}

.workflow-copy__rule {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 0 20px;
}

.workflow-copy__rule-line {
  display: block;
  height: 1.5px;
  min-height: 1.5px;
  border-radius: 999px;
  background: #d8e0ef;
}

.workflow-copy__rule-line--left {
  flex: 0 0 18px;
  width: 18px;
}

.workflow-copy__rule-line--right {
  flex: 1 1 auto;
  min-width: 0;
  background: linear-gradient(90deg, #d8e0ef 0%, rgba(216, 224, 239, 0.15) 100%);
}

.workflow-copy__rule-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-inline: 2px;
  border-radius: 50%;
  background: #6C5CF0;
  box-shadow: 0 0 0 2px #ffffff;
}

.workflow-copy__desc {
  margin: 0 0 24px;
  max-width: 52ch;
  font-size: 20px;
  line-height: 1.65;
  color: #64748b;
}

.workflow-checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 70%;
  padding: 10px 16px;
  border-radius: 6px;
  background: linear-gradient(247.48deg, #EAF0FB -4.5%, #F8F5FF 68.57%);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  color: #131B2E;
}

.workflow-checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 8' fill='none'%3E%3Cpath d='M3.22883 7.21885C2.94497 7.21897 2.67274 7.10614 2.47219 6.90526L0.184609 4.61853C-0.0615362 4.3723 -0.0615362 3.97317 0.184609 3.72695C0.430832 3.48081 0.829961 3.48081 1.07618 3.72695L3.22883 5.8796L8.92382 0.184609C9.17004 -0.0615362 9.56917 -0.0615362 9.81539 0.184609C10.0615 0.430832 10.0615 0.829961 9.81539 1.07618L3.98547 6.90526C3.78492 7.10614 3.51269 7.21897 3.22883 7.21885Z' fill='%230046BE'/%3E%3C/svg%3E");
}

@media (min-width: 768px) {
  .workflow-tab {
    flex: 1;
    min-width: 0;
    white-space: normal;
    text-align: center;
    font-size: 17px;
    padding: 16px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .workflow-panel.is-active {
    animation: none;
  }
}

/* ========== Compare board (platforms + ai-agent — Procbay vs Legacy) ========== */
.compare-section {
  background-color: #ffffff;
  background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 56px 100%;
}

.compare-board {
  --compare-axis: 240px;
  --compare-gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.compare-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--compare-axis) minmax(0, 1fr);
  column-gap: var(--compare-gap);
  row-gap: 10px;
  min-width: 920px;
}

.compare-grid__head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-bottom: 18px;
  padding: 10px 28px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: clamp(0.8125rem, 1.4vw, 1.125rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.compare-grid__head--pro {
  grid-column: 1;
  grid-row: 1;
  justify-self: stretch;
  border: 2px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(53, 87, 246, 0.15) 0%, rgba(106, 60, 255, 0.45) 52%, rgba(22, 195, 230, 0.25) 100%) border-box;
}

.compare-grid__head--vs {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  min-width: 72px;
  padding: 10px 26px;
  background: linear-gradient(164deg, #3557f6 0%, #6a3cff 52%, #16c3e6 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.22);
}

.compare-grid__head--legacy {
  grid-column: 3;
  grid-row: 1;
  justify-self: stretch;
  border: 2px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(53, 87, 246, 0.15) 0%, rgba(106, 60, 255, 0.45) 52%, rgba(22, 195, 230, 0.25) 100%) border-box;
}

.compare-grid__row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) var(--compare-axis) minmax(0, 1fr);
  column-gap: var(--compare-gap);
  align-items: center;
  min-height: 0;
  padding: 12px 14px;
  border: 1px solid #e8edf5;
  border-radius: 14px;
  background: #f8fafc;
  overflow: visible;
}

.compare-grid__pro {
  position: relative;
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  width: 100%;
  margin-left: auto;
  padding: 14px 24px 14px 18px;
  border-radius: 10px;
  background: linear-gradient(98.47deg, #0046BE -19.6%, #A13DFF 79.52%);
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.24);
  text-align: left;
  font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
  font-weight: 500;
  line-height: 1.45;
  color: #ffffff;
  overflow: visible;
  z-index: 1;
}
.compare-grid__pro::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -5px;
  z-index: 3;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #7c3aed 4px, transparent 3.5px), #ffffff;
  box-shadow: 0 0 0 2px #f8fafc;
  transform: translateY(-50%);
  pointer-events: none;
}


.compare-grid__pro svg {
  flex-shrink: 0;
  width: 13px;
  height: 10px;
  color: #ffffff;
}

.compare-grid__axis {
  position: relative;
  z-index: 1;
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.compare-grid__label {
  flex-shrink: 0;
  padding: 0 10px;
  font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-align: center;
  color: #1b2430;
  white-space: nowrap;
}

.compare-grid__line {
  flex: 1 1 auto;
  min-width: 12px;
  height: 1px;
  background: #d8e0ef;
}

.compare-grid__line:first-child {
  margin-right: -1px;
}

.compare-grid__line:last-child {
  margin-left: -1px;
}

.compare-grid__legacy {
  position: relative;
  grid-column: 3;
  display: inline-flex;
  align-items: center;
  justify-self: start; 
  gap: 10px;
  width: 100%;
  margin-right: auto;
  padding: 14px 18px 14px 24px;
  border: 1.5px dashed #cfd8e6;
  border-radius: 10px;
  background: #F1F0F7;
  font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
  font-weight: 500;
  line-height: 1.45;
  color: #94a3b8;
  overflow: visible;
  z-index: 1;
}

.compare-grid__legacy::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  z-index: 3;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #9781eb 4px, transparent 3.5px), #ffffff;
  box-shadow: 0 0 0 2px #f8fafc;
  transform: translateY(-50%);
  pointer-events: none;
}


.compare-grid__legacy svg {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
}

@media (max-width: 1023px) {
  .compare-board {
    --compare-axis: 168px;
    --compare-gap: 12px;
  }

  .compare-grid {
    min-width: 760px;
  }

  .compare-grid__head {
    margin-bottom: 12px;
    padding: 8px 16px;
    font-size: 0.75rem;
  }

  .compare-grid__row {
    padding: 10px 12px;
  }

  .compare-grid__pro,
  .compare-grid__legacy {
    padding: 11px 16px;
    font-size: 0.8125rem;
  }

  .compare-grid__label {
    padding: 0 6px;
    font-size: 0.75rem;
    white-space: normal;
  }
}

/* Legacy pillar/ring — removed from markup; keep rules harmless if present */
.compare-grid__pillar,
.compare-grid__ring {
  display: none;
}

.compare-grid__dot {
  display: none;
}

/* Row-count variants (grid auto-flows rows after header) */
.compare-grid--6 {
  /* 6 data rows — no extra layout rules needed */
}

/* ========== Agent module CTA banner (ai-agent page) ========== */
.agent-module-cta {
  background: linear-gradient(246.24deg, #3557f6 27.92%, #6a3cff 65.05%, #16c3e6 99.32%);
}

.agent-module-cta__text {
  margin: 0;
}

.agent-module-cta__btn {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

/* ========== Intake feature cards (platforms) ========== */

  .bg-gradient-right {
    position: absolute;
    top: 26%;
    right: 0;
    width: 25%;
    height: 61%;
    border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(34, 195, 230, 0.08) 0%, rgba(34, 195, 230, 0) 100%);

    z-index: 0;
  }
  .bg-gradient-left {
    position: absolute;
    top: 26%;
    left: 0;
    width: 25%;
    height: 61%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(139, 108, 255, 0.08) 0%, rgba(139, 108, 255, 0) 100%);

    border-radius: 50%;
    z-index: 0;
  }
.intake-feature-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border-radius: 16px;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  border: 1px solid #e8ecf4;
  background: linear-gradient(223deg, #f0f6ffa3 28%, #ffffff00 40%);
}

/* .intake-feature-card.border-gradient {
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(180deg, #ffffff 0%, #faf9ff 100%) padding-box,
    linear-gradient(97.78deg, rgba(0, 70, 190, 0.25) -19.82%, rgba(161, 61, 255, 0.25) 80.38%) border-box;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
} */

.intake-feature-card:hover {
  transform: translateY(-4px);
}

.intake-feature-card.border-gradient:hover {
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.1);
}

.intake-feature-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.intake-feature-card__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: #ffffff;
  border: 1px solid #e8ecf4;
  color: #0046be;
 
}

.intake-feature-card__icon svg,
.intake-feature-card__icon img {
  width: 22px;
  height: 22px;
}

.intake-feature-card__title {
  margin: 0;
  padding-top: 2px;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  color: #112030;
}

.intake-feature-card__desc {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  color: #464C5B;
  text-align: left;
}

@media (min-width: 1024px) {
  .intake-feature-card {
    padding: 28px;
  }

  .intake-feature-card__title {
    font-size: 1.125rem;
  }
}

/* ========== Platform FAQ (platforms) ========== */
.platform-faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.platform-faq__intro {
  position: relative;
  max-width: 420px;
}

.platform-faq__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.platform-faq__desc {
  margin: 0;
  max-width: 34ch;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.platform-faq__art {
  position: relative;
  width: 100%;
  height: auto;
  margin-top: 48px;
}

.platform-faq__art-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.platform-faq__mark {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}

.platform-faq__mark--1 {
  left: 8%;
  bottom: 18%;
  font-size: 5.5rem;
  color: rgba(161, 61, 255, 0.22);
  transform: rotate(-8deg);
}

.platform-faq__mark--2 {
  left: 38%;
  bottom: 32%;
  font-size: 4.25rem;
  color: rgba(161, 61, 255, 0.38);
  transform: rotate(6deg);
}

.platform-faq__mark--3 {
  right: 6%;
  bottom: 8%;
  font-size: 6.5rem;
  color: rgba(161, 61, 255, 0.16);
  -webkit-text-stroke: 1.5px rgba(161, 61, 255, 0.35);
  color: transparent;
  transform: rotate(-4deg);
}

.platform-faq__rail {
  display: none;
}

.platform-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.platform-faq__item {
  overflow: hidden;
  border: 1px solid #e8ecf4;
  border-radius: 25px;
  background: #ffffff;
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.platform-faq__item:hover {
  border-color: #ddd6fe;
}

.platform-faq__item.is-open {
  border-color: #d8e0ef;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.platform-faq__trigger {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  text-align: left;
  cursor: pointer;
}

.platform-faq__item.is-open .platform-faq__trigger {
  padding-bottom: 12px;
}

.platform-faq__question {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-primary);
}

.platform-faq__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  color: #93a1be;
}

.platform-faq__icon-open,
.platform-faq__icon-closed {
  width: 20px;
  height: 20px;
}

.platform-faq__icon-open {
  display: none;
}

.platform-faq__icon-closed {
  display: block;
}

.platform-faq__item.is-open .platform-faq__icon-open {
  display: block;
}

.platform-faq__item.is-open .platform-faq__icon-closed {
  display: none;
}

.platform-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 22px;
  transition: grid-template-rows 0.35s var(--ease);
}

.platform-faq__answer > p {
  overflow: hidden;
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.platform-faq__item.is-open .platform-faq__answer {
  grid-template-rows: 1fr;
  padding-bottom: 20px;
}

@media (min-width: 1024px) {
  .platform-faq__grid {
    grid-template-columns: minmax(0, 0.38fr) auto minmax(0, 0.62fr);
    gap: 0 40px;
    align-items: stretch;
  }

  .platform-faq__intro {
    padding-top: 8px;
  }

  .platform-faq__rail {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    width: 1px;
    min-width: 1px;
  }

  .platform-faq__rail-line {
    flex: 1;
    width: 1px;
    background: linear-gradient(180deg, rgba(216, 224, 239, 0) 0%, #d8e0ef 12%, #d8e0ef 88%, rgba(216, 224, 239, 0) 100%);
  }

  .platform-faq__rail-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a13dff;
    transform: translate(-50%, -50%);
  }


}

/* ========== Intake Workflow Agent (platforms) ========== */
.intake-agent__board {
  position: relative;
}

.intake-agent__card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  padding: 24px;
  border: 1px solid #e8ecf4;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.intake-agent__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
  color: #0046be;
}

.intake-agent__icon svg {
  width: 22px;
  height: 22px;
}

.intake-agent__text {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-primary);
}

.intake-agent__connector {
  position: relative;
  margin-top: 0;
  padding-bottom: 48px;
}

.intake-agent__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.intake-agent__link-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intake-agent__stem {
  display: block;
  width: 0;
  height: 28px;
  border-left: 1.5px dashed #c5cdd9;
  opacity: 1;
}

.intake-agent__stem--blue
{
  border-left: 2px dashed #4F5DE8;
}
.intake-agent__stem--purple{
  border-left: 2px dashed #7A4FE8;
}
.intake-agent__stem--teal {
  border-left: 2px dashed #6C5CF0;
}

.intake-agent__node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid currentColor;
  background: #ffffff; 
}

.intake-agent__node::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.intake-agent__node--blue {
  color: #4f5de8;
}

.intake-agent__node--purple {
  color: #6c5cf0;
}

.intake-agent__node--teal {
  color: #6C5CF0;
}

.intake-agent__rail {
  position: absolute;
  bottom: 8px;
  right: 0;
  z-index: 1;
  width: 81%;
  height: 24%;
  aspect-ratio: 1560 / 156;
  overflow: visible;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .intake-agent__rail {
    position: absolute;
    bottom: 8px;
    right: -185px;
    z-index: 1;
    width: 100%;
    height: 24%;
  }
  .intake-agent__card {
    padding: 28px;
  }

  .intake-agent__text {
    font-size: 1rem;
  }

  .intake-agent__connector {
    margin-top: 0;
    padding-bottom: 48px;
  }

  .intake-agent__stem {
    height: 32px;
  }
}

/* ========== Agent intro (ai-agent page) ========== */
.agent-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.agent-intro__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.agent-intro__lead {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
}

.agent-intro__body {
  margin: 0;
  max-width: 42ch;
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.agent-intro__rail {
  display: none;
}

.agent-intro__visual {
  position: relative;
  min-height: 440px;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}

.agent-intro__arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.agent-intro__stamp {
  position: absolute;
  z-index: 1;
  width: 60%;
  padding: 14px 26px;
  border-radius: 16px;
  border: 1px solid;
  box-shadow: 10px 10px 50px 0 #00000008;
}

.agent-intro__stamp-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 5px;
}

.agent-intro__stamp-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
}

.agent-intro__stamp--1 .agent-intro__stamp-num {
  color: #ebb881;
  background:
    linear-gradient(#fffbf8, #fffbf8) padding-box,
    linear-gradient(142.9deg, rgba(235, 184, 129, 0) 12.11%, #ebb881 93.26%) border-box;
  box-shadow: 0 4px 4px 0 #ebb88140;
}

.agent-intro__stamp--2 .agent-intro__stamp-num {
  color: #ab48a1;
  background:
    linear-gradient(#fffaff, #fffaff) padding-box,
    linear-gradient(142.9deg, rgba(171, 72, 161, 0) 12.11%, #ab48a1 93.26%) border-box;
  box-shadow: 0 4px 4px 0 #ab48a140;
}

.agent-intro__stamp--3 .agent-intro__stamp-num {
  color: #64b23b;
  background:
    linear-gradient(#fafff7, #fafff7) padding-box,
    linear-gradient(142.9deg, rgba(100, 178, 59, 0) 12.11%, #64b23b 93.26%) border-box;
  box-shadow: 0 4px 4px 0 #64b23b40;
}

.agent-intro__stamp-rule {
  flex: 0.8 0 20px;
  height: 1px;
  border-radius: 999px;
}

.agent-intro__stamp--1 .agent-intro__stamp-rule {
  background: linear-gradient(270deg, rgba(235, 184, 129, 0) 0%, #ebb881 40.16%);
}

.agent-intro__stamp--2 .agent-intro__stamp-rule {
  background: linear-gradient(270deg, rgba(171, 72, 161, 0) 0%, #ab48a1 40.16%);
}

.agent-intro__stamp--3 .agent-intro__stamp-rule {
  background: linear-gradient(270deg, rgba(100, 178, 59, 0) 0%, #64b23b 40.16%);
}

.agent-intro__stamp-text {
  margin: 0;
  font-size: 19px;
  font-weight: 400;
  line-height: 30px;
  color: var(--text-primary);
}

@media (max-width: 640px) {
  .agent-intro__stamp-text {
    font-size: 0.9375rem;
    line-height: 1.5;
  }
}

@media (max-width: 768px) {
  .agent-intro__stamp-text {
    font-size: 1rem;
    line-height: 1.55;
  }
}

@media (max-width: 1024px) {
  .agent-intro__stamp-text {
    font-size: 1.0625rem;
    line-height: 1.6;
  }
}

@media (max-width: 1280px) {
  .agent-intro__stamp-text {
    font-size: 16px;
    line-height: 1.65;
  }
}

@media (min-width: 1536px) {
  .agent-intro__stamp-text {
    font-size: 18px;
    line-height: 1.7;
  }
}

.agent-intro__stamp--1 {
  top: 9%;
  right: 15px;
  color: #e8925a;
  background: #FFFBF8;
  border-color: #FAEEE1;
  transform: rotate(10deg);
  z-index: 2;
}

.agent-intro__stamp--2 {
  top: 34%;
  left: 12%;
  color: #8b5cf6;
  background: #FFFAFF;
  border-color: #FFE1FC;
  transform: rotate(0.19deg);
  z-index: 1;
}

.agent-intro__stamp--3 {
  bottom: 9%;
  right: 18%;
  color: #34d399;
  background: #FAFFF7;
  border-color: #D7F3C7;
  transform: rotate(-12.53deg);
  z-index: 0;
}

@media (min-width: 1024px) {
  .agent-intro__grid {
    grid-template-columns: minmax(0, 0.52fr) auto minmax(0, 0.58fr);
    gap: 0 48px;
    align-items: stretch;
  }

  .agent-intro__copy {
    padding-top: 12px;
  }

  .agent-intro__rail {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    width: 1px;
    min-width: 1px;
  }

  .agent-intro__rail-line {
    flex: 1;
    width: 1px;
    background: linear-gradient(180deg,
        rgba(216, 224, 239, 0) 0%,
        #d8e0ef 10%,
        #d8e0ef 90%,
        rgba(216, 224, 239, 0) 100%);
  }

  .agent-intro__rail-dot {
    position: absolute;
    top: 26%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a13dff;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 3px rgba(161, 61, 255, 0.15);
  }

  .agent-intro__visual {
    min-height: 460px;
    max-width: none;
    margin-inline: 0;
  }
}

@media (max-width: 639px) {
  .agent-intro__visual {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .agent-intro__arc {
    display: none;
  }

  .agent-intro__stamp {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    transform: none;
  }
}

/* ========== Key value cards (ai-agent page) ========== */
.key-value-card {
  box-shadow: 0px 1px 50px 0 #6b4c7821; 
}

.key-value-card__line {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #e0e0e0 40.16%);
}

.key-value-card__num {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(142.9deg, rgba(161, 61, 255, 0) 12.11%, rgba(161, 61, 255, 0.8) 93.26%) border-box;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #a13dff;
}

/* ========== Automation workflow cards (ai-agent page) ========== */
.automation-card {
  box-shadow: 10px 10px 50px 0 #00000008;
}

.automation-card__visual {
  background: radial-gradient(90% 90% at 20% 10%, rgba(217, 204, 255, 0.5) 0%, rgba(217, 204, 255, 0.08) 60%);
}

/* ========== Contact page ========== */
.contact-page__form-card {
  box-shadow: 10px 10px 50px 0 #00000008;
}

.contact-page__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-page__input {
  width: 100%;
  padding: 0.72rem 0.95rem;
  border: 1px solid #e8ecf4;
  border-radius: 8px;
  background: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-primary);
  outline: none;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.contact-page__input::placeholder {
  color: #93a1be;
}

.contact-page__input:focus {
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.contact-page__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24' stroke='%2393A1BE' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.5rem;
}

.contact-page__textarea {
  min-height: 132px;
  resize: vertical;
}

/* ========== Split form shell (schedule demo + integrations) ========== */
.split-form-shell {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 1.25rem;

  /* box-shadow: 0 24px 64px rgba(15, 23, 42, 0.08); */
  overflow: hidden;
}

.split-form-shell__copy {
  position: relative;
  isolation: isolate;
  border-radius: 1.25rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: linear-gradient(135deg, #3557f6 0%, #6a3cff 52%, #16c3e6 100%);
  color: #fff;
  overflow: hidden;
}

.split-form-shell__copy::before,
.split-form-shell__copy::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.split-form-shell__copy::before {
  width: min(28rem, 80%);
  height: min(28rem, 80%);
  top: 55%;
  left: -18%;
  transform: translateY(-50%);
}

.split-form-shell__copy::after {
  width: min(20rem, 60%);
  height: min(20rem, 60%);
  top: 62%;
  left: -8%;
  transform: translateY(-50%);
}

.split-form-shell__copy-inner {
  position: relative;
  z-index: 1;
}

.split-form-shell__copy > :not(.split-form-shell__copy-inner) {
  position: relative;
  z-index: 1;
}

.split-form-shell__form {
  padding: 12px 2rem;
  background: #fff;
}

.split-form-shell__form .contact-page__input {
  border-radius: 10px;
  background: #f7f9fc;
  border-color: #e8ecf4;
}

.split-form-shell__form .contact-page__textarea {
  border-radius: 1rem;
  background: #f7f9fc;
}

.split-form-shell__form .demo-hero__form-card {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.integration-request-form__title {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
}

.integration-request-form__desc {
  margin: 0 0 2rem;
  max-width: 38ch;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.integration-request-form__label {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
}

.integration-request-form__expect {
  margin: 0;
  padding: 0;
  list-style: none;
}

.integration-request-form__expect li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.integration-request-form__expect li + li {
  margin-top: 0.85rem;
}

.integration-request-form__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.integration-request-form__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.integration-request-form__form-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

.integration-request-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.integration-request-form__categories {
  margin: 0;
  padding: 0;
  border: 0;
}

.integration-request-form__categories legend {
  padding: 0;
}

.integration-request-form__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.integration-request-form__pill {
  cursor: pointer;
}

.integration-request-form__pill input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.integration-request-form__pill span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border: 1px solid #e8ecf4;
  border-radius: 999px;
  background: #f7f9fc;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  color: #1b2430;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.integration-request-form__pill input:checked + span {
  border-color: transparent;
  background: linear-gradient(98.47deg, #0046be -19.6%, #a13dff 79.52%);
  color: #fff;
}

.integration-request-form__pill input:focus-visible + span {
  outline: 2px solid #7c3aed;
  outline-offset: 2px;
}

.integration-request-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.integration-request-form__actions .btn {
  display: flex;
  justify-content: center;
  min-width: 11rem;
}

@media (min-width: 640px) {
  .integration-request-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .split-form-shell {
    grid-template-columns: 40fr 60fr;
    align-items: stretch;
  }

  .split-form-shell__copy,
  .split-form-shell__form {
    min-height: 100%;
  }

  .split-form-shell__form {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 639px) {
  .demo-hero__form-row {
    grid-template-columns: 1fr;
  }

  .integration-request-form__actions {
    flex-direction: column;
  }

  .integration-request-form__actions .btn {
    width: 100%;
  }
}

/* ========== Schedule demo page ========== */
.demo-page {
  background: #fff;
}

.demo-hero {
  color: #fff;
}

.demo-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(161, 61, 255, 0.18);
  border: 1px solid rgba(196, 181, 253, 0.35);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e9d5ff;
}

.demo-hero__badge svg {
  width: 0.875rem;
  height: 0.875rem;
  color: #c4b5fd;
}

.demo-hero__title {
  margin: 0 0 1rem;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
  color: #fff;
}

.demo-hero__desc {
  margin: 0 0 1.5rem;
  max-width: 42ch;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.demo-hero__list {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.demo-hero__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.demo-hero__list li + li {
  margin-top: 0.75rem;
}

.demo-hero__check {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 70, 190, 0.35), rgba(161, 61, 255, 0.45));
  color: #fff;
}

.demo-hero__check svg {
  width: 0.7rem;
  height: 0.7rem;
}

.demo-hero__visual {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  /* border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem; */
}

.demo-hero__visual img {
  display: block;
  /* width: 60%; */
  object-fit: contain;
}

.demo-hero__form-wrap {
  position: relative;
  z-index: 2;
}

.demo-hero__form-card {
  padding: 20px;
  border-radius: 1.25rem;
  border: 1px solid #e8ecf4;
  background: #fff;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.14);
}

.demo-hero__form-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

.demo-hero__form-note {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.demo-hero__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.demo-hero__submit {
  width: 100%;
  margin-top: 0.25rem;
  justify-content: center;
}

.demo-hero__legal {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #93a1be;
  text-align: center;
}

.demo-hero__legal a {
  color: #7c3aed;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.demo-logos {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid #e8ecf4;
  background: #fff;
  text-align: center;
}

.demo-logos__label {
  margin: 0 0 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93a1be;
}

.demo-logos__strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 2.5rem;
  max-width: 56rem;
  margin-inline: auto;
}

.demo-logos__strip img {
  display: block;
  height: 2rem;
  width: auto;
  max-width: 8rem;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.demo-logos__strip img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.demo-stats {
  background: linear-gradient(268.67deg, rgba(234, 240, 251, 0) 9.01%, rgba(241, 242, 253, 0.6) 51.26%, rgba(244, 244, 254, 0.6) 79%, rgba(248, 245, 255, 0) 95.4%);
  color: #fff;
  padding: 0;
}

.demo-stats__grid {
  display: grid;
  grid-template-columns: 1fr;
}

.demo-stats__item {
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.demo-stats__item + .demo-stats__item {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.demo-stats__value {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);

  line-height: 1;
}


.demo-stats__label {
  margin: 0 auto;
  max-width: 22ch;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #1B2430;
}

.demo-testimonial {
  padding: 4rem 0 5rem;
  background: #f7f9fc;
}

.demo-testimonial__head {
  margin-bottom: 2rem;
  text-align: center;
}

.demo-testimonial__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

.demo-testimonial__rating {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
}

.demo-testimonial__stars {
  display: inline-flex;
  gap: 0.15rem;
  color: #fbbf24;
}

.demo-testimonial__stars svg {
  width: 1rem;
  height: 1rem;
}

.demo-testimonial__rating-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.demo-testimonial__card {
  max-width: 42rem;
  margin-inline: auto;
  padding: 2rem;
  border: 1px solid #e8ecf4;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.demo-testimonial__quote {
  margin: 0 0 1.5rem;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.demo-testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1.25rem;
  border-top: 1px dashed #e8ecf4;
}

.demo-testimonial__author img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.demo-testimonial__name {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.demo-testimonial__role {
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .demo-hero {
    padding-bottom: 0rem;
  }



  .demo-stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .demo-stats__item + .demo-stats__item {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (min-width: 1024px) {
  .demo-hero__form-wrap {
    margin-top: 0;
  }
}

@media (max-width: 639px) {
  .demo-hero__form-row {
    grid-template-columns: 1fr;
  }
}

.gradient-background {
  background: linear-gradient(135deg, #3557F6 0%, #4B20D6 50%, #16C3E6 100%);
  border-radius: 45px;

}

/* Connect hub tile position swap (index integrations) */
.connect-hub__swap-grid > * {
  will-change: transform;
  backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .connect-hub__swap-grid > * {
    will-change: auto;
  }
}

/* ========== Anatomy control (ai-agent page, section 5) ========== */
.anatomy-control__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.anatomy-control__left {
  min-width: 0;
}

.anatomy-control__visual {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
  min-height: 420px;
  padding: 32px 20px 0px;
  border-radius: 20px;
}

.anatomy-control__visual-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.anatomy-control__visual-inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
 
}

.anatomy-control__heading {
  max-width: 100%;
}

.anatomy-control__lead {
  max-width: 100%;
}
/* mobileview */
@media (max-width: 639px) {
  .anatomy-control__heading {
    max-width: 100%;
  }
  .anatomy-control__visual-ui {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    margin-bottom: 10%;
    filter: drop-shadow(0 18px 40px rgba(15, 23, 42, 0.12));
  }
}
.anatomy-control__visual-ui {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(15, 23, 42, 0.12));
}

.anatomy-control__features {
  --anatomy-track-width: 100%;
  --anatomy-node-size: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
}

.anatomy-control__rail {
  display: none;
}

.anatomy-control__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 18px;
}

.anatomy-control__track {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.anatomy-control__line {
  display: none;
}

.anatomy-control__icon {
  position: relative;
  z-index: 10;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border: 2px solid transparent;
  border-radius: 50%;
  color: #0046be;
  box-shadow: -8px 12px 32px rgb(3 104 242 / 12%), 10px -8px 28px rgb(255 163 54 / 0%), 0 4px 20px rgb(3 104 242 / 6%), 0 0 0 8px rgba(255, 163, 54, 0.06);
}

.anatomy-control__node {
  display: none;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: var(--anatomy-node-size);
  height: var(--anatomy-node-size);
  border-radius: 50%;
  background: #a13dff;

}

.anatomy-control__node::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.5px;
  height: 50px;
  border-radius: 999px;

  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #A13DFF 50%, rgba(255, 255, 255, 0) 100%);
  
  
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.anatomy-control__icon svg {
  width: 22px;
  height: 22px;
}

.anatomy-control__icon--1 {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(99.64deg, rgba(0, 70, 190, 0) 4.29%, rgba(161, 61, 255, 0.5) 82.49%) border-box;
}

.anatomy-control__icon--2 {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(99.64deg, rgba(161, 61, 255, 0.8) 14.9%, rgba(0, 70, 190, 0.1) 93.1%) border-box;
}

.anatomy-control__title {
  margin-bottom: 4px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}

.anatomy-control__desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

@media (min-width: 1024px) {
  .anatomy-control__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); 
  }

  .anatomy-control__visual {
    min-height: 560px;
    padding: 82px 28px 0px;
  }

  

  .anatomy-control__visual-ui {
    width: 92%;
    margin-top: 4px;
    margin-bottom: 0%;
  }

  .anatomy-control__features {
    --anatomy-track-width: 225px;
    gap: 40px;
    padding: 24px 0;
  }

  .anatomy-control__rail {
    display: block;
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: calc(var(--anatomy-track-width) - 1px);
    width: 2px;
    pointer-events: none;
    z-index: 0;
  }

  .anatomy-control__rail-line {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(180deg,
        rgba(161, 61, 255, 0.08) 0%,
        rgba(161, 61, 255, 0.42) 18%,
        rgba(161, 61, 255, 0.55) 50%,
        rgba(161, 61, 255, 0.42) 82%,
        rgba(161, 61, 255, 0.08) 100%);
  }

  .anatomy-control__item {
    column-gap: 28px;
  }

  .anatomy-control__track {
    display: grid;
    grid-template-columns: 1fr auto 22px var(--anatomy-node-size);
    align-items: center;
    width: var(--anatomy-track-width);
    z-index: 1;
  }

  .anatomy-control__line {
    display: block;
    grid-column: 1 / 4;
    grid-row: 1;
    align-self: center;
    z-index: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(161, 61, 255, 0) 0%, #a13dff 100%);
    -webkit-mask: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 8px);
    mask: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 8px);
  }

  .anatomy-control__icon {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .anatomy-control__node {
    display: block;
    grid-column: 4;
    grid-row: 1;
    justify-self: center;
  }
}

/* ========== Integrations stats (integrations page) ========== */
.integration-stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .integration-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.125rem;
  }

  .integration-stats__card:last-child {
    grid-column: 1 / -1;
    max-width: 24rem;
    margin-inline: auto;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .integration-stats__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .integration-stats__card:last-child {
    grid-column: auto;
    max-width: none;
    margin-inline: 0;
  }
}

.integration-stats__card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 100%;
  padding: 1.25rem;
  border: 1px solid transparent;
  border-radius: 1.25rem;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(95.67deg, rgba(0, 70, 190, 0.25) -3.18%, rgba(161, 61, 255, 0.25) 57.63%) border-box;
    box-shadow: 2px 3px 20px #7a4fe821;
}

.integration-stats__card--reverse {
  justify-content: space-between;
}

.integration-stats__copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.integration-stats__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.integration-stats__desc {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-secondary);
}

.integration-stats__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 10.5rem;
  /* padding: 1rem 0.75rem; */
  border-radius: 1rem;
  background: linear-gradient(
    229.65deg,
    rgba(234, 240, 251, 0.6) -33.87%,
    rgba(248, 245, 255, 0.6) 51.58%
  );
}

.integration-stats__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.integration-stats__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  max-width: 42rem;
  margin: 5rem auto 0;
}

.integration-stats__connector-line {
  flex: 1 1 0;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, #d8e0ef 45%, #d8e0ef 100%);
}

.integration-stats__connector-line:last-child {
  background: linear-gradient(90deg, #d8e0ef 0%, #d8e0ef 55%, transparent 100%);
}

.integration-stats__connector-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6c5cf0;
  box-shadow: 0 0 0 3px rgba(108, 92, 240, 0.16);
}

@media (min-width: 768px) {
  .integration-stats__card {
    padding: 1.375rem;
  }

  .integration-stats__title {
    font-size: 1.25rem;
  }

  .integration-stats__visual {
    min-height: 11.5rem;
    padding: 1.125rem 1rem;
  }

  .integration-stats__connector {
    margin-top: 2.5rem;
  }
}

/* ========== Integrations table (integrations page) ========== */


.integration-table__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.25rem;
}

.integration-table__title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.integration-table__title-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3557f6;
  box-shadow: 0 0 0 3px rgba(53, 87, 246, 0.16);
}

.integration-table__meta {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: #93a1be;
}

.integration-table__wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: transparent;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
}

.integration-table__grid {
  width: 100%;
  min-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.integration-table__grid thead tr {
  border-block: 1px solid #e8ecf4;
}

.integration-table__grid th {
  padding: 0.875rem 1.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  color: #7c3aed;
}

.integration-table__grid th:first-child {
  width: 26%;
  padding-left: 1.5rem;
}

.integration-table__grid th:nth-child(2) {
  width: 28%;
}

.integration-table__grid th:last-child {
  width: 46%;
  padding-right: 1.5rem;
}

.integration-table__grid td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #eef2f8;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #64748b;
  vertical-align: middle;
}

.integration-table__grid td:first-child {
  padding-left: 1.5rem;
}

.integration-table__grid td:last-child {
  padding-right: 1.5rem;
}

.integration-table__grid tbody tr:last-child td {
  border-bottom: none;
}

.integration-table__tool {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.integration-table__mark {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(124.29deg, rgba(0, 70, 190, 0.25) -64.06%, rgba(161, 61, 255, 0.25) 259.83%) border-box;
  box-shadow: 5px 6px 10px 0 #7a4fe814;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1;
}

.integration-table__mark--erp {
  color: #3557f6;
}

.integration-table__mark--routing {
  color: #0d9488;
}

.integration-table__mark--finance {
  color: #65a30d;
}

.integration-table__mark--identity {
  color: #7c3aed;
}

.integration-table__mark--communication {
  color: #ea580c;
}

.integration-table__mark--documents {
  color: #e11d48;
}

.integration-table__mark--projects {
  color: #db2777;
}

.integration-table__mark--custom {
  color: #b45309;
}

.integration-table__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.integration-table__badge--erp {
  color: #3557f6;
  background: #eef3ff;
}

.integration-table__badge--routing {
  color: #0f766e;
  background: #ccfbf1;
}

.integration-table__badge--finance {
  color: #4d7c0f;
  background: #ecfccb;
}

.integration-table__badge--identity {
  color: #7c3aed;
  background: #f3ebff;
}

.integration-table__badge--communication {
  color: #ea580c;
  background: #fff4ed;
}

.integration-table__badge--documents {
  color: #e11d48;
  background: #fff1f2;
}

.integration-table__badge--projects {
  color: #db2777;
  background: #fdf2f8;
}

.integration-table__badge--custom {
  color: #b45309;
  background: #fef3c7;
}

.integration-table__highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
  margin-top: 1.5rem;
  border: 1px solid #e8ecf4;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(90deg, #fff 0%, rgba(248, 245, 255, 0.75) 100%);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
}

.integration-table__highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
}

.integration-table__highlight + .integration-table__highlight {
  border-top: 1px solid #e8ecf4;
}

.integration-table__highlight-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid transparent;
  border-radius: 0.625rem;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(124.29deg, rgba(0, 70, 190, 0.15) -64.06%, rgba(161, 61, 255, 0.15) 259.83%) border-box;
  box-shadow: 0 4px 12px rgba(122, 79, 232, 0.08);
  color: #3557f6;
}

.integration-table__highlight-icon--purple {
  color: #7c3aed;
}

.integration-table__highlight-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.integration-table__highlight-title {
  margin: 0 0 0.125rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.integration-table__highlight-desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #64748b;
}

@media (min-width: 768px) {
  .integration-table__title {
    font-size: 1.5rem;
  }

  .integration-table__grid th,
  .integration-table__grid td {
    padding-inline: 1.25rem;
  }

  .integration-table__highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2rem;
  }

  .integration-table__highlight + .integration-table__highlight {
    border-top: none;
    border-left: 1px solid #e8ecf4;
  }
}

@media (max-width: 767px) {
  .integration-table__wrap {
    margin-inline: 0;
    padding-inline: 0;
  }

  .integration-table__grid {
    min-width: 36rem;
  }

  .integration-table__grid th:first-child,
  .integration-table__grid td:first-child {
    padding-left: 1rem;
  }

  .integration-table__grid th:last-child,
  .integration-table__grid td:last-child {
    padding-right: 1rem;
  }
}

/* ========== Integration flow (integrations page) ========== */
.integration-flow {
  background-color: #f7f9fc;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
}

.integration-flow__head {
  max-width: 52rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.integration-flow__title {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.integration-flow__desc {
  margin: 0 auto;
  max-width: 44rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.integration-flow__sliders {
  --integration-card-width: min(20rem, 78vw);
  --integration-card-gap: 1.25rem;
  --integration-slide-duration: 32s;

  display: flex;
  flex-direction: column;
  gap: var(--integration-card-gap);
}

.integration-flow__slider {
  overflow: hidden;
  margin-inline: -1.5rem;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 7%,
    #000 93%,
    transparent
  );
}

.integration-flow__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--integration-card-gap);
  width: max-content;
  will-change: transform;
}

.integration-flow__slider--right {
  padding-left: calc((var(--integration-card-width) + var(--integration-card-gap)) / 2);
}

.integration-flow__slider--left .integration-flow__track {
  animation: integrationFlowSlideLeft var(--integration-slide-duration) linear infinite;
}

.integration-flow__slider--right .integration-flow__track {
  animation: integrationFlowSlideRight var(--integration-slide-duration) linear infinite;
}

.integration-flow__sliders:hover .integration-flow__track {
  animation-play-state: paused;
}

.integration-flow__card {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.875rem;
  width: var(--integration-card-width);
  padding: 1rem 1.125rem;
  border: 1px solid #e8ecf4;
  border-radius: 1.125rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.25s var(--ease, ease),
    box-shadow 0.25s var(--ease, ease);
}

.integration-flow__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.integration-flow__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(
    229.65deg,
    rgba(234, 240, 251, 0.95) -33.87%,
    rgba(248, 245, 255, 0.95) 51.58%
  );
}

.integration-flow__icon img {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.integration-flow__text {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-primary);
}

@keyframes integrationFlowSlideLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes integrationFlowSlideRight {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

@media (min-width: 768px) {
  .integration-flow__head {
    margin-bottom: 3.5rem;
  }

  .integration-flow__desc {
    font-size: 1.0625rem;
  }

  .integration-flow__sliders {
    --integration-card-width: 20.5rem;
    --integration-card-gap: 1.5rem;
  }

  .integration-flow__card {
    padding: 1.125rem 1.25rem;
  }
}

@media (min-width: 1280px) {
  .integration-flow__sliders {
    --integration-card-width: 22rem;
    --integration-card-gap: 1.75rem;
    --integration-slide-duration: 36s;
  }

  .integration-flow__text {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .integration-flow__track {
    animation: none !important;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 68rem;
    margin-inline: auto;
    padding-inline: 1.5rem;
  }

  .integration-flow__slider {
    margin-inline: 0;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .integration-flow__slider--right {
    padding-left: 0;
  }

  .integration-flow__card[aria-hidden="true"] {
    display: none;
  }
}

/* ========== Integration record cards (integrations page) ========== */
.integration-record {
  font-family: var(--font-display);
}

.integration-record__title {
  margin: 0 auto 2.5rem;
  max-width: 44rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--text-primary);
}

.integration-record__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.integration-record__card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.5rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(95.67deg, rgba(0, 70, 190, 0.25) -3.18%, rgba(161, 61, 255, 0.25) 57.63%) border-box;
  box-shadow: 5px 10px 15px 0 #7a4fe80a;
  transition:
    transform 0.25s var(--ease, ease),
    box-shadow 0.25s var(--ease, ease);
}

.integration-record__card:hover {
  transform: translateY(-2px);
  box-shadow: 5px 14px 22px 0 #7a4fe814;
}

.integration-record__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.integration-record__num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: #A13DFF;
}

.integration-record__mark {
  display: inline-flex;
  flex-shrink: 0;
}

.integration-record__card-title {
  margin: 12px 0 ;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0;
  color: #1B2430;
}

.integration-record__card-desc {
  margin: 12px 0 ;
  flex: 1 1 auto;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 25px;
  color: var(--text-secondary);
}

.integration-record__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.integration-record__tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid #E0D2FF;
  background: rgba(161, 61, 255, 0.08);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #9131EC;
}

@media (min-width: 768px) {
  .integration-record__title {
    margin-bottom: 3rem;
  }

  .integration-record__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
  }

  .integration-record__card--featured {
    grid-row: span 2;
  }

  .integration-record__card {
    padding: 1.75rem;
  }

  .integration-record__card-title {
    font-size: 24px;
  }

  .integration-record__tags {
    padding-top: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .integration-record__grid {
    gap: 1.75rem;
  }

  .integration-record__card {
    padding: 2rem;
  }

  .integration-record__card-title {
    font-size: 26px;
  }

  .integration-record__card-desc {
    font-size: 18px;
  }
}

/* ========== Integration categories scroll stack (integrations page) ========== */
.integration-categories {
  font-family: var(--font-display);
}

.integration-categories__scroller {
  position: relative;
}

.integration-categories__sticky {
  position: sticky;
  top: 0;
  display: flex;
  align-items: flex-start;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-height, 72px) + 1.25rem) 0 2rem;
}

.integration-categories__title {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin: 0 auto 2rem;
  max-width: 44rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--text-primary);
}

.integration-categories__inner {
  width: 100%;
}

.integration-categories__deck {
  --stack-peek: 5.5rem;
  --deck-height: 32rem;

  position: relative;
  width: 100%;
  height: calc(var(--deck-height) + var(--stack-peek));
  margin-inline: auto;
  overflow: visible;
  transition: height 0.35s var(--ease, ease);
}

.integration-categories__deck-inner {
  position: relative;
  height: 36rem;
  margin-top: 0;
  transition: height 0.35s var(--ease, ease);
}

.integration-categories--gsap .integration-categories__sticky {
  position: relative;
  top: auto;
}

.integration-categories--gsap .integration-categories__deck,
.integration-categories--gsap .integration-categories__deck-inner {
  transition: none;
}

.integration-category-card {
  position: absolute;
  inset: 0;
  margin: 0;
  transform-origin: center bottom;
  will-change: transform, opacity;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}

.integration-category-card.is-visible {
  visibility: visible;
}

.integration-category-card.is-top {
  pointer-events: auto;
}

.integration-category-card__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.05fr);
  gap: 0;
  height: 100%;
  min-height: 100%;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 10px solid #e3d7ff;
  border-radius: 1.25rem;
  background: linear-gradient(90.73deg, #2215A5 -8.88%, #5042DF 41.81%, #A13DFF 92.51%);
  box-shadow: 0 20px 50px rgba(79, 70, 229, 0.22);
  overflow: visible;
}

.integration-category-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem 0.5rem 0.25rem;
}

.integration-category-card__visual img {
  display: block;
  width: 100%;
  max-width: 22rem;
  height: auto;
  object-fit: contain;
  border-radius: 0.875rem;
}

.integration-category-card__mock {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 20rem;
  min-height: 13rem;
  padding: 2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
}

.integration-category-card__mock img {
  width: 4.5rem;
  height: 4.5rem;
  max-width: none;
  object-fit: contain;
}

.integration-category-card__divider {
  position: relative;
  width: 1px;
  margin: 0.75rem 60px;
  align-self: stretch;
  background: linear-gradient(
    180deg,
    transparent 0%,
    #ba85ff 14%,
    #ba85ff 44%,
    transparent 48%,
    transparent 52%,
    #ba85ff 56%,
    #ba85ff 86%,
    transparent 100%
  );
}

.integration-category-card__divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #ba85ff;
  transform: translate(-50%, -50%);
}

.integration-category-card__content {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0.35rem 0.25rem 0.35rem 1.25rem;
  color: #fff;
}

.integration-category-card__num {
  display: block;
  margin-bottom: 0.625rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(255, 255, 255, 0.72);
}

.integration-category-card__heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  color: #fff;
}

.integration-category-card__desc {
  margin: 0 0 1.125rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.integration-category-card__label {
  margin: 0 0 0.625rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.integration-category-card__list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.integration-category-card__list li {
  position: relative;
  padding-left: 1.375rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.integration-category-card__list li + li {
  margin-top: 0.5rem;
}

.integration-category-card__list li::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: 0;
  width: 0.625rem;
  height: 0.375rem;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.9);
  border-left: 1.5px solid rgba(255, 255, 255, 0.9);
  transform: rotate(-45deg);
}

.integration-category-card__systems {
  margin-top: auto;
  padding-top: 0.25rem;
}

.integration-category-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.integration-category-card__pills span {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  color: #fff;
}

.integration-category-card__pills span::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, #3557f6 0%, #6a3cff 52%, #16c3e6 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@media (min-width: 768px) {
  .integration-categories__title {
    margin-bottom: 2.25rem;
  }

  .integration-category-card__desc {
    font-size: 1rem;
  }

  .integration-category-card__list li {
    font-size: 0.9375rem;
  }
}

@media (max-width: 1023px) {
  .integration-categories__scroller {
    height: auto !important;
  }

  .integration-categories__sticky {
    position: relative;
    min-height: 0;
    padding: 4rem 0 2rem;
  }

  .integration-categories__deck {
    --stack-peek: 0px;
    --deck-height: auto;
    height: auto;
    overflow: visible;
  }

  .integration-categories__deck-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: auto;
    margin-top: 0;
  }

  .integration-category-card {
    position: relative;
    inset: auto;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    pointer-events: auto;
  }

  .integration-category-card__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    height: auto;
  }

  .integration-category-card__divider {
    display: none;
  }

  .integration-category-card__visual {
    padding: 0 0 0.75rem;
  }

  .integration-category-card__content {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .integration-category-card {
    transition: none;
  }

  .integration-categories__deck,
  .integration-categories__deck-inner {
    transition: none;
  }
}

/* ========== Integration request tabs (integrations page) ========== */
.integration-request-section {
  font-family: var(--font-sans);
}

.integration-request__shell {

  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid #e8ecf4;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.05);
}

.integration-request-tabs.workflow-tabs {
  margin: 0 0 1.5rem;
  max-width: none;
  padding: 0.35rem;
  border-radius: 0.875rem;
  background: #f3f5fa;
  border: 1px solid #e8ecf4;
}

.integration-request-tabs .workflow-tab {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.85rem 0.65rem;
  font-size: clamp(0.75rem, 1.4vw, 0.9375rem);
  font-weight: 500;
  line-height: 1.25;
  border-radius: 0.625rem;
  white-space: normal;
  text-align: center;
}

.integration-request-tabs .workflow-tab:not(.is-active) {
  background: #fff;
  border: 1px solid #e8ecf4;
  color: #1b2430;
}

.integration-request-tabs .workflow-tab:not(.is-active):hover {
  color: #7c3aed;
  border-color: rgba(124, 58, 237, 0.25);
}

.integration-request-tabs .workflow-tab.is-active {
  border: none;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.22);
}

.integration-request__panels {
  padding: clamp(0.5rem, 1.5vw, 1rem) clamp(0.25rem, 1vw, 0.5rem) clamp(0.25rem, 1vw, 0.75rem);
}

.integration-request-panel__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.integration-request-copy__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: #7c3aed;
}

.integration-request-copy__desc {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  line-height: 1.65;
  color: var(--text-primary);
}

.integration-request-visual__card {
  padding: 0.75rem;
  border: 1px solid #e8ecf4;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.integration-request-visual__card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

.integration-rfq-mock,
.integration-map-mock,
.integration-confirm-mock {
  border: 1px solid #e8ecf4;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.integration-rfq-mock {
  padding: 1.25rem 1.25rem 1rem;
}

.integration-rfq-mock__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.integration-rfq-mock__badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64748b;
}

.integration-rfq-mock__meta {
  font-size: 0.6875rem;
  color: #94a3b8;
}

.integration-rfq-mock__dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 9.5rem;
  margin-bottom: 1rem;
  padding: 1.5rem 1rem;
  border: 1.5px dashed #d8e0ef;
  border-radius: 0.875rem;
  background: #fafbff;
  color: #7c3aed;
  text-align: center;
}

.integration-rfq-mock__dropzone svg {
  width: 2rem;
  height: 2rem;
}

.integration-rfq-mock__dropzone p {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #475569;
}

.integration-rfq-mock__fields {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid #eef2f7;
}

.integration-rfq-mock__fields div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
}

.integration-rfq-mock__fields div + div {
  border-top: 1px solid #f1f5f9;
}

.integration-rfq-mock__fields dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.integration-rfq-mock__fields dd {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1b2430;
}

.integration-map-mock {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
}

.integration-map-mock__node {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e8ecf4;
  background: #fafbff;
}

.integration-map-mock__node span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.integration-map-mock__node strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1b2430;
}

.integration-map-mock__node--hub {
  border-color: rgba(124, 58, 237, 0.25);
  background: linear-gradient(135deg, rgba(0, 70, 190, 0.06), rgba(161, 61, 255, 0.08));
}

.integration-map-mock__flow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-inline: 0.5rem;
}

.integration-map-mock__line {
  flex: 1;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #cbd5e1, #a855f7);
}

.integration-map-mock__pill {
  flex-shrink: 0;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e8ecf4;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #7c3aed;
}

.integration-confirm-mock {
  padding: 1.25rem;
}

.integration-confirm-mock__label {
  margin: 0 0 0.85rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

.integration-confirm-mock__list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.integration-confirm-mock__list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0;
  font-size: 0.9375rem;
  color: #64748b;
  border-bottom: 1px solid #f1f5f9;
}

.integration-confirm-mock__list li::before {
  content: "";
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: #fff;
}

.integration-confirm-mock__list li.is-done {
  color: #1b2430;
}

.integration-confirm-mock__list li.is-done::before {
  border-color: #7c3aed;
  background: #7c3aed;
  box-shadow: inset 0 0 0 2px #fff;
}

.integration-confirm-mock__list li.is-active {
  color: #7c3aed;
  font-weight: 600;
}

.integration-confirm-mock__list li.is-active::before {
  border-color: #7c3aed;
  background: #fff;
}

.integration-confirm-mock__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: #f5f3ff;
}

.integration-confirm-mock__footer span {
  font-size: 0.8125rem;
  color: #64748b;
}

.integration-confirm-mock__footer strong {
  font-size: 0.9375rem;
  color: #7c3aed;
}

@media (min-width: 768px) {
  .integration-request-tabs .workflow-tab {
    padding: 0.95rem 0.75rem;
  }
}

@media (min-width: 1024px) {
  .integration-request-panel__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem;
  }

  .integration-request-copy {
    padding-left: 0.5rem;
  }
}

@media (max-width: 767px) {
  .integration-request-tabs .workflow-tab {
    flex: 1 0 calc(50% - 0.25rem);
  }
}

/* ========== Legal pages (terms, privacy) ========== */
.legal-page__inner {
  max-width: 70%;
}

.legal-page__head {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e8ecf4;
}

.legal-page__title {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.legal-page__intro {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.legal-page__body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.legal-section__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-primary);
}

.legal-section__num {
  color: #7c3aed;
}

.legal-section p {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
}

.legal-section__list {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.legal-section__list li::marker {
  color: #7c3aed;
}

.legal-section__contact {
  margin-top: 1rem;
  padding: 1rem 1.125rem;
  border-radius: 0.875rem;
  border: 1px solid #e8ecf4;
  background: #fafbff;
}

.legal-section__contact p {
  margin: 0 0 0.375rem;
}

.legal-section__contact p:last-child {
  margin-bottom: 0;
}

.legal-section__contact-brand {
  font-weight: 700;
  color: var(--text-primary) !important;
}

.legal-section__contact a {
  color: #7c3aed;
  text-decoration: none;
}

.legal-section__contact a:hover {
  text-decoration: underline;
}

/* ========== Blog & coming soon (resources) ========== */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.blog-card {
  min-height: 100%;
}

.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid transparent;
  border-radius: 1.25rem;
  overflow: hidden;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(95.67deg, rgba(0, 70, 190, 0.2) -3.18%, rgba(161, 61, 255, 0.2) 57.63%) border-box;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
  text-decoration: none;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.blog-card__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(124, 58, 237, 0.1);
}

.blog-card__visual {
  aspect-ratio: 20 / 10;
  overflow: hidden;
  background: linear-gradient(
    229.65deg,
    rgba(234, 240, 251, 0.85) -33.87%,
    rgba(248, 245, 255, 0.85) 51.58%
  );
}

.blog-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__visual--1 {
  background:
    linear-gradient(229.65deg, rgba(234, 240, 251, 0.85) -33.87%, rgba(248, 245, 255, 0.85) 51.58%),
    radial-gradient(circle at 20% 30%, rgba(53, 87, 246, 0.18), transparent 55%);
}

.blog-card__visual--2 {
  background:
    linear-gradient(229.65deg, rgba(234, 240, 251, 0.85) -33.87%, rgba(248, 245, 255, 0.85) 51.58%),
    radial-gradient(circle at 80% 70%, rgba(161, 61, 255, 0.16), transparent 50%);
}

.blog-card__visual--3 {
  background:
    linear-gradient(229.65deg, rgba(234, 240, 251, 0.85) -33.87%, rgba(248, 245, 255, 0.85) 51.58%),
    radial-gradient(circle at 50% 50%, rgba(22, 195, 230, 0.14), transparent 55%);
}

.blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.25rem;
}

.blog-card__meta {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #93a1be;
}

.blog-card__meta span {
  color: #7c3aed;
}

.blog-card__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}

.blog-card__author {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
}

.blog-card__excerpt {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.blog-card__read {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #7c3aed;
}

.blog-article {
  max-width: none;
}

.blog-article__content {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.blog-article__content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.blog-article__content a {
  color: #2563eb;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-article__content a:hover {
  color: #1d4ed8;
}

.blog-article__note {
  margin-top: 0.5rem !important;
  padding: 1rem 1.125rem;
  border-radius: 0.875rem;
  border: 1px dashed #d8e0ef;
  background: #fafbff;
  font-size: 0.9375rem !important;
  color: #64748b !important;
}

/* ========== Blog detail page ========== */
.blog-detail-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.blog-detail-hero__title {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--text-primary);
}

.blog-detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.blog-detail-hero__author {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-detail-hero__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #3557f6, #6a3cff);
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
}

.blog-detail-hero__author-name {
  font-weight: 600;
  color: var(--text-primary);
}

.blog-detail-hero__sep {
  width: 1px;
  height: 0.875rem;
  background: #d8e0ef;
}

.blog-detail-hero__tag {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #eef4ff;
  font-size: 0.75rem;
  font-weight: 600;
  color: #2563eb;
}

.blog-detail-hero__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: center;
  min-height: 13rem;
  padding: 1.25rem 1.25rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #fce7f3 0%, #ede9fe 48%, #dbeafe 100%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.blog-detail-hero__card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}

.blog-detail-hero__card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 11rem;
  object-fit: contain;
  object-position: bottom right;
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.blog-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.blog-detail-toc {
  padding: 1.25rem;
  border: 1px solid #e8ecf4;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.blog-detail-toc__label {
  margin: 0 0 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #eef2f7;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93a1be;
}

.blog-detail-toc__list {
  margin: 0;
  padding: 0;
  max-height: 14rem;
  overflow-y: auto;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.blog-detail-toc__list li + li {
  margin-top: 0.65rem;
}

.blog-detail-toc__list a {
  display: block;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.blog-detail-toc__list a:hover {
  color: #7c3aed;
}

.blog-detail-sidebar-cta {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  border: 1px solid #e8ecf4;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.blog-detail-sidebar-cta__accent {
  position: absolute;
  top: 1.15rem;
  left: 0;
  width: 3px;
  height: 2.5rem;
  border-radius: 0 4px 4px 0;
  background: #22c55e;
}

.blog-detail-sidebar-cta__text {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
}

.blog-detail-sidebar-cta .btn {
  width: 100%;
  justify-content: center;
}

.blog-detail-article__summary-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.blog-detail-article__heading {
  margin: 1.5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
}

.blog-detail-article__list {
  margin: 0;
  padding-left: 1.25rem;
}

.blog-detail-article__list li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.blog-detail-article__list li + li {
  margin-top: 0.65rem;
}

.blog-detail-article__list strong {
  color: var(--text-primary);
}

.blog-detail-article__pillars {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: blog-pillar;
}

.blog-detail-article__pillars li {
  counter-increment: blog-pillar;
  padding: 1rem 0;
  border-bottom: 1px solid #eef2f7;
}

.blog-detail-article__pillars li:last-child {
  border-bottom: 0;
}

.blog-detail-article__pillars h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
}

.blog-detail-article__pillars h3::before {
  content: counter(blog-pillar) ". ";
  color: #7c3aed;
}

.blog-detail-article__pillars p {
  margin: 0;
}

.blog-detail-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.5rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(246.24deg, #3557f6 27.92%, #6a3cff 65.05%, #16c3e6 99.32%);
  box-shadow: 0 16px 40px rgba(45, 27, 105, 0.22);
}

.blog-detail-cta__text {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: white !important;
}

.blog-detail-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(98.47deg, #0046be -19.6%, #a13dff 79.52%);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.blog-detail-cta__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.4);
}

.blog-detail-callout {
  margin: 0.5rem 0;
  padding: 1.25rem 1.5rem 1rem;
  border: 1px solid rgba(22, 195, 230, 0.35);
  border-radius: 1rem;
  background: linear-gradient(180deg, #f0fdff 0%, #fff 100%);
}

.blog-detail-callout__badge {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #3557f6 0%, #6a3cff 52%, #16c3e6 100%);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.blog-detail-callout p {
  margin: 0;
}

.blog-detail-callout__source {
  margin-top: 0.85rem !important;
  padding-top: 0.85rem;
  border-top: 1px solid #e8ecf4;
  font-size: 0.8125rem !important;
}

.blog-detail-table-wrap {
  overflow-x: auto;
  margin: 0.25rem 0;
  border: 1px solid #e8ecf4;
  border-radius: 0.875rem;
}

.blog-detail-table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.blog-detail-table th,
.blog-detail-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.blog-detail-table thead th {
  font-weight: 700;
  color: var(--text-primary);
  background: #fafbff;
}

.blog-detail-table tbody th[scope="row"] {
  font-weight: 600;
  color: var(--text-primary);
  background: #fcfcfd;
}

.blog-detail-table tbody td {
  color: var(--text-secondary);
}

.blog-detail-table tbody tr:last-child th,
.blog-detail-table tbody tr:last-child td {
  border-bottom: 0;
}

@media (min-width: 1024px) {
  .blog-detail-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
  }

  .blog-detail-layout {
    grid-template-columns: minmax(0, 0.28fr) minmax(0, 0.72fr);
    gap: 2.5rem;
  }

  .blog-detail-sidebar {
    position: sticky;
    top: calc(var(--header-height, 72px) + 1.25rem);
  }

  .blog-detail-toc__list {
    max-height: 18rem;
  }
}

@media (max-width: 767px) {
  .blog-detail-hero__card {
    grid-template-columns: 1fr;
  }

  .blog-detail-hero__card img {
    max-height: 9rem;
  }
}

.coming-soon-card {
  max-width: 36rem;
  margin-inline: auto;
  padding: 2.5rem 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid #e8ecf4;
  background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
  text-align: center;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.05);
}

.coming-soon-card__badge {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #f3ebff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7c3aed;
}

.coming-soon-card__title {
  margin: 0 0 0.625rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.coming-soon-card__desc {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.coming-soon-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.blog-pagination {
  margin-top: 2.5rem;
}

.blog-pagination__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.75rem;
  border: 1px solid #e8ecf4;
  border-radius: 0.75rem;
  background: #fff;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.blog-pagination__btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

.blog-pagination__btn:hover {
  border-color: rgba(124, 58, 237, 0.35);
  color: #7c3aed;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.12);
  transform: translateY(-1px);
}

.blog-pagination__btn.is-active {
  border-color: transparent;
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.25);
  pointer-events: none;
}

.blog-pagination__btn.is-active:hover {
  transform: none;
}

.blog-pagination__btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.blog-pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #93a1be;
  user-select: none;
}

@media (min-width: 768px) {
  .blog-pagination {
    margin-top: 3rem;
  }
}

/* Logo strip — infinite marquee, grayscale by default, color + zoom on hover */
.logo-strip {
  --logo-strip-gap: 3.5rem;
  --logo-strip-duration: 26s;
}

.logo-strip__viewport {
  overflow: hidden;
  padding: 1.25rem 0;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}

.logo-strip__track {
  display: flex;
  align-items: center;
  gap: var(--logo-strip-gap);
  width: max-content;
  animation: logoStripSlide var(--logo-strip-duration) linear infinite;
}

.logo-strip:hover .logo-strip__track {
  animation-play-state: paused;
}

.logo-strip__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
}

.logo-strip__item img {
  display: block;
  height: 2.75rem;
  width: auto;
  max-width: 10rem;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition:
    filter 0.3s ease,
    transform 0.3s ease,
    opacity 0.3s ease;
  transform: scale(1);
}

.logo-strip__item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

@media (min-width: 768px) {
  .logo-strip {
    --logo-strip-gap: 4.5rem;
  }

  .logo-strip__viewport {
    padding: 1.5rem 0;
  }

  .logo-strip__item img {
    height: 3rem;
    max-width: 11rem;
  }
}

@keyframes logoStripSlide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-strip__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 68rem;
    margin-inline: auto;
    padding-inline: 1.5rem;
    gap: 2rem 3rem;
  }

  .logo-strip__item[aria-hidden="true"] {
    display: none;
  }
}

