/* Roamcode v2 — enterprise technology positioning styles */

:root {
  --brand-primary: #cc1616;
  --brand-primary-hover: #e82d2d;
  --brand-secondary: #191919;
  --brand-accent: #f39c12;
  --brand-dark: #191919;
  --brand-light: #f2f2f2;
  --brand-primary-soft: #fce5e5;
  --text-primary: #444444;
  --text-secondary: #666666;
  --background-primary: #ffffff;
  --background-secondary: #f9f9f9;

  /* Aliases used across v2 components */
  --rc-navy: var(--brand-dark);
  --rc-blue: var(--brand-primary);
  --rc-blue-dark: var(--brand-primary-hover);
  --rc-accent: var(--brand-accent);
  --rc-gray-100: var(--background-secondary);
  --rc-gray-200: #e9ecef;
  --rc-gray-600: var(--text-secondary);
  --rc-text: var(--text-primary);
  --rc-white: #ffffff;
}

/* Base typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--rc-text);
  line-height: 1.6;
  background: var(--rc-white);
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero-main-title {
  font-family: 'Poppins', sans-serif;
  color: var(--rc-navy);
}

a {
  color: var(--rc-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--rc-blue-dark);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--rc-blue);
  color: #fff;
  border-radius: 0.25rem;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--rc-accent);
  outline-offset: 2px;
}

/* Header / hero */
.site-header {
  background: #0a1220;
  color: #fff;
  position: relative;
  overflow: visible;
}

/* Homepage hero: side/bottom frame; flush top so the page doesn't round above */
.site-header:not(.site-header--compact) {
  margin: 0 0.75rem 1.25rem;
  border-radius: 0 0 2rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 48px rgba(8, 14, 28, 0.4);
  background:
    radial-gradient(ellipse 55% 45% at 72% 42%, rgba(204, 22, 22, 0.32) 0%, transparent 58%),
    radial-gradient(ellipse 40% 50% at 18% 70%, rgba(30, 64, 120, 0.22) 0%, transparent 55%),
    linear-gradient(165deg, #070d18 0%, #0f172a 40%, #15101c 72%, #1a0c12 100%);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(204, 22, 22, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 10% 85%, rgba(56, 90, 140, 0.16) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Atmospheric light streaks — brand red over ink navy */
.site-header:not(.site-header--compact)::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
  background:
    radial-gradient(ellipse 28% 18% at 62% 38%, rgba(232, 45, 45, 0.42) 0%, transparent 70%),
    radial-gradient(ellipse 18% 40% at 78% 55%, rgba(204, 22, 22, 0.2) 0%, transparent 72%),
    radial-gradient(ellipse 35% 30% at 35% 60%, rgba(80, 120, 180, 0.1) 0%, transparent 70%),
    conic-gradient(from 210deg at 68% 48%, transparent 0deg, rgba(255, 120, 120, 0.07) 40deg, transparent 75deg),
    linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.035) 49%, transparent 56%),
    linear-gradient(155deg, transparent 35%, rgba(204, 22, 22, 0.08) 52%, transparent 68%);
  mix-blend-mode: screen;
  animation: hero-atmosphere 14s ease-in-out infinite alternate;
}

@keyframes hero-atmosphere {
  from { opacity: 0.75; transform: scale(1) translate(0, 0); }
  to { opacity: 1; transform: scale(1.03) translate(-1%, 1%); }
}

@media (prefers-reduced-motion: reduce) {
  .site-header:not(.site-header--compact)::after,
  .hero-glow {
    animation: none;
  }
}

.site-header .navbar,
.site-header .hero-main-content {
  position: relative;
  z-index: 1;
}

.site-header--compact {
  background: var(--rc-white);
  color: inherit;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.site-header--compact::before,
.site-header--compact::after {
  display: none;
}

.site-header--compact .hero-main-content { display: none; }

.site-header .navbar {
  background: rgba(255, 255, 255, 0.98) !important;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(10, 22, 40, 0.08);
  box-shadow: 0 1px 12px rgba(10, 22, 40, 0.06);
}

.site-header .navbar > .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.site-header .navbar-brand {
  flex: 0 0 auto;
  max-width: none;
  margin-right: 0.5rem;
  padding: 0;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--brand-dark);
  text-decoration: none;
  line-height: 1;
}

.brand-logo__icon {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-logo__name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: inherit;
  white-space: nowrap;
}

.brand-logo--footer {
  color: #fff;
}

.brand-logo--footer .brand-logo__icon {
  opacity: 0.95;
}

.roamcode-apps-block {
  margin-top: 0;
}

.roamcode-apps-block.section-alt {
  background: var(--rc-gray-100);
}

.site-header .navbar-brand .site-logo,
.site-header .navbar-brand .logo {
  max-height: 44px;
  width: auto;
  min-width: 100px;
  object-fit: contain;
  display: block;
}

.site-header .navbar-collapse {
  flex-grow: 1;
  flex-basis: 100%;
}

@media (min-width: 1200px) {
  .site-header .navbar-collapse {
    flex-basis: auto;
    flex-grow: 0;
  }

  .site-header .navbar-nav {
    flex-wrap: nowrap;
    gap: 0.1rem;
  }
}

.site-header .navbar-nav .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rc-navy) !important;
  padding: 0.45rem 0.6rem !important;
  margin: 0;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link:focus {
  color: var(--rc-blue) !important;
  background: rgba(0, 102, 204, 0.08) !important;
  box-shadow: none !important;
}

.site-header .navbar-nav .nav-link.active {
  color: var(--rc-blue) !important;
  background: rgba(0, 102, 204, 0.1) !important;
  font-weight: 600;
}

.site-header .navbar a:hover,
.site-header .navbar li:hover > a {
  background: rgba(0, 102, 204, 0.08) !important;
  color: var(--rc-blue) !important;
  box-shadow: none !important;
  border-radius: 6px;
}

/* Dropdown toggles should not get block hover background on the parent li */
.site-header .nav-item.dropdown > .nav-link.dropdown-toggle:hover,
.site-header .nav-item.dropdown > .nav-link.dropdown-toggle:focus,
.site-header .nav-item.dropdown > .nav-link.dropdown-toggle.show {
  background: rgba(0, 102, 204, 0.08) !important;
  color: var(--rc-blue) !important;
}

.site-header .dropdown-menu {
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 0.5rem;
  min-width: 260px;
  margin-top: 0.25rem;
}

.site-header .nav-item.dropdown {
  position: relative;
}

.site-header .dropdown-menu-nav {
  margin-top: 0.35rem;
}

.site-header .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  padding: 0.55rem 0.85rem;
  border-radius: 6px;
  color: var(--rc-navy);
}

.site-header .dropdown-item .bx {
  flex-shrink: 0;
  width: 1.35rem;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--rc-blue);
  opacity: 1;
}

.site-header .dropdown-item span {
  line-height: 1.35;
}

.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus,
.site-header .dropdown-item.active {
  background: rgba(0, 102, 204, 0.08);
  color: var(--rc-blue);
}

.site-header .dropdown-item.active .bx,
.site-header .dropdown-item:hover .bx {
  color: var(--rc-blue-dark);
}

.site-header .navbar-toggler {
  border: 1px solid var(--rc-gray-200);
  padding: 0.45rem 0.55rem;
  font-size: 1.5rem;
  color: var(--rc-navy);
  border-radius: 8px;
}

.site-header .navbar-toggler .bi {
  font-size: 1.5rem;
  line-height: 1;
  display: block;
}

.site-header .navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.25);
}

.nav-cta-btn {
  padding: 0.55rem 1.25rem !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(204, 22, 22, 0.28);
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .site-header .navbar-brand {
    max-width: none;
  }

  .brand-logo__name {
    font-size: 1rem;
  }

  .site-header .navbar-brand .site-logo,
  .site-header .navbar-brand .logo {
    max-height: 40px;
    min-width: 90px;
  }

  .site-header .navbar-nav .nav-link {
    font-size: 0.8125rem;
    padding: 0.4rem 0.5rem !important;
  }

  .nav-cta-btn {
    padding: 0.4rem 0.85rem !important;
    font-size: 0.75rem;
  }
}

/* Hero — override legacy style.css centered/fullscreen rules */
.site-header .hero-main-content {
  min-height: auto !important;
  padding: 3.5rem 0 4.5rem !important;
  display: block !important;
  text-align: left !important;
}

.hero-layout {
  display: block;
}

.hero-layout--split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 2.5rem 3rem;
  align-items: center;
}

.site-header .hero-main-content .container {
  display: block !important;
  height: auto !important;
}

.site-header .hero-text-content {
  max-width: 620px;
  text-align: left !important;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(204, 22, 22, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.site-header .hero-main-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  color: #fff !important;
  max-width: 100%;
  text-transform: none !important;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.hero-subtitle--mobile {
  display: none;
}

.hero-subtitle--desktop {
  display: block;
}

.hero-title--mobile {
  display: none;
}

.hero-title--desktop {
  display: inline;
}

.site-header .hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.75) !important;
  max-width: 520px;
  margin: 0 0 2rem;
  line-height: 1.6;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-hero-cta {
  display: inline-block;
  padding: 0.9rem 1.85rem;
  background: var(--brand-primary);
  color: #fff !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--brand-primary);
  transition: all 0.2s;
  box-shadow: 0 8px 24px rgba(204, 22, 22, 0.35);
}

.btn-hero-cta:hover {
  background: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(204, 22, 22, 0.4);
}

.btn-hero-cta--secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 600;
  font-size: 0.9375rem;
}

.btn-hero-cta--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  box-shadow: none;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-strip li {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
}

/* Technology ecosystem strip: homepage and platforms */
.tech-ecosystem {
  position: relative;
  isolation: isolate;
  overflow: visible;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(204, 22, 22, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 100%, rgba(204, 22, 22, 0.1) 0%, transparent 50%),
    linear-gradient(165deg, #0c1018 0%, #141820 48%, #0a0e14 100%);
  color: rgba(255, 255, 255, 0.88);
  padding: 5.5rem 0 5.75rem;
  margin: 0;
}

.tech-ecosystem::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  border-radius: 0;
}

.tech-ecosystem__wave {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 4.5rem;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}

.tech-ecosystem__wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.tech-ecosystem__wave path {
  fill: var(--rc-gray-100);
}

.tech-ecosystem__wave--top {
  top: -1px;
}

.tech-ecosystem__wave--bottom {
  bottom: -1px;
}

.tech-ecosystem__wave--bottom path {
  fill: #fff;
}

.tech-ecosystem__inner {
  position: relative;
  z-index: 1;
}

.tech-ecosystem__header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.75rem;
}

.tech-ecosystem__tag {
  color: #ff6b6b;
  margin-bottom: 0.75rem;
}

.tech-ecosystem__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.tech-ecosystem__lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

.tech-ecosystem__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 56rem;
}

@media (min-width: 768px) {
  .tech-ecosystem__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

.tech-ecosystem__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  text-align: left;
  padding: 1.35rem 1.3rem;
  min-height: 7.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  animation: tech-eco-rise 0.55s ease both;
  animation-delay: calc(var(--eco-i, 0) * 45ms);
}

@keyframes tech-eco-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-ecosystem__item {
    animation: none;
  }
}

.tech-ecosystem__item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(204, 22, 22, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.28);
}

.tech-ecosystem__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(204, 22, 22, 0.22), rgba(204, 22, 22, 0.08));
  border: 1px solid rgba(204, 22, 22, 0.28);
  color: #ff7a7a;
  font-size: 1.4rem;
  line-height: 1;
}

.tech-ecosystem__name {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.tech-ecosystem__actions {
  text-align: center;
  margin-top: 2rem;
}

.tech-ecosystem__cta {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: transparent;
  border-radius: 999px !important;
}

.tech-ecosystem__cta:hover {
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
  color: #fff !important;
}

@media (max-width: 575.98px) {
  .tech-ecosystem {
    padding: 4.75rem 0 5rem;
  }

  .tech-ecosystem__wave {
    height: 3.25rem;
  }

  .tech-ecosystem__item {
    border-radius: 18px;
    min-height: 6.5rem;
  }
}

/* Light variant on Platforms page */
.tech-ecosystem--embedded {
  background: transparent;
  color: inherit;
  padding-top: 3rem;
  padding-bottom: 1rem;
  overflow: visible;
}

.tech-ecosystem--embedded::before {
  display: none;
}

.tech-ecosystem--embedded .tech-ecosystem__wave {
  display: none;
}

.tech-ecosystem--embedded .tech-ecosystem__tag {
  color: var(--brand-primary);
}

.tech-ecosystem--embedded .tech-ecosystem__title {
  color: var(--rc-navy);
}

.tech-ecosystem--embedded .tech-ecosystem__lead {
  color: var(--rc-gray-600);
}

.tech-ecosystem--embedded .tech-ecosystem__item {
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.04);
  animation: none;
}

.tech-ecosystem--embedded .tech-ecosystem__item:hover {
  border-color: rgba(204, 22, 22, 0.28);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.08);
}

.tech-ecosystem--embedded .tech-ecosystem__icon {
  background: var(--brand-primary-soft);
  border-color: transparent;
  color: var(--brand-primary);
  border-radius: 999px;
}

.tech-ecosystem--embedded .tech-ecosystem__name {
  color: var(--rc-navy);
}

.tech-ecosystem--embedded .tech-ecosystem__cta {
  color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
}

.case-studies-section-head {
  max-width: 40rem;
}

.case-studies-section-head--secondary {
  border-top: 1px solid var(--rc-gray-200);
  margin-top: 0.5rem;
}

/* Hero visual cards — floating stagger on desktop, stacked on phone */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 420px;
  min-height: 420px;
  margin-left: auto;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background:
    radial-gradient(circle, rgba(204, 22, 22, 0.45) 0%, rgba(204, 22, 22, 0.12) 42%, transparent 70%);
  top: 48%;
  left: 52%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: blur(8px);
  z-index: 0;
  animation: hero-glow-pulse 7s ease-in-out infinite alternate;
}

@keyframes hero-glow-pulse {
  from { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.15rem 1.2rem;
  color: #fff;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  z-index: 1;
}

.hero-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.35rem;
  font-family: 'Poppins', sans-serif;
}

.hero-card span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

.hero-card-icon {
  width: 40px;
  height: 40px;
  background: rgba(204, 22, 22, 0.22);
  border: 1px solid rgba(204, 22, 22, 0.35);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  color: #ff6b6b;
}

.hero-card--main {
  top: 4%;
  right: 4%;
  left: auto;
  width: 250px;
  animation: float-card 6s ease-in-out infinite;
}

.hero-card--secondary {
  top: auto;
  bottom: 8%;
  left: 0;
  right: auto;
  width: 230px;
  animation: float-card 6s ease-in-out 1s infinite;
}

.hero-card--accent {
  top: auto;
  bottom: 18%;
  right: 2%;
  left: auto;
  width: 220px;
  animation: float-card 6s ease-in-out 2s infinite;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Stats bar */
.hero-stats {
  background: var(--rc-white);
  border-bottom: 1px solid var(--rc-gray-200);
  padding: 2rem 0;
  margin-top: -1px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 24px rgba(10, 22, 40, 0.06);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--rc-gray-200);
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--rc-blue);
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--rc-gray-600);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--brand-dark) 0%, #252525 48%, #3a1212 100%);
  color: #fff;
  padding: 2rem 0 2.5rem;
  border-bottom: 3px solid var(--brand-primary);
  overflow: hidden;
  margin: 1rem;
  border-radius: 1.25rem;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 75% at 100% 0%, rgba(204, 22, 22, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse 45% 55% at 0% 100%, rgba(204, 22, 22, 0.1) 0%, transparent 52%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero__inner {
  max-width: 780px;
}

.page-hero__eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-primary);
  margin-bottom: 0.6rem;
}

.page-hero__title,
.page-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.page-hero__title::after,
.page-hero h1::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--brand-primary);
  margin-top: 0.65rem;
  border-radius: 2px;
}

.page-hero__lead,
.page-hero .lead {
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin: 0.85rem 0 0;
  max-width: 680px;
}

.page-hero__meta,
.page-hero .text-muted.small {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45) !important;
  margin: 0.85rem 0 0;
}

.page-hero__extra {
  margin-top: 1.25rem;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Breadcrumbs */
.breadcrumb-nav {
  padding: 0 0 1rem;
  margin: 0;
}

.breadcrumb {
  margin-bottom: 0;
  font-size: 0.8125rem;
  background: transparent;
  padding: 0;
}

.page-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: color 0.2s;
}

.page-hero .breadcrumb-item a:hover {
  color: #fff;
}

.page-hero .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.42);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.3);
  content: "/";
  padding: 0 0.4rem;
}

.breadcrumb-item a {
  color: var(--brand-primary);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--brand-primary-hover);
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--text-secondary);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--rc-gray-200);
}

@media (max-width: 575px) {
  .page-hero {
    padding: 1.5rem 0 2rem;
    margin: 0.75rem;
    border-radius: 1rem;
  }

  .breadcrumb-nav {
    padding-bottom: 0.75rem;
  }
}

/* Section utilities */
.section-spacing { padding: 5rem 0; }

.section-alt {
  background: var(--rc-gray-100);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header .section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--rc-navy);
  margin-bottom: 1rem;
  padding: 0;
  text-transform: none;
  position: static;
}

.section-header .section-title span {
  display: none;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rc-blue);
  margin-bottom: 0.5rem;
  background: transparent;
  border: none;
  padding: 0;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--rc-gray-600);
  max-width: 640px;
  margin: 0 auto;
}

.bg-navy { background: linear-gradient(160deg, var(--brand-dark) 0%, #2d1515 100%); color: #fff; }
.bg-navy .section-title { color: #fff; }
.bg-navy .text-muted { color: rgba(255, 255, 255, 0.75) !important; }
.bg-navy .section-tag { color: #fff; background: rgba(204, 22, 22, 0.35); }

/* Service cards */
.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--rc-gray-200);
  box-shadow: 0 2px 16px rgba(10, 22, 40, 0.05);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rc-blue), var(--rc-accent));
  opacity: 0;
  transition: opacity 0.25s;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(10, 22, 40, 0.1);
  border-color: var(--rc-blue);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--rc-blue) 0%, var(--rc-blue-dark) 100%) !important;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: #fff;
}

.service-card h3,
.service-card h4 {
  color: var(--rc-navy);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--rc-gray-600);
  line-height: 1.65;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.expertise-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--rc-blue);
}

.expertise-link:hover {
  color: var(--rc-blue-dark);
}

/* Buttons */
.btn-primary {
  background: var(--rc-blue);
  border-color: var(--rc-blue);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--rc-blue-dark);
  border-color: var(--rc-blue-dark);
}

.btn-outline-primary {
  color: var(--rc-blue);
  border-color: var(--rc-blue);
}

.btn-outline-primary:hover {
  background: var(--rc-blue);
  border-color: var(--rc-blue);
  color: #fff;
}

/* Problem cards */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.problem-card {
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.04);
}

.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(10, 22, 40, 0.08);
  border-color: rgba(0, 102, 204, 0.25);
}

.problem-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 163, 224, 0.1) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rc-blue);
  font-size: 1.25rem;
}

.problem-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--rc-text);
}

/* Legacy problem list (other pages) */
.problem-list { list-style: none; padding: 0; margin: 0; }

.problem-list li {
  padding: 0.875rem 1rem 0.875rem 2.5rem;
  position: relative;
  border-bottom: 1px solid var(--rc-gray-200);
  background: #fff;
  color: var(--rc-text);
}

.problem-list li::before {
  content: "→";
  position: absolute;
  left: 1rem;
  color: var(--rc-blue);
  font-weight: 700;
}

/* AI capabilities grid */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.capability-item {
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 8px;
  font-size: 0.9375rem;
  color: var(--rc-navy);
}

.capability-item::before {
  content: "✓ ";
  color: var(--rc-blue);
  font-weight: 700;
}

.capability-item--glass {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s;
}

.capability-item--glass::before {
  color: var(--rc-accent) !important;
}

.capability-item--glass:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

/* Process timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--rc-blue), var(--rc-accent));
  opacity: 0.2;
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--rc-gray-200);
  position: relative;
  z-index: 1;
  transition: box-shadow 0.25s, transform 0.25s;
}

.process-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(10, 22, 40, 0.08);
}

.process-step h3 {
  color: var(--rc-navy);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.process-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--rc-blue);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Founder card */
.founder-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--rc-gray-200);
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.06);
}

.founder-photo {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--rc-gray-200);
}

.founder-card h3 {
  color: var(--rc-navy);
}

.founder-links a {
  margin-right: 1rem;
  font-weight: 600;
}

/* Case study card */
.case-study-card {
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}

.case-study-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.case-study-card img { width: 100%; height: 220px; object-fit: cover; }
.case-study-body { padding: 1.5rem; }

.case-study-body a {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.case-study-body a::after {
  content: "→";
  transition: transform 0.2s;
}

.case-study-card:hover .case-study-body a::after {
  transform: translateX(3px);
}

.case-study-body h3 {
  color: var(--rc-navy);
}

.case-study-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--rc-blue);
}

/* Partner programme highlight */
.partner-programme-card {
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(25, 25, 25, 0.06);
}

.partner-programme-list {
  padding-left: 1.15rem;
  margin: 0;
  color: var(--rc-text);
}

.partner-programme-list li {
  margin-bottom: 0.35rem;
}

.partner-programme-aside {
  height: 100%;
  padding: 1.25rem;
  background: var(--rc-gray-100);
  border-radius: 10px;
  border: 1px solid var(--rc-gray-200);
}

.partner-programme-aside__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rc-gray-600);
  margin: 0 0 0.35rem;
}

.partner-programme-aside__name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rc-navy);
  margin: 0 0 0.5rem;
}

.partner-programme-aside__meta,
.partner-programme-aside__note {
  font-size: 0.875rem;
  color: var(--rc-gray-600);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.partner-programme-aside__note {
  margin-bottom: 0;
}

.partner-programme-aside__note a {
  color: var(--brand-primary);
  text-decoration: none;
}

.partner-programme-footnote {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--rc-gray-600);
  font-style: italic;
}

.platforms-grid-card {
  display: flex;
  flex-direction: column;
}

.platforms-grid-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.platforms-grid-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.platforms-grid-card__list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.45rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--rc-text);
}

.platforms-grid-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-primary);
}

.platforms-grid-card h2 {
  margin-bottom: 0.85rem;
}

.footer-trademark {
  margin: 0.5rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.32);
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

/* JT Lensman callout */
.partner-callout {
  padding: 1.5rem;
  background: var(--rc-gray-100);
  border-left: 4px solid var(--rc-blue);
  border-radius: 0 8px 8px 0;
  color: var(--rc-text);
}

/* Balanced card grids — 4×4 or 3×3 layouts */
.balanced-grid > .col {
  display: flex;
}

.balanced-grid > .col > * {
  width: 100%;
}

.balanced-grid--2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.capability-item--grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 1.25rem 1rem;
}

.capability-item--grid::before {
  content: none;
}

.capability-item--grid .bx {
  font-size: 1.5rem;
  color: var(--brand-primary);
}

/* Launchpad section */
.launchpad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.launchpad-item {
  padding: 1.25rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--rc-gray-200);
  text-align: center;
  color: var(--rc-navy);
  font-weight: 500;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.launchpad-item .bx {
  font-size: 1.5rem;
  color: var(--brand-primary);
}

.launchpad-item:hover {
  border-color: var(--rc-blue);
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.08);
}

.launchpad-item i {
  font-size: 1.75rem;
  color: var(--rc-blue);
  display: block;
  margin-bottom: 0.5rem;
}

/* Solution page content */
.solution-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  color: var(--rc-navy);
}

.solution-content ul { padding-left: 1.25rem; }

.solution-faq .faq-item {
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--rc-gray-100);
  border-radius: 8px;
}

/* Company facts table */
.facts-table td:first-child {
  font-weight: 600;
  width: 40%;
  color: var(--rc-navy);
}

/* Footer — clean tiered layout */
.site-footer,
#footer {
  background: var(--rc-navy);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9375rem;
}

.site-footer .footer-main {
  padding: 2rem 0 1.25rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 3rem;
  padding-bottom: 2.75rem;
}

.footer-nav-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
  padding-bottom: 1.5rem;
}

.footer-col h4 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.85rem;
  padding-bottom: 0.45rem;
  position: relative;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--rc-blue);
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin: 0 0 0.45rem;
  padding: 0;
  border: none;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-size: 0.8125rem;
  line-height: 1.4;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}

.footer-col ul a:hover {
  color: #fff;
  padding-left: 2px;
}

.footer-contact-list li {
  margin-bottom: 0.55rem !important;
}

.footer-contact-list--compact li {
  margin-bottom: 0.4rem !important;
}

.footer-contact-list--compact a,
.footer-contact-list--compact .footer-contact-text {
  font-size: 0.8125rem;
}

.footer-contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.2rem;
}

.footer-contact-text {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-newsletter {
  margin-top: 1rem;
  padding-top: 0;
  border-top: none;
}

.footer-newsletter-title {
  font-size: 1rem !important;
  margin: 0 0 0.5rem !important;
  padding-bottom: 0.55rem !important;
}

.footer-newsletter-desc {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.footer-newsletter-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.footer-newsletter-row:focus-within {
  border-color: var(--rc-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

.footer-newsletter-input,
#newsletter-email.footer-newsletter-input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 0.55rem 0.75rem;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 0.875rem;
  line-height: 1.4;
  box-shadow: none !important;
}

.footer-newsletter-input::placeholder,
#newsletter-email.footer-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.footer-newsletter-input:focus,
#newsletter-email.footer-newsletter-input:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
}

.footer-newsletter-btn,
#newsletter-submit.footer-newsletter-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.55rem 0.9rem;
  border: none !important;
  border-radius: 0 !important;
  border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: var(--rc-blue) !important;
  color: #fff !important;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s;
}

.footer-newsletter-btn:hover,
#newsletter-submit.footer-newsletter-btn:hover {
  background: var(--rc-blue-dark) !important;
  color: #fff !important;
}

.footer-newsletter-btn:disabled,
#newsletter-submit.footer-newsletter-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.footer-newsletter-feedback {
  margin-top: 0.65rem;
  min-height: 1.25rem;
}

.footer-newsletter-msg {
  margin: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.footer-newsletter-msg--success {
  color: #d8ffe8;
  background: rgba(34, 160, 90, 0.22);
  border: 1px solid rgba(34, 160, 90, 0.35);
}

.footer-newsletter-msg--error {
  color: #ffd6d6;
  background: rgba(204, 22, 22, 0.22);
  border: 1px solid rgba(204, 22, 22, 0.35);
}

.footer-newsletter-msg--info:empty {
  display: none;
}

/* Locations tier */
.footer-locations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-locations-label {
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: 'Poppins', sans-serif;
}

.footer-locations-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.25);
  user-select: none;
}

/* Brand + social (legacy bar — kept for backwards compatibility) */
.footer-brand-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
}

.footer-brand:hover {
  color: #fff;
}

.footer-brand-name,
.brand-logo--footer .brand-logo__name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-logo,
.brand-logo--footer .brand-logo__icon {
  max-height: 36px;
  width: auto;
  opacity: 0.95;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-social a:hover {
  background: var(--rc-blue);
  border-color: var(--rc-blue);
  color: #fff;
  transform: translateY(-2px);
}

/* Bottom legal + copyright */
.footer-bottom {
  padding: 1rem 0 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-copy {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-updated {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 991px) {
  .footer-nav-grid,
  .footer-nav-grid--3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1.75rem;
  }

  .site-footer .footer-main {
    padding: 1.75rem 0 1rem;
  }

  .footer-col--contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .footer-nav-grid,
  .footer-nav-grid--3 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-top,
  .footer-brand-bar {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 1.25rem;
  }

  .footer-locations {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-newsletter-row {
    flex-direction: column;
  }

  .footer-newsletter-btn,
  #newsletter-submit.footer-newsletter-btn {
    width: 100%;
    border-left: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  }
}

/* Pre-footer CTA banner — rounded top, continuous into footer */
.cta-banner {
  position: relative;
  margin-top: 1.5rem;
  padding: 1.75rem 0;
  color: #fff;
  background-color: var(--rc-navy);
  background-image:
    linear-gradient(135deg, rgba(10, 22, 40, 0.97) 0%, rgba(13, 40, 71, 0.94) 50%, rgba(0, 73, 153, 0.9) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M0 20h80M0 40h80M0 60h80M20 0v80M40 0v80M60 0v80'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover, 80px 80px;
  background-position: center;
  border-radius: 20px 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 85% 40%, rgba(0, 163, 224, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 15% 90%, rgba(0, 102, 204, 0.1) 0%, transparent 55%);
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.75rem;
}

.cta-banner-copy {
  flex: 1;
  min-width: 220px;
  max-width: 560px;
}

.cta-banner-copy h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #fff !important;
  margin: 0 0 0.6rem;
  line-height: 1.25;
}

.cta-banner-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 480px;
}

.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  background: transparent;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.cta-banner-btn i {
  font-size: 1.05rem;
}

.cta-banner-btn:hover {
  background: #fff;
  color: var(--brand-dark) !important;
  border-color: #fff;
  transform: translateY(-1px);
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.cta-banner-btn--fill {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff !important;
}

.cta-banner-btn--fill:hover {
  background: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
  color: #fff !important;
}

/* Keep footer flush under CTA */
.site-footer,
#footer {
  border-top: none;
  margin-top: 0;
}

/* Legacy .cta support on other pages */
.cta.section-spacing,
section.cta {
  position: relative;
  margin-top: 2.5rem;
  padding: 3.25rem 0 !important;
  color: #fff;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.94) 0%, rgba(13, 40, 71, 0.9) 45%, rgba(0, 73, 153, 0.88) 100%);
  border-radius: 24px 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.cta .cta-content {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

.cta .cta-content::before {
  display: none;
}

.cta-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff !important;
  margin-bottom: 0.6rem;
}

.cta-text {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 1rem;
  margin-bottom: 0;
}

.cta .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.6rem;
  background: transparent;
  color: #fff !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8125rem;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.2s;
}

.cta .cta-btn:hover {
  background: #fff;
  color: var(--rc-navy) !important;
  border-color: #fff;
  transform: translateY(-1px);
  box-shadow: none;
}

@media (max-width: 767px) {
  .cta-banner {
    margin-top: 1.25rem;
    padding: 1.5rem 0;
    border-radius: 16px 16px 0 0;
  }

  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-banner-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Article cards — dark insight design */
.insights-head__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.1rem;
  border: 2px solid var(--brand-dark);
  border-radius: 50px;
  background: #fff;
  color: var(--brand-dark);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
}

.insights-head__badge .bx {
  font-size: 1.1rem;
  color: var(--brand-dark);
}

.article-card--dark {
  border-radius: 16px;
  overflow: hidden;
  background: var(--brand-dark);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-card--dark:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(10, 22, 40, 0.18);
}

.article-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.article-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--rc-gray-200);
}

.article-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.article-card--dark:hover .article-card__image {
  transform: scale(1.03);
}

.article-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2a2a2a 0%, #191919 100%);
  color: rgba(255, 255, 255, 0.35);
}

.article-card__placeholder .bx {
  font-size: 2.5rem;
}

.article-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1.1rem;
  background: var(--brand-dark);
}

.article-card__title {
  margin: 0;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.35em;
}

.article-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

.article-card__category {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-primary);
  line-height: 1.3;
}

.article-card__action {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.article-card__action .bx {
  transform: rotate(45deg);
  color: #fff;
}

.article-card--dark:hover .article-card__action {
  background: var(--brand-primary-hover);
  transform: scale(1.05);
}

/* Legal and sitemap pages */
.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rc-navy);
  margin: 2rem 0 0.75rem;
}

.legal-content h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--rc-navy);
  margin: 1.25rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--rc-text);
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-content code {
  font-size: 0.875em;
  background: var(--rc-gray-100);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.sitemap-group {
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
}

.sitemap-group h2 {
  color: var(--rc-navy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--rc-blue);
  display: inline-block;
}

.sitemap-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-group li {
  margin-bottom: 0.5rem;
}

.sitemap-group a {
  color: var(--rc-text);
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.sitemap-group a:hover {
  color: var(--rc-blue);
}

.sitemap-articles {
  columns: 2;
  column-gap: 2rem;
}

@media (max-width: 767px) {
  .sitemap-articles {
    columns: 1;
  }
}

/* Focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--rc-accent);
  outline-offset: 2px;
}

/* Responsive map */
.contact-map {
  margin-top: 1.75rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--rc-gray-200);
  box-shadow: 0 4px 18px rgba(10, 22, 40, 0.06);
}

.contact-map iframe {
  width: 100%;
  max-width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

/* Contact page */
.contact-quick-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 16px;
  padding: 1.35rem 1.25rem;
  text-decoration: none;
  color: inherit;
  height: 100%;
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-quick-card:hover {
  border-color: rgba(204, 22, 22, 0.35);
  box-shadow: 0 10px 28px rgba(10, 22, 40, 0.08);
  transform: translateY(-2px);
  color: inherit;
}

.contact-quick-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.contact-quick-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rc-gray-600);
}

.contact-quick-card__value {
  font-weight: 600;
  color: var(--rc-navy);
  line-height: 1.45;
  word-break: break-word;
}

.contact-aside__lead {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.contact-type-list {
  display: grid;
  gap: 0.85rem;
}

.contact-type-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 12px;
  padding: 0.95rem 1rem;
}

.contact-type-item__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-form-card {
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 8px 28px rgba(10, 22, 40, 0.06);
}

.contact-form-card__header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rc-gray-200);
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  border-radius: 10px;
  border-color: var(--rc-gray-200);
  padding: 0.7rem 0.9rem;
  min-height: 46px;
}

.contact-form-card textarea.form-control {
  min-height: 140px;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.2rem rgba(204, 22, 22, 0.12);
}

.contact-form-card .form-label {
  font-weight: 600;
  color: var(--rc-navy);
  font-size: 0.9rem;
}

@media (max-width: 767.98px) {
  .contact-form-card {
    padding: 1.25rem;
  }

  .contact-map iframe {
    height: 220px;
  }
}

@media (max-width: 1199px) {
  .hero-layout--split {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
    gap: 2rem;
  }

  .hero-visual {
    max-width: 380px;
    min-height: 380px;
  }

  .hero-card--main {
    width: 230px;
    right: 0;
  }

  .hero-card--secondary {
    width: 210px;
  }

  .hero-card--accent {
    width: 200px;
    right: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--rc-gray-200);
    padding-bottom: 1rem;
  }

  .stat-item:nth-last-child(-n+2) {
    border-bottom: none;
    padding-bottom: 0;
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline::before {
    display: none;
  }

  .site-header .hero-main-content {
    padding: 2.5rem 0 3rem !important;
  }

  .site-header .navbar-collapse {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--rc-gray-200);
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
    overflow-x: hidden;
  }

  .site-header .navbar-nav {
    align-items: stretch !important;
    gap: 0;
  }

  .site-header .nav-item {
    width: 100%;
  }

  .site-header .nav-item.dropdown .dropdown-menu {
    position: static !important;
    float: none;
    transform: none !important;
    width: 100%;
    margin-top: 0;
    box-shadow: none;
    border-left: 2px solid rgba(0, 102, 204, 0.15);
    border-radius: 0 0 6px 6px;
    padding: 0.25rem 0 0.5rem 0.75rem;
    background: rgba(0, 102, 204, 0.04);
  }

  .site-header .dropdown-menu-nav {
    border: none;
    box-shadow: none;
    padding: 0.25rem 0 0.5rem 0.75rem;
    margin-left: 0.5rem;
    background: transparent;
  }

  .site-header .navbar-nav .nav-link {
    padding: 0.65rem 0.5rem !important;
    white-space: normal;
  }

  .site-header .nav-item.ms-xl-2 {
    margin-left: 0 !important;
    margin-top: 0.5rem;
  }

  .site-header .nav-cta-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .founder-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .section-spacing {
    padding: 3.5rem 0;
  }
}

@media (max-width: 575px) {
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Override legacy style.css navbar/logo rules for v2 header */
.site-header .navbar-brand .site-logo,
.site-header .navbar-brand .logo,
.site-header .navbar-brand .brand-logo__icon {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  min-width: 44px !important;
  max-height: 44px !important;
  min-height: 44px !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 1 !important;
}

.site-header .navbar-brand img:not(.brand-logo__icon) {
  width: auto !important;
  max-height: 44px !important;
  min-height: auto !important;
  max-width: 150px !important;
  filter: none !important;
  opacity: 1 !important;
}

.site-header .navbar {
  position: relative;
  z-index: 1030;
}

.site-header .dropdown-menu {
  z-index: 1040;
}

/* Neutralise legacy style.css navbar hover pills inside v2 header */
.site-header.navbar-scope .navbar a,
.site-header .navbar a {
  border-radius: 6px;
}

.site-header .navbar a:hover,
.site-header .navbar .active,
.site-header .navbar li:hover > a {
  box-shadow: none !important;
}

.site-header .navbar .dropdown ul a:hover,
.site-header .navbar .dropdown ul .active:hover,
.site-header .navbar .dropdown ul li:hover > a {
  box-shadow: none !important;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .hero-card--main,
  .hero-card--secondary,
  .hero-card--accent {
    animation: none;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Ensure content is visible if AOS has not initialised */
[data-aos]:not(.aos-animate) {
  opacity: 1;
  transform: none;
}

/* Homepage — AI use case callout */
.ai-use-case-callout {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
}

.ai-use-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ai-use-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.ai-use-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--rc-accent);
  font-weight: 700;
}

.ai-callout-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.ai-callout-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Case study enhancements */
.case-study-challenge {
  font-size: 0.875rem;
  color: var(--rc-text);
  margin-bottom: 0.5rem;
}

.case-study-anon {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--rc-gray-600);
  background: var(--rc-gray-100);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tech-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--rc-blue);
  background: rgba(0, 102, 204, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}

.case-study-details dt {
  font-weight: 600;
  color: var(--rc-navy);
  font-size: 0.875rem;
}

.case-study-details dd {
  font-size: 0.9375rem;
  color: var(--rc-text);
  margin-bottom: 0.75rem;
}

/* Industry cards */
.industry-card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 12px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.industry-card:hover {
  border-color: var(--rc-blue);
  box-shadow: 0 6px 20px rgba(10, 22, 40, 0.08);
  transform: translateY(-2px);
}

.industry-card h3 {
  color: var(--rc-navy);
  margin-bottom: 0.5rem;
}

.industry-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 102, 204, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.industry-icon i {
  font-size: 1.5rem;
  color: var(--rc-blue);
}

/* Founder section — homepage */
.founder-card--home {
  max-width: 960px;
  margin: 0 auto;
}

.founder-card-content {
  flex: 1;
  min-width: 280px;
}

.founder-title {
  color: var(--rc-blue);
  font-weight: 600;
  margin-bottom: 1rem;
}

.founder-expertise-list {
  padding-left: 1.25rem;
  margin: 0;
}

.founder-expertise-list li {
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
  color: var(--rc-text);
}

/* Launchpad detailed items */
.launchpad-item--detailed {
  text-align: left;
  padding: 1.25rem;
}

.launchpad-item--detailed strong {
  display: block;
  color: var(--rc-navy);
  font-size: 0.9375rem;
  margin-top: 0.25rem;
}

.launchpad-notice {
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-left: 4px solid var(--rc-blue);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--rc-text);
}

.launchpad-notice p {
  margin: 0;
}

.article-category-pill {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--rc-blue);
  background: rgba(0, 102, 204, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.insight-topic-card {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 12px;
  height: 100%;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.insight-topic-card:hover {
  border-color: var(--rc-blue);
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.08);
}

.insight-topic-card h3 {
  color: var(--rc-navy);
  line-height: 1.4;
}

.insight-topic-card a {
  font-weight: 600;
  font-size: 0.875rem;
}

/* Homepage teaser sections */
.section-teaser {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.section-teaser .lead {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Google Play / Apps */
.apps-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.play-store-badge-link {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.play-store-badge-link img {
  height: 52px;
  width: auto;
}

.app-card {
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.app-card:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 8px 24px rgba(25, 25, 25, 0.08);
  transform: translateY(-2px);
}

.app-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  background: var(--brand-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 2rem;
}

.app-card h3 {
  font-size: 1.0625rem;
  color: var(--brand-dark);
  margin-bottom: 0.5rem;
}

.app-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.app-card-link {
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Compact founder block */
.founder-card--compact {
  max-width: 800px;
  margin: 0 auto;
  align-items: center;
}

.founder-card--compact .founder-photo {
  width: 140px;
  height: 140px;
}

/* Compact launchpad */
.launchpad-teaser {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

/* Homepage apps panel */
.apps-panel {
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 4px 24px rgba(10, 22, 40, 0.06);
}

@media (min-width: 768px) {
  .apps-panel {
    padding: 2rem 2.25rem;
  }
}

.apps-panel-intro__text {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.app-card--row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  padding: 1.25rem;
}

.app-card--row .app-card-icon {
  margin: 0;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  font-size: 1.65rem;
  border-radius: 12px;
}

.app-card--row .app-card-body {
  flex: 1;
  min-width: 0;
}

.app-card--row .app-card-link {
  margin-top: 0.75rem;
}

.app-card--row h3 {
  margin-bottom: 0.35rem;
}

/* Homepage promo cards */
.home-promo-card {
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-promo-card:hover {
  border-color: rgba(204, 22, 22, 0.25);
  box-shadow: 0 10px 32px rgba(10, 22, 40, 0.08);
  transform: translateY(-2px);
}

.home-promo-card--accent {
  border-top: 3px solid var(--brand-primary);
}

.home-promo-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.home-promo-card__icon .bx,
.home-promo-card__icon .bxs,
.home-promo-card__icon i {
  color: var(--brand-primary);
  font-size: 1.5rem;
  line-height: 1;
}

.home-promo-card h3 {
  color: var(--rc-navy);
  margin: 0.75rem 0;
}

.home-promo-card p {
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.home-promo-card__note {
  font-size: 0.875rem;
  color: var(--rc-gray-600);
  margin-bottom: 1.25rem;
}

.home-promo-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.btn-brand {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
}

.btn-brand:hover {
  background: var(--brand-primary-hover);
  border-color: var(--brand-primary-hover);
  color: #fff;
}

.btn-outline-brand {
  color: var(--brand-primary);
  border: 1.5px solid var(--brand-primary);
  border-radius: 50px;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  background: transparent;
}

.btn-outline-brand:hover {
  background: var(--brand-primary);
  color: #fff;
}

.nav-cta-btn {
  background: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
}

.nav-cta-btn:hover {
  background: var(--brand-primary-hover) !important;
  border-color: var(--brand-primary-hover) !important;
}

/* About page */
.about-stats-band {
  background: var(--rc-gray-100);
  border-bottom: 1px solid var(--rc-gray-200);
  padding: 1.75rem 0;
}

.about-stat {
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  height: 100%;
}

.about-stat__value {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--rc-navy);
}

.about-stat__label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--rc-gray-600);
}

.about-section-card {
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.04);
}

.about-sidebar {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 1rem;
}

.about-profile-card,
.about-founder-card,
.about-sidebar-card {
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(10, 22, 40, 0.06);
  overflow: hidden;
}

.about-profile-card {
  padding: 0;
}

.about-profile-card__head {
  padding: 1.25rem 1.35rem 1rem;
  background: linear-gradient(135deg, var(--brand-dark) 0%, #2a1a1a 100%);
  border-bottom: 3px solid var(--brand-primary);
}

.about-profile-card__eyebrow {
  display: inline-block;
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.about-profile-card__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.about-facts-list {
  padding: 0.35rem 1.35rem 1.15rem;
}

.about-facts-list__row {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rc-gray-200);
}

.about-facts-list__row:last-child {
  border-bottom: 0;
  padding-bottom: 0.35rem;
}

.about-facts-list__row dt {
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rc-gray-600);
  margin: 0;
}

.about-facts-list__row dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--rc-navy);
  line-height: 1.45;
  word-break: break-word;
}

.about-facts-list__row dd a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
}

.about-facts-list__row dd a:hover {
  text-decoration: underline;
}

.about-founder-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
}

.about-founder-card__media img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid var(--brand-primary-soft);
  background: #f7f7f7;
}

.about-founder-card .about-profile-card__eyebrow {
  color: var(--brand-primary);
}

.about-founder-card__name {
  margin: 0.15rem 0 0.15rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rc-navy);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.about-founder-card__role {
  margin: 0 0 0.65rem;
  font-size: 0.875rem;
  color: var(--rc-gray-600);
}

.about-founder-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: none;
}

.about-founder-card__link:hover {
  color: var(--brand-primary-hover);
}

.about-founder-card__link .bx {
  font-size: 1.15rem;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-value-card {
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 16px;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 4px 18px rgba(10, 22, 40, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.about-value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(204, 22, 22, 0.3);
  box-shadow: 0 12px 28px rgba(10, 22, 40, 0.08);
}

.about-value-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  transition: transform 0.25s ease;
}

.about-value-card:hover .about-value-card__icon {
  transform: scale(1.08);
}

.about-value-card__title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rc-navy);
}

.about-value-card__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--rc-gray-600);
}

.founder-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: start;
}

.founder-panel {
  position: sticky;
  top: 6rem;
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 12px 36px rgba(10, 22, 40, 0.07);
  text-align: center;
}

.founder-panel__photo {
  margin: 0 auto 1.25rem;
  width: 168px;
  height: 168px;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--brand-primary-soft);
  background: #f7f7f7;
}

.founder-panel__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-panel__name {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--rc-navy);
}

.founder-panel__role {
  margin: 0 0 1.15rem;
  color: var(--rc-gray-600);
  font-size: 0.9375rem;
}

.founder-panel__meta {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
  padding: 1rem;
  background: #fafafa;
  border-radius: 12px;
  text-align: left;
}

.founder-panel__meta li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: var(--rc-navy);
}

.founder-panel__meta .bx {
  color: var(--brand-primary);
  font-size: 1.1rem;
}

.founder-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.founder-panel__actions .btn {
  width: 100%;
}

.founder-content {
  display: grid;
  gap: 1.25rem;
}

.founder-block {
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 18px;
  padding: 1.75rem 1.6rem;
  box-shadow: 0 4px 20px rgba(10, 22, 40, 0.04);
}

.founder-block--accent {
  background: linear-gradient(160deg, #fff 0%, #fdf6f6 100%);
  border-color: rgba(204, 22, 22, 0.18);
}

.founder-block__title {
  margin: 0.5rem 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--rc-navy);
}

.founder-block p {
  color: #4b5563;
  line-height: 1.7;
}

.founder-expertise {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.founder-expertise__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #fafafa;
  border: 1px solid var(--rc-gray-200);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rc-navy);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.founder-expertise__item:hover {
  border-color: rgba(204, 22, 22, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(10, 22, 40, 0.06);
}

.founder-expertise__item .bx {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.founder-block .founder-panel__actions {
  flex-direction: row;
  flex-wrap: wrap;
}

.founder-block .founder-panel__actions .btn {
  width: auto;
}

@media (max-width: 991.98px) {
  .founder-layout {
    grid-template-columns: 1fr;
  }

  .founder-panel {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .about-values-grid,
  .founder-expertise {
    grid-template-columns: 1fr;
  }

  .founder-block .founder-panel__actions {
    flex-direction: column;
  }

  .founder-block .founder-panel__actions .btn {
    width: 100%;
  }
}

.about-focus-card .service-icon {
  margin-bottom: 0;
}

.about-link-card {
  display: block;
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 14px;
  padding: 1.35rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.about-link-card:hover {
  border-color: var(--rc-blue);
  box-shadow: 0 6px 20px rgba(10, 22, 40, 0.08);
  transform: translateY(-2px);
  color: inherit;
}

.about-link-card .bx {
  font-size: 1.5rem;
  color: var(--rc-blue);
  margin-bottom: 0.65rem;
}

.about-link-card h3 {
  color: var(--rc-navy);
  margin-bottom: 0.35rem;
}

/* FAQ accordion — v2 brand styling */
.faq-accordion .faq-item {
  margin-bottom: 0.85rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--rc-gray-200);
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.04);
}

.faq-accordion .faq-item__heading {
  margin: 0;
  font-size: inherit;
}

.faq-accordion .faq-toggle {
  width: 100%;
  background: #fff;
  border: 0;
  padding: 1.1rem 1.25rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-accordion .faq-toggle:hover,
.faq-accordion .faq-toggle:not(.collapsed) {
  background: var(--rc-gray-100);
}

.faq-accordion .faq-question {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--rc-navy);
  line-height: 1.45;
}

.faq-accordion .faq-toggle .bx {
  font-size: 1.25rem;
  color: var(--rc-blue);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-accordion .faq-toggle:not(.collapsed) .bx {
  transform: rotate(180deg);
}

.faq-accordion .faq-body {
  padding: 0 1.25rem 1.15rem;
  color: var(--rc-text);
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 991.98px) {
  .about-sidebar {
    position: static;
  }
}

/* Icon font reliability */
.bx,
.bxl,
.bxs,
i[class*="bx-"],
i[class*="bxs-"],
i[class*="bxl-"],
i[class^="bx-"],
i[class^="bxs-"],
i[class^="bxl-"] {
  font-family: 'boxicons' !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  line-height: 1;
  display: inline-block;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal !important;
}

.service-icon > .bx,
.service-icon > i[class*="bx"],
.app-card-icon > .bx,
.app-card-icon > i[class*="bx"],
.home-promo-card__icon > .bx,
.hero-card-icon > .bx,
.footer-social .bx,
.launchpad-item > .bx,
.platforms-grid-card__icon > .bx,
.career-benefit-card__icon > .bx,
.careers-empty-state__icon > .bx,
.info-box > .bx,
.cta-banner-btn .bx,
.expertise-link .bx,
.btn .bx {
  speak: never;
}

.service-icon > .bx,
.service-icon > i[class*="bx"] {
  color: #fff;
}

/* Careers page */
.career-benefit-card {
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.04);
  height: 100%;
}

.career-benefit-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.launchpad-item--compact {
  text-align: left;
  padding: 1rem 1.1rem;
}

.launchpad-item--compact .bx {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
}

.job-card {
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.04);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.job-card:hover {
  border-color: rgba(204, 22, 22, 0.35);
  box-shadow: 0 10px 28px rgba(10, 22, 40, 0.08);
  transform: translateY(-2px);
}

.job-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.job-card-meta li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: var(--rc-gray-600);
  margin-bottom: 0.25rem;
}

.job-card-meta .bx {
  color: var(--brand-primary);
  font-size: 1rem;
}

.job-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.job-card-badge--launchpad {
  background: #e8f1ff;
  color: #1b4f9c;
}

.job-card-category {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.job-card-category--launchpad {
  background: #e8f1ff;
  color: #1b4f9c;
}

.job-card--launchpad {
  border-color: rgba(27, 79, 156, 0.18);
}

.job-card--launchpad:hover {
  border-color: rgba(27, 79, 156, 0.35);
  box-shadow: 0 10px 28px rgba(27, 79, 156, 0.08);
}

.job-positions-group + .job-positions-group {
  padding-top: 0.5rem;
  border-top: 1px solid var(--rc-gray-200);
}

.job-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: center;
}

.job-card__excerpt {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.careers-empty-state {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.careers-empty-state__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.career-form-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.08);
  max-width: 1140px;
  margin: 0 auto;
}

.career-form-card__aside {
  background: linear-gradient(160deg, var(--brand-dark) 0%, #2a1a1a 55%, #3a1212 100%);
  color: #fff;
  padding: 2.5rem 2rem;
  position: relative;
  border-bottom: 3px solid var(--brand-primary);
}

.career-form-card__aside::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 22, 22, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.career-form-card__aside .section-tag {
  color: #fff;
  background: rgba(204, 22, 22, 0.35);
}

.career-form-card__title {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 1rem;
  color: #fff;
}

.career-form-card__lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.career-form-card__notes {
  display: grid;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.career-form-card__notes li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
}

.career-form-card__notes .bx {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.career-form-card__body {
  padding: 2.25rem 2rem;
}

.career-form-card .form-label {
  font-weight: 600;
  color: var(--rc-navy);
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
}

.career-form-card .form-control,
.career-form-card .form-select {
  border-radius: 12px;
  border-color: var(--rc-gray-200);
  padding: 0.75rem 0.95rem;
  min-height: 48px;
  background: #fafafa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.career-form-card .form-control:hover,
.career-form-card .form-select:hover {
  background: #fff;
}

.career-form-card .form-control:focus,
.career-form-card .form-select:focus {
  border-color: var(--brand-primary);
  background: #fff;
  box-shadow: 0 0 0 0.2rem rgba(204, 22, 22, 0.12);
}

.career-upload {
  position: relative;
}

.career-upload__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.career-upload__zone {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 1.1rem 1.15rem;
  border: 1.5px dashed rgba(204, 22, 22, 0.35);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #fdf6f6 100%);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.career-upload:hover .career-upload__zone,
.career-upload__input:focus-visible + .career-upload__zone {
  border-color: var(--brand-primary);
  background: #fff;
  box-shadow: 0 0 0 0.2rem rgba(204, 22, 22, 0.1);
}

.career-upload.is-filled .career-upload__zone {
  border-style: solid;
  border-color: rgba(204, 22, 22, 0.45);
  background: #fff;
}

.career-upload__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  flex-shrink: 0;
}

.career-upload__copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.career-upload__action {
  font-size: 0.9375rem;
  color: var(--rc-navy);
}

.career-upload__filename {
  font-size: 0.8125rem;
  color: var(--rc-gray-600);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.career-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: #f7f7f7;
  border-radius: 12px;
  border: 1px solid var(--rc-gray-200);
  margin: 0;
}

.career-consent .form-check-input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.career-consent .form-check-label {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--rc-gray-700, #4a5568);
}

.career-form-card__submit {
  margin-top: 0.25rem;
  min-height: 52px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.career-form-card__submit .bx {
  margin-right: 0.35rem;
  vertical-align: -2px;
}

@media (max-width: 991.98px) {
  .career-form-card {
    grid-template-columns: 1fr;
  }

  .career-form-card__aside {
    padding: 2rem 1.5rem 1.75rem;
    border-bottom: none;
    border-left: 3px solid var(--brand-primary);
  }

  .career-form-card__notes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .career-form-card__notes li {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  .career-form-card__body {
    padding: 1.5rem 1.15rem 1.75rem;
  }

  .career-form-card__aside {
    padding: 1.5rem 1.15rem;
  }

  .career-form-card__notes {
    grid-template-columns: 1fr;
  }

  .career-form-card__notes li {
    flex-direction: row;
    text-align: left;
    font-size: 0.875rem;
  }
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-hero__actions .btn-outline-brand {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.page-hero__actions .btn-outline-brand:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

/* Testimonials */
.testimonials-rating-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 14px;
  padding: 1rem 1.25rem;
}

.testimonials-rating-bar__score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.testimonials-rating-bar__stars {
  color: #fbbc04;
  display: inline-flex;
  gap: 0.1rem;
  font-size: 1.1rem;
}

.testimonials-rating-bar__score strong {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  color: var(--rc-navy);
}

.testimonials-rating-bar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.testimonial-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(10, 22, 40, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
}

.testimonial-card__stars {
  color: #fbbc04;
  display: flex;
  gap: 0.1rem;
  font-size: 1rem;
}

.testimonial-card__quote {
  margin: 0;
  color: var(--rc-text);
  font-size: 0.975rem;
  line-height: 1.65;
  flex: 1;
}

.testimonial-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--rc-gray-200);
}

.testimonial-card__author {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--rc-navy);
  font-size: 0.9rem;
}

.testimonial-card__role {
  display: block;
  font-size: 0.8rem;
  color: var(--rc-gray-600);
}

.testimonial-card__source {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rc-gray-600);
  white-space: nowrap;
}

.testimonial-card__source .bx {
  color: #4285f4;
  font-size: 1rem;
}

@media (max-width: 767.98px) {
  .testimonials-rating-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonials-rating-bar__actions {
    width: 100%;
  }

  .testimonials-rating-bar__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Site-wide mobile and touch responsiveness */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: clip;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

@media (max-width: 767.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-spacing {
    padding: 2.75rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header .section-title,
  .section-title {
    font-size: clamp(1.45rem, 6vw, 1.85rem);
  }

  .service-card,
  .case-study-card,
  .home-promo-card,
  .career-benefit-card,
  .job-card,
  .career-form-card,
  .about-section-card,
  .apps-panel {
    border-radius: 14px;
  }

  .apps-panel {
    padding: 1.25rem;
  }

  .app-card--row {
    flex-direction: column;
    text-align: center;
  }

  .app-card--row .app-card-icon {
    margin: 0 auto;
  }

  .teaser-actions,
  .home-promo-card__actions,
  .page-hero__actions {
    width: 100%;
  }

  .teaser-actions .btn,
  .teaser-actions .btn-hero-cta,
  .home-promo-card__actions .btn,
  .page-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .article-card__title {
    font-size: 1rem;
    min-height: 3.9em;
  }

  .article-card__body {
    padding: 1rem;
  }

  .insights-head__badge {
    font-size: 0.875rem;
  }

  .trust-strip {
    gap: 0.4rem 0.6rem;
  }

  .trust-strip li {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
  }

  .site-header:not(.site-header--compact) {
    margin: 0 0.5rem 1rem;
    border-radius: 0 0 1.1rem 1.1rem;
  }

  .hero-visual {
    min-height: 0;
    max-width: 100%;
  }

  .modal-dialog {
    margin: 0.75rem;
  }

  .legal-content,
  .solution-content,
  .about-facts-list__row {
    font-size: 0.9375rem;
  }

  .table,
  .facts-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  input,
  select,
  textarea,
  .form-control,
  .form-select {
    font-size: 16px;
  }

  .btn,
  .btn-brand,
  .btn-outline-brand,
  .cta-banner-btn,
  .nav-cta-btn {
    min-height: 44px;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 991.98px) {
  .hero-layout--split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-visual {
    position: relative;
    max-width: 100%;
    min-height: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
  }

  .hero-glow {
    display: none;
  }

  .hero-card,
  .hero-card--main,
  .hero-card--secondary,
  .hero-card--accent {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    margin: 0;
    animation: none;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.85rem;
    row-gap: 0.15rem;
    align-items: start;
    padding: 1rem 1.1rem;
  }

  .hero-card-icon {
    margin-bottom: 0;
    flex-shrink: 0;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .hero-card strong {
    margin-bottom: 0;
    grid-column: 2;
  }

  .hero-card span {
    grid-column: 2;
  }
}

/* Homepage hero — phone only (desktop floating cards unchanged) */
@media (max-width: 767.98px) {
  .site-header:not(.site-header--compact) {
    margin: 0 0.5rem 1rem;
    border-radius: 0 0 1.25rem 1.25rem;
  }

  .site-header:not(.site-header--compact) .hero-main-content {
    padding: 2.5rem 0 2rem !important;
  }

  .site-header:not(.site-header--compact) .hero-layout--split {
    gap: 1.75rem;
  }

  .site-header:not(.site-header--compact) .hero-text-content {
    max-width: 100%;
    text-align: center !important;
  }

  .site-header:not(.site-header--compact) .hero-main-title {
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.06;
    margin-bottom: 0.85rem;
    letter-spacing: -0.035em;
    font-weight: 800;
  }

  .site-header:not(.site-header--compact) .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 auto 1.5rem;
    max-width: 28rem;
    color: rgba(255, 255, 255, 0.7) !important;
  }

  .site-header:not(.site-header--compact) .hero-subtitle--mobile {
    display: block;
  }

  .site-header:not(.site-header--compact) .hero-subtitle--desktop {
    display: none;
  }

  .site-header:not(.site-header--compact) .hero-title--mobile {
    display: inline;
  }

  .site-header:not(.site-header--compact) .hero-title--desktop {
    display: none;
  }

  .site-header:not(.site-header--compact) .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    margin-bottom: 0;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
  }

  .site-header:not(.site-header--compact) .hero-actions .btn-hero-cta {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.8125rem;
  }

  .site-header:not(.site-header--compact) .hero-actions .btn-hero-cta--secondary {
    font-size: 0.85rem;
    padding: 0.75rem 1.25rem;
  }

  /* Cards: stacked list (no horizontal slideshow) */
  .site-header:not(.site-header--compact) .hero-visual {
    display: grid;
    gap: 0.65rem;
    overflow: visible;
    overscroll-behavior: auto;
    scroll-snap-type: none;
    padding: 0;
    margin: 0;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  .site-header:not(.site-header--compact) .hero-visual .hero-glow {
    display: none;
  }

  .site-header:not(.site-header--compact) .hero-card,
  .site-header:not(.site-header--compact) .hero-card--main,
  .site-header:not(.site-header--compact) .hero-card--secondary,
  .site-header:not(.site-header--compact) .hero-card--accent {
    display: grid !important;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.85rem;
    row-gap: 0.1rem;
    align-items: center;
    text-align: left;
    flex: none;
    width: 100% !important;
    min-width: 0;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    box-shadow: none;
    scroll-snap-align: unset;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-header:not(.site-header--compact) .hero-card:hover {
    transform: none;
  }

  .site-header:not(.site-header--compact) .hero-card-icon {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
    border-radius: 10px;
    margin-bottom: 0;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .site-header:not(.site-header--compact) .hero-card strong {
    font-size: 0.9rem;
    line-height: 1.3;
    grid-column: 2;
    margin-bottom: 0;
  }

  .site-header:not(.site-header--compact) .hero-card span {
    display: block;
    grid-column: 2;
    font-size: 0.75rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.6);
  }
}

@media (max-width: 575.98px) {
  .section-spacing {
    padding: 2.25rem 0;
  }

  .site-header:not(.site-header--compact) {
    margin: 0 0.4rem 0.85rem;
    border-radius: 0 0 1.1rem 1.1rem;
  }

  .site-header:not(.site-header--compact) .hero-main-content {
    padding: 2rem 0 1.75rem !important;
  }

  .site-header:not(.site-header--compact) .hero-main-title {
    font-size: clamp(1.85rem, 9vw, 2.4rem);
    font-weight: 800;
  }

  .site-header:not(.site-header--compact) .hero-subtitle {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
  }

  .site-header:not(.site-header--compact) .hero-visual {
    max-width: 100%;
  }

  .site-header:not(.site-header--compact) .hero-card,
  .site-header:not(.site-header--compact) .hero-card--main,
  .site-header:not(.site-header--compact) .hero-card--secondary,
  .site-header:not(.site-header--compact) .hero-card--accent {
    padding: 0.75rem 0.9rem;
  }

  .site-header:not(.site-header--compact) .hero-card strong {
    font-size: 0.85rem;
  }

  .site-header:not(.site-header--compact) .hero-card span {
    display: block;
    font-size: 0.72rem;
  }

  .site-header:not(.site-header--compact) .hero-card-icon {
    width: 34px;
    height: 34px;
    font-size: 1.05rem;
    grid-row: 1 / span 2;
  }

  .balanced-grid .col,
  .insights-grid .col {
    width: 100%;
  }

  .about-stats-band .about-stat {
    padding: 1rem 0.85rem;
  }

  .cta-banner-copy h2 {
    font-size: 1.25rem;
  }

  .page-hero__title,
  .page-hero h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .insights-grid .col {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .insights-grid .col:last-child:nth-child(odd) {
    flex: 0 0 100%;
    max-width: 100%;
  }
}


/* Floating contact FAB (site-wide) */
.rc-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.rc-fab__btn {
  position: relative;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #e82d2d 0%, var(--brand-primary) 48%, #9e1010 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(204, 22, 22, 0.4);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rc-fab__btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 32px rgba(204, 22, 22, 0.48);
}

.rc-fab__btn:focus-visible {
  outline: 3px solid rgba(204, 22, 22, 0.35);
  outline-offset: 3px;
}

.rc-fab__icon {
  font-size: 1.65rem;
  line-height: 1;
  position: absolute;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.rc-fab__icon--close {
  opacity: 0;
  transform: rotate(-45deg) scale(0.6);
}

.rc-fab.is-open .rc-fab__icon--phone {
  opacity: 0;
  transform: rotate(45deg) scale(0.6);
}

.rc-fab.is-open .rc-fab__icon--close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.rc-fab__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(204, 22, 22, 0.45);
  animation: rc-fab-pulse 2.2s ease-out infinite;
  pointer-events: none;
}

.rc-fab.is-open .rc-fab__pulse {
  display: none;
}

@keyframes rc-fab-pulse {
  0% { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(1.55); opacity: 0; }
}

.rc-fab__panel {
  width: min(300px, calc(100vw - 2.5rem));
  background: #fff;
  border: 1px solid var(--rc-gray-200);
  border-radius: 16px;
  padding: 0.85rem;
  box-shadow: 0 16px 40px rgba(10, 22, 40, 0.16);
  animation: rc-fab-panel-in 0.22s ease;
}

@keyframes rc-fab-panel-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.rc-fab__panel-title {
  margin: 0 0 0.55rem;
  padding: 0.15rem 0.35rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rc-gray-600);
  border-bottom: 1px solid var(--rc-gray-200);
}

.rc-fab__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.55rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.rc-fab__item:hover {
  background: #fafafa;
}

.rc-fab__item-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.rc-fab__item-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.rc-fab__item-copy strong {
  font-size: 0.9rem;
  color: var(--rc-navy);
}

.rc-fab__item-copy small {
  font-size: 0.75rem;
  color: var(--rc-gray-600);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 575.98px) {
  .rc-fab {
    right: 1rem;
    bottom: 1rem;
  }

  .rc-fab__btn {
    width: 56px;
    height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rc-fab__pulse,
  .rc-fab__panel {
    animation: none !important;
  }
}

/* Homepage AI showcase (replaces featured work) */
.text-brand {
  color: var(--brand-primary);
}

.home-ai-showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.65fr);
  gap: 1.75rem;
  align-items: center;
}

/* Desktop: photo stage + overlay headline + dark footer bar (old card look) */
.home-ai-showcase__visual {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #0a1220;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 48px rgba(8, 14, 28, 0.2);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
}

.home-ai-showcase__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0b1528;
  overflow: hidden;
  flex: 0 0 auto;
}

.home-ai-showcase__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.home-ai-showcase__visual-glow {
  display: none;
}

.home-ai-showcase__visual::before {
  content: none;
}

.home-ai-showcase__visual-content {
  position: relative;
  z-index: 2;
  padding: 1.35rem 1.5rem 1.5rem;
  color: #fff;
  max-width: none;
  width: 100%;
  background: linear-gradient(180deg, #0a1220 0%, #101828 100%);
}

.home-ai-showcase__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.home-ai-showcase__visual-title {
  margin: 0 0 0.45rem;
  font-family: Poppins, Inter, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-ai-showcase__visual-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.home-ai-capabilities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.home-ai-capabilities__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-primary) 0%, #a81212 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(204, 22, 22, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-ai-capabilities__item:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 26px rgba(204, 22, 22, 0.28);
}

.home-ai-capabilities__check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
}

.home-ai-showcase__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 991.98px) {
  .home-ai-showcase__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .home-ai-showcase__stage {
    aspect-ratio: 16 / 11;
  }

  .home-ai-showcase__visual-content {
    padding: 1.25rem;
  }

  .home-ai-showcase__logo {
    width: 48px;
    height: 48px;
    margin-bottom: 0.65rem;
  }

  .home-ai-showcase__visual-title {
    font-size: 1.25rem;
  }
}

/* Phone: stacked image + copy, no large overlay headline */
@media (max-width: 767.98px) {
  .home-ai-showcase .section-header {
    margin-bottom: 1.75rem !important;
  }

  .home-ai-showcase .section-subtitle {
    font-size: 0.95rem;
  }

  .home-ai-showcase__stage {
    aspect-ratio: unset;
    min-height: 210px;
    max-height: 260px;
  }

  .home-ai-showcase__photo {
    object-position: 78% center;
  }

  .home-ai-showcase__visual-content {
    padding: 1.15rem 1.15rem 1.35rem;
  }

  .home-ai-showcase__logo {
    width: 44px;
    height: 44px;
  }

  .home-ai-showcase__visual-title {
    font-size: 1.2rem;
  }

  .home-ai-showcase__visual-text {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .home-ai-capabilities {
    gap: 0.65rem;
  }

  .home-ai-capabilities__item {
    border-radius: 14px;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    align-items: flex-start;
  }

  .home-ai-showcase__actions {
    flex-direction: column;
    margin-top: 1.15rem;
  }

  .home-ai-showcase__actions .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .home-ai-showcase__stage {
    min-height: 190px;
    max-height: 220px;
  }

  .home-ai-showcase__visual {
    border-radius: 18px;
  }

  .home-ai-showcase__visual-content {
    padding: 1rem 1rem 1.2rem;
  }
}
