/* ============================================================
   OPTI DESIGN TOKENS & SYSTEM
   ============================================================ */
:root {
  /* Brand & Theme Colors */
  --clr-brand:         #4b3fd1;
  --clr-brand-hover:   #3e32b8;
  --clr-brand-light:   #7b70ff;
  --clr-brand-soft:    rgba(75, 63, 209, 0.10);
  --clr-brand-border:  rgba(75, 63, 209, 0.25);

  --clr-bg:            #f5f7fb;
  --clr-bg-alt:        #edf0f7;
  --clr-bg-blue:       #5d8ff0;
  --clr-bg-warm:       #e5dfd7;
  --clr-surface:       #ffffff;
  --clr-dark:          #0f1330;
  --clr-dark-soft:     #1e2245;
  --clr-muted:         #586080;
  --clr-muted-light:   #8e97b5;
  --clr-border:        rgba(15, 19, 48, 0.08);
  --clr-border-light:  rgba(15, 19, 48, 0.05);

  --clr-green:         #1f8a4c;
  --clr-green-soft:    rgba(31, 138, 76, 0.12);
  --clr-blue:          #2563c9;
  --clr-blue-soft:     rgba(37, 99, 201, 0.12);
  --clr-gold:          #b7791f;
  --clr-gold-soft:     rgba(183, 121, 31, 0.12);
  --clr-red:           #dc2626;
  --clr-red-soft:      rgba(220, 38, 38, 0.12);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-xs:   8px;
  --space-sm:   16px;
  --space-md:   24px;
  --space-lg:   48px;
  --space-xl:   80px;
  --space-2xl:  120px;

  /* Container */
  --container:     1180px;
  --container-pad: 32px;

  /* Radii */
  --radius-xs:   6px;
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(15, 19, 48, 0.05), 0 1px 2px rgba(15, 19, 48, 0.03);
  --shadow-md:   0 6px 20px rgba(15, 19, 48, 0.07), 0 2px 6px rgba(15, 19, 48, 0.03);
  --shadow-lg:   0 18px 50px rgba(15, 19, 48, 0.09), 0 4px 14px rgba(15, 19, 48, 0.04);
  --shadow-dash: 0 28px 72px -12px rgba(15, 24, 60, 0.14), 0 4px 18px rgba(15, 24, 60, 0.04);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.76, 0, 0.24, 1);
  --t-micro:     180ms;
  --t-normal:    280ms;
  --t-slow:      450ms;
}

/* ============================================================
   RESET & BASE STYLES
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--clr-bg);
  color: var(--clr-dark);
  line-height: 1.6;
  letter-spacing: -0.012em;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

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

/* Container */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.text-center { text-align: center; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 800; }
.font-medium { font-weight: 500; }
.text-white { color: #ffffff !important; }
.text-brand-light { color: var(--clr-brand-light) !important; }
.desktop-only { display: inline; }

/* ============================================================
   BUTTONS & TRENDING ROLLING TEXT ANIMATION
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  user-select: none;
}

/* Trending Rolling Text Hover Container */
.btn-text-roll {
  display: inline-flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 1.3em;
  line-height: 1.3em;
  vertical-align: middle;
}

.btn-text-primary {
  display: block;
  transform: translateY(0%);
  transition: transform 0.42s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.btn-text-clone {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  display: block;
  transform: translateY(0%);
  transition: transform 0.42s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
  pointer-events: none;
}

/* Slide Up Trigger on Parent Hover / Focus */
.btn:hover .btn-text-primary,
.btn:focus-visible .btn-text-primary,
.nav-link:hover .btn-text-primary,
.nav-link:focus-visible .btn-text-primary,
.slide-link:hover .btn-text-primary,
.showcase-tab:hover .btn-text-primary,
.btn-micro-approve:hover .btn-text-primary {
  transform: translateY(-100%);
}

.btn:hover .btn-text-clone,
.btn:focus-visible .btn-text-clone,
.nav-link:hover .btn-text-clone,
.nav-link:focus-visible .btn-text-clone,
.slide-link:hover .btn-text-clone,
.showcase-tab:hover .btn-text-clone,
.btn-micro-approve:hover .btn-text-clone {
  transform: translateY(-100%);
}

/* Aesthetic Premium Brand Button */
.btn-brand {
  background: linear-gradient(135deg, #5345ec 0%, #3e31bf 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 
    0 1px 0 0 rgba(255, 255, 255, 0.3) inset,
    0 6px 20px -2px rgba(75, 63, 209, 0.42),
    0 2px 4px rgba(15, 19, 48, 0.08);
}
.btn-brand:hover {
  background: linear-gradient(135deg, #6051fa 0%, #4638d1 100%);
  transform: translateY(-1.5px);
  box-shadow: 
    0 1px 0 0 rgba(255, 255, 255, 0.45) inset,
    0 10px 28px -3px rgba(75, 63, 209, 0.55),
    0 3px 8px rgba(15, 19, 48, 0.12);
}
.btn-brand:active {
  transform: translateY(0);
  box-shadow: 
    0 1px 0 0 rgba(255, 255, 255, 0.2) inset,
    0 3px 10px -1px rgba(75, 63, 209, 0.4);
}

/* Aesthetic Liquid Glass Button */
.btn-glass {
  background: radial-gradient(120% 120% at 50% 0%, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.45) 100%);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  color: var(--clr-dark);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 
    0 1px 2px rgba(15, 19, 48, 0.04),
    0 1.5px 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 8px 24px -6px rgba(15, 19, 48, 0.08);
}
.btn-glass:hover {
  background: radial-gradient(120% 120% at 50% 0%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.70) 100%);
  transform: translateY(-1.5px);
  border-color: rgba(255, 255, 255, 1);
  box-shadow: 
    0 12px 30px -6px rgba(15, 19, 48, 0.12),
    0 1.5px 1.5px 0 rgba(255, 255, 255, 1) inset;
}

/* Aesthetic Dark Button */
.btn-dark {
  background: linear-gradient(135deg, #1b2046 0%, #0c0f24 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px -2px rgba(12, 15, 36, 0.35);
}
.btn-dark:hover {
  background: linear-gradient(135deg, #242a5c 0%, #101431 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 8px 22px -3px rgba(12, 15, 36, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--clr-dark);
  border: 1px solid rgba(15, 19, 48, 0.12);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(75, 63, 209, 0.3);
  color: var(--clr-brand);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--clr-surface);
  color: var(--clr-dark);
  border: 1px solid var(--clr-border);
}
.btn-outline:hover {
  border-color: rgba(75, 63, 209, 0.35);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

/* ============================================================
   SECTION TITLES & HEADINGS
   ============================================================ */
.section-label {
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  color: var(--clr-brand);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2.125rem, 4.4vw, 3.25rem);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--clr-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--clr-muted);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow) var(--ease-out),
              transform var(--t-slow) var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   OBLIQ-STYLE FLOATING CAPSULE NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: max-content;
  max-width: calc(100vw - 32px);
  pointer-events: none;
  transition: top var(--t-normal) var(--ease-smooth);
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 5px 6px 5px 22px;
  position: relative;

  /* Liquid Frosted Glass Pill */
  background: radial-gradient(130% 180% at 50% 0%, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.58) 100%);
  backdrop-filter: blur(28px) saturate(190%) contrast(102%);
  -webkit-backdrop-filter: blur(28px) saturate(190%) contrast(102%);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 12px 32px -4px rgba(15, 24, 60, 0.08),
    0 2px 6px rgba(15, 24, 60, 0.03),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav:hover {
  background: radial-gradient(130% 180% at 50% 0%, rgba(255, 255, 255, 0.90) 0%, rgba(255, 255, 255, 0.68) 100%);
  box-shadow: 
    0 16px 36px -4px rgba(15, 24, 60, 0.11),
    0 3px 8px rgba(15, 24, 60, 0.04),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 1);
}

.header.scrolled .nav {
  background: radial-gradient(130% 180% at 50% 0%, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.76) 100%);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  box-shadow: 
    0 18px 40px -4px rgba(15, 24, 60, 0.13),
    0 4px 10px rgba(15, 24, 60, 0.05),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 1);
}

/* Nav Logo: Bold Geometric Wordmark */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: #000000;
  text-decoration: none;
  transition: opacity var(--t-micro);
}
.nav-logo:hover { opacity: 0.82; }

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  color: #000000;
  text-transform: uppercase;
  line-height: 1;
  display: flex;
  align-items: baseline;
}

.logo-suffix {
  font-weight: 700;
  color: #64748b;
  font-size: 0.72rem;
  margin-left: 2px;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}

/* Nav Links: Neutral Clean Typography */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 2px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  background: transparent;
  border-radius: 0;
  transition: color 0.2s ease;
  position: relative;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-link:hover {
  color: #000000;
  background: transparent;
}

/* Nav CTA: Jet Black Pill Button like Obliq */
.nav-cta {
  flex-shrink: 0;
  padding: 9px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  background: #111111 !important;
  color: #ffffff !important;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta:hover {
  background: #242424 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.26);
}

.nav-cta:active {
  transform: translateY(0);
}

.mobile-nav-cta-item {
  display: none;
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(15, 19, 48, 0.08);
  gap: 5px;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
  transition: background 0.2s ease;
}
.hamburger:hover {
  background: rgba(255, 255, 255, 0.95);
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--clr-dark);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse 130% 90% at 50% -10%, #9cbef4 0%, #c0d8f7 32%, #dbe7f7 62%, #f5f7fb 100%);
  padding-bottom: 80px;
}

.hero-cloud {
  position: absolute;
  top: 13%;
  width: 440px;
  pointer-events: none;
  z-index: 1;
}

.hero-cloud-left {
  left: -80px;
  animation: cloudDriftLeft 18s ease-in-out infinite alternate;
}

.hero-cloud-right {
  right: -80px;
  animation: cloudDriftRight 20s ease-in-out infinite alternate;
}

.cloud-svg {
  width: 100%;
  height: auto;
  filter: blur(10px);
}

@keyframes cloudDriftLeft {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 15px) scale(1.04); }
}

@keyframes cloudDriftRight {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 18px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: clamp(100px, 13vw, 150px);
  padding-bottom: 44px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--clr-brand);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(75, 63, 209, 0.08);
}

.hero-headline {
  font-size: clamp(2.6rem, 5.8vw, 4.5rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--clr-dark);
  max-width: 860px;
  margin: 0 auto 22px;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.1875rem);
  color: #4b526d;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.68;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   HERO DASHBOARD: OPTI MATCHING & OFFERS PLATFORM
   ============================================================ */
.hero-dashboard {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1140px;
  padding-bottom: 0;
}

.dashboard-window {
  display: flex;
  background: #ffffff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-dash);
  overflow: hidden;
  min-height: 520px;
}

/* Sidebar */
.dash-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #f8fafc;
  border-right: 1px solid rgba(15, 19, 48, 0.06);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
}

.dash-logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-inline: 6px;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-brand-name {
  font-size: 1.125rem;
  font-weight: 850;
  color: var(--clr-dark);
}

.dash-collapse-btn {
  color: var(--clr-muted);
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dash-collapse-btn:hover { background: rgba(0, 0, 0, 0.05); }

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #475569;
  transition: all var(--t-micro);
}
.dash-nav-item svg { color: #64748b; }
.dash-nav-item:hover {
  background: rgba(75, 63, 209, 0.05);
  color: var(--clr-dark);
}
.dash-nav-item.active {
  background: #ffffff;
  color: var(--clr-brand);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.dash-nav-item.active svg { color: var(--clr-brand); }

.dash-lbl {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-top: 20px;
  margin-bottom: 8px;
  padding-inline: 10px;
}

/* Main Dashboard Workspace */
.dash-main {
  flex: 1;
  padding: 24px 28px;
  background: #fafbfc;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Topbar */
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}

.dash-portal-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--clr-brand);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.dash-greeting-title {
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--clr-dark);
  line-height: 1.2;
}

.dash-greeting-sub {
  font-size: 0.8125rem;
  color: var(--clr-muted);
}

.dash-top-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.dash-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(15, 19, 48, 0.1);
  box-shadow: 0 1px 3px rgba(15, 19, 48, 0.04);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  width: 190px;
  color: var(--clr-muted);
}
.dash-search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.8125rem;
  width: 100%;
  color: var(--clr-dark);
  cursor: default;
}

.engine-live-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--clr-green);
  background: var(--clr-green-soft);
  padding: 5px 10px;
  border-radius: var(--radius-full);
}

.dash-timer-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(15, 19, 48, 0.08);
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--clr-dark);
}

.timer-btn {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: var(--clr-brand);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-micro);
}
.timer-btn:hover { transform: rotate(180deg); }

/* Stats Row */
.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.dash-stat-card {
  background: #ffffff;
  border: 1px solid rgba(15, 19, 48, 0.06);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.stat-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.stat-icon-wrap {
  display: flex;
  align-items: center;
}
.stat-icon-brand { color: var(--clr-brand); }
.stat-icon-blue  { color: var(--clr-blue); }
.stat-icon-green { color: var(--clr-green); }
.stat-icon-gold  { color: var(--clr-gold); }

.stat-lbl {
  font-size: 0.75rem;
  font-weight: 500;
  color: #586080;
}

.stat-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.stat-num {
  font-size: 1.375rem;
  font-weight: 850;
  color: var(--clr-dark);
  letter-spacing: -0.02em;
}

.stat-pill {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}
.pill-green {
  background: var(--clr-green-soft);
  color: var(--clr-green);
}

/* Lower Split: Chart + Approvals Queue */
.dash-split-row {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 16px;
}

.dash-chart-card {
  background: #ffffff;
  border: 1px solid rgba(15, 19, 48, 0.06);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.chart-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.chart-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--clr-dark);
  margin-bottom: 6px;
}

.chart-legend-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.c-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  color: #64748b;
  font-weight: 500;
}

.c-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
}
.dot-brand { background: var(--clr-brand); }
.dot-blue  { background: #93c5fd; }

.chart-ctrls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chart-month-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.chart-share-btn {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
}

.chart-canvas-wrap {
  position: relative;
  height: 125px;
  margin-top: 8px;
}

.chart-gridlines {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.cgrid-line {
  width: 100%;
  border-bottom: 1px dashed rgba(15, 19, 48, 0.06);
}

.chart-bars {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-inline: 8px;
  z-index: 1;
}

.bar-col {
  width: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: transform var(--t-micro);
}
.bar-col:hover { transform: scaleY(1.04); }

.bar-seg {
  width: 100%;
  border-radius: 3px;
  transition: opacity var(--t-micro);
}
.bar-col:hover .bar-seg { opacity: 0.85; }

.seg-brand {
  background: linear-gradient(180deg, #4b3fd1 0%, #3e32b8 100%);
}
.seg-blue {
  background: linear-gradient(180deg, #93c5fd 0%, #60a5fa 100%);
}

.bar-lbl {
  font-size: 0.625rem;
  font-weight: 600;
  color: #8e97b5;
  margin-top: 4px;
}

/* Approvals Column */
.dash-actions-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-action-card {
  background: #ffffff;
  border: 1px solid rgba(15, 19, 48, 0.06);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--t-micro) var(--ease-smooth);
}
.dash-action-card:hover {
  border-color: rgba(75, 63, 209, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.act-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.act-icon-box {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-bg-green { background: var(--clr-green-soft); }
.icon-bg-brand { background: var(--clr-brand-soft); }

.match-score-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.score-high {
  background: var(--clr-green-soft);
  color: var(--clr-green);
}

.act-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--clr-dark);
  line-height: 1.3;
}

.act-card-desc {
  font-size: 0.75rem;
  color: var(--clr-muted);
}

.btn-micro-approve {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--clr-dark);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  text-align: center;
  transition: background var(--t-micro);
}
.btn-micro-approve:hover { background: var(--clr-brand); }

/* ============================================================
   TRUST STRIP MARQUEE
   ============================================================ */
.trust-section {
  background: var(--clr-bg);
  padding: 56px 0 40px;
}

.trust-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--clr-muted);
  text-align: center;
  margin-bottom: 28px;
}

.marquee-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: marquee 32s linear infinite;
  width: max-content;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logo-item {
  display: inline-flex;
  align-items: center;
  padding: 0 40px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-dark);
  letter-spacing: 0.05em;
  opacity: 0.65;
  white-space: nowrap;
}
.logo-serif  { font-family: Georgia, serif; letter-spacing: 0.1em; }
.logo-script { font-family: Georgia, serif; font-style: italic; font-weight: 400; }

/* ============================================================
   ONE PLATFORM, THREE WINNERS
   ============================================================ */
.winners-section {
  background: var(--clr-bg);
  padding: var(--space-xl) 0;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.winner-card {
  position: relative;
  overflow: hidden;
  background: radial-gradient(135% 150% at 50% 0%, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.62) 100%);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 
    0 16px 38px -10px rgba(15, 19, 48, 0.08),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px 0 rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease;
}
.winner-card::before {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  pointer-events: none;
}
.winner-card:hover {
  transform: translateY(-5px);
  background: radial-gradient(135% 150% at 50% 0%, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.75) 100%);
  box-shadow: 
    0 24px 52px -10px rgba(15, 19, 48, 0.13),
    inset 0 2px 2px rgba(255, 255, 255, 1);
}

.winner-card-highlight {
  border-color: rgba(75, 63, 209, 0.38);
  box-shadow: 
    0 20px 48px -8px rgba(75, 63, 209, 0.16),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.95);
  background: radial-gradient(135% 150% at 50% 0%, rgba(255, 255, 255, 0.92) 0%, rgba(243, 241, 255, 0.72) 100%);
}

.wcard-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.badge-merchants   { background: var(--clr-green-soft); color: var(--clr-green); }
.badge-banks       { background: var(--clr-blue-soft);  color: var(--clr-blue); }
.badge-cardholders { background: var(--clr-brand-soft); color: var(--clr-brand); }

.wcard-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--clr-dark);
  line-height: 1.25;
  margin-bottom: 12px;
}

.wcard-text {
  font-size: 0.9375rem;
  color: #4b526d;
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}

.wcard-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(15, 19, 48, 0.06);
  padding-top: 20px;
}
.wcard-bullets li {
  font-size: 0.875rem;
  font-weight: 500;
  color: #2e3552;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wcheck {
  color: var(--clr-green);
  font-weight: 800;
}

/* ============================================================
   HOW OPTI WORKS (4-STEP WORKFLOW)
   ============================================================ */
.how-section {
  background: var(--clr-bg);
  padding: var(--space-xl) 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: radial-gradient(135% 150% at 50% 0%, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.62) 100%);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border-radius: var(--radius-lg);
  padding: 30px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 
    0 14px 34px -8px rgba(15, 19, 48, 0.07),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  background: radial-gradient(135% 150% at 50% 0%, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.75) 100%);
  box-shadow: 
    0 20px 46px -10px rgba(15, 19, 48, 0.12),
    inset 0 2px 2px rgba(255, 255, 255, 1);
}

.step-indicator {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.ind-step1 { background: var(--clr-green); }
.ind-step2 { background: var(--clr-brand); }
.ind-step3 { background: var(--clr-blue); }
.ind-step4 { background: var(--clr-gold); }

.step-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.step-green { color: var(--clr-green); }
.step-brand { color: var(--clr-brand); }
.step-blue  { color: var(--clr-blue); }
.step-gold  { color: var(--clr-gold); }

.step-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--clr-dark);
  line-height: 1.3;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.875rem;
  color: #586080;
  line-height: 1.6;
}

/* ============================================================
   PLATFORM ARCHITECTURE & PILLARS
   ============================================================ */
.platform-section {
  background: var(--clr-bg);
  padding: var(--space-xl) 0;
}

.platform-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.feature-heading {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--clr-dark);
  margin-bottom: 20px;
}

.feature-desc {
  font-size: 1.0625rem;
  color: #4b526d;
  line-height: 1.7;
  margin-bottom: 30px;
}

.security-callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(75, 63, 209, 0.06);
  border: 1px solid rgba(75, 63, 209, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 32px;
}

.sec-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(75, 63, 209, 0.12);
}

.sec-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--clr-brand);
  margin-bottom: 4px;
}

.sec-text {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.5;
}

.platform-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.platform-checklist-card {
  position: relative;
  overflow: hidden;
  background: radial-gradient(135% 150% at 50% 0%, rgba(255, 255, 255, 0.90) 0%, rgba(255, 255, 255, 0.65) 100%);
  backdrop-filter: blur(28px) saturate(185%);
  -webkit-backdrop-filter: blur(28px) saturate(185%);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 22px 50px -12px rgba(15, 24, 60, 0.09),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.95);
}
.platform-checklist-card::before {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  pointer-events: none;
}

.checklist-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--clr-dark);
  margin-bottom: 24px;
}

.ticks-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ticks-list li {
  position: relative;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ticks-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--clr-brand);
  border-bottom: 2.5px solid var(--clr-brand);
  transform: rotate(-45deg);
}

.ticks-list li strong {
  font-size: 0.9375rem;
  color: var(--clr-dark);
}

.ticks-list li span {
  font-size: 0.8125rem;
  color: #586080;
}

/* ============================================================
   MATCHING ENGINE FEATURE GRID
   ============================================================ */
.feature-section {
  background: var(--clr-bg);
  padding: var(--space-xl) 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-bg {
  border-radius: var(--radius-xl);
  padding: 36px 36px 0 36px;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
}
.feature-bg-blue { background: var(--clr-bg-blue); }

.feature-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 36px;
}

.ftag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  background: rgba(255, 255, 255, 0.75);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Matching UI Table inside Blue Feature BG */
.ui-table-card {
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 16px 40px rgba(15, 19, 48, 0.12);
  padding: 24px;
}

.ui-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.ui-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--clr-dark);
}

.ui-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ui-table-search {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #94a3b8;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
}

.ui-filter-btn {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--clr-brand);
  background: var(--clr-brand-soft);
  border: 1px solid var(--clr-brand-border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}

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

.ui-tr {
  display: grid;
  grid-template-columns: 2fr 1.1fr 1.3fr 1fr;
  align-items: center;
  font-size: 0.8125rem;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
}
.ui-tr-hd {
  background: transparent;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 4px;
}

.proj-indicator {
  display: inline-block;
  width: 3px;
  height: 12px;
  border-radius: 2px;
  margin-right: 8px;
}
.ind-high { background: var(--clr-green); }
.ind-med  { background: var(--clr-amber); }

.tag-pill {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.tag-green  { background: var(--clr-green-soft); color: var(--clr-green); }
.tag-orange { background: var(--clr-amber-soft); color: var(--clr-amber); }

.card-chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  background: #e2e8f0;
  padding: 2px 7px;
  border-radius: 4px;
}

.status-approved {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--clr-green);
}
.status-pending {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--clr-amber);
}

/* ============================================================
   CHANNEL DELIVERY SHOWCASE
   ============================================================ */
.showcase-section {
  background: var(--clr-bg);
  padding: var(--space-xl) 0 40px;
  text-align: center;
}

.showcase-img-wrap {
  position: relative;
  margin: 0 auto;
  max-width: 1080px;
  padding: 0 32px;
  margin-bottom: 24px;
}

.showcase-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  max-height: 560px;
}

.showcase-tabs {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-full);
  padding: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.showcase-tab {
  padding: 9px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  color: rgba(0, 0, 0, 0.7);
  transition: all var(--t-micro) var(--ease-smooth);
}
.showcase-tab.active {
  background: var(--clr-dark);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.showcase-tab:not(.active):hover { color: #000; }

/* ============================================================
   CONTACT & PARTNERSHIPS SECTION (LET'S TALK)
   ============================================================ */
.contact-section {
  background: var(--clr-bg);
  padding: 20px 0 90px;
  position: relative;
}

.contact-box {
  max-width: 920px;
  margin: 0 auto;
  background: radial-gradient(135% 150% at 50% 0%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.72) 100%);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 28px 70px -15px rgba(15, 24, 60, 0.08),
    0 4px 16px rgba(15, 24, 60, 0.02),
    inset 0 1.5px 2px rgba(255, 255, 255, 1);
  padding: 56px 44px;
  text-align: center;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.contact-box:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 36px 85px -15px rgba(15, 24, 60, 0.12),
    0 6px 20px rgba(15, 24, 60, 0.03),
    inset 0 2px 2px rgba(255, 255, 255, 1);
}

.contact-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.contact-title {
  font-size: clamp(2.4rem, 4.5vw, 3.25rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  color: var(--clr-dark);
  line-height: 1.15;
  margin: 0 auto 16px;
}

.contact-desc {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: #4b526d;
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.68;
}

.contact-action-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 1.0625rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 28px -6px rgba(75, 63, 209, 0.42);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-email-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -4px rgba(75, 63, 209, 0.55);
}

.contact-meta-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 19, 48, 0.08);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(12px);
}

.contact-meta-pill svg {
  color: var(--clr-brand);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .contact-box {
    padding: 38px 20px;
  }
  .contact-meta-pills {
    flex-direction: column;
    gap: 8px;
  }
  .contact-meta-pill {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   FINAL CTA & OBLIQ-STYLE FLOATING WHITE FOOTER CARD
   ============================================================ */
.footer-wrapper-section {
  position: relative;
  background: linear-gradient(180deg, #edf4fd 0%, #d8e8fc 50%, #e2effd 100%);
  padding: 110px 0 60px;
  overflow: hidden;
}

.footer-bg-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
}

.footer-cloud {
  position: absolute;
  top: 15%;
  width: 360px;
  pointer-events: none;
  z-index: 1;
}
.footer-cloud-left { left: -60px; }
.footer-cloud-right { right: -60px; }

.footer-cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto 56px;
}

.footer-cta-headline {
  font-size: clamp(2.25rem, 4.8vw, 3.25rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  color: #0b112c;
  line-height: 1.15;
  margin-bottom: 14px;
}

.footer-cta-sub {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: #4b526d;
  line-height: 1.6;
  margin-bottom: 32px;
}

.footer-main-cta {
  background: #111111 !important;
  color: #ffffff !important;
  padding: 13px 30px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}
.footer-main-cta:hover {
  background: #252525 !important;
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* The Floating White Footer Card */
.footer-card-container {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}

.footer-card {
  position: relative;
  overflow: hidden;
  background: radial-gradient(135% 150% at 50% -20%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 55%, rgba(255, 255, 255, 0.52) 100%);
  backdrop-filter: blur(36px) saturate(190%) contrast(104%);
  -webkit-backdrop-filter: blur(36px) saturate(190%) contrast(104%);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 32px 72px -15px rgba(12, 28, 70, 0.12),
    0 10px 25px -5px rgba(12, 28, 70, 0.05),
    inset 0 2px 2px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 2px 0 rgba(255, 255, 255, 0.4);
  padding: 48px 48px 32px;
}

.footer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 6%;
  right: 6%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  pointer-events: none;
}

.footer-card-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
}

.fcard-col-brand {
  display: flex;
  flex-direction: column;
}

.fcard-logo {
  margin-bottom: 4px;
}

.fcard-tagline {
  font-size: 0.9375rem;
  color: #4b526d;
  line-height: 1.55;
  margin: 14px 0 24px;
  max-width: 320px;
}

.fcard-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fcard-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}
.fcard-social-btn:hover {
  background: #000000;
  transform: translateY(-2.5px) scale(1.05);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

.fcard-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #000000;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.fcard-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fcard-links li a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b526d;
  transition: color 0.2s ease;
}
.fcard-links li a:hover {
  color: #000000;
}

.fcard-bottom {
  border-top: 1px solid rgba(15, 19, 48, 0.06);
  padding-top: 24px;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: #64748b;
}

/* ============================================================
   RESPONSIVE DESIGN BREAKPOINTS & MOBILE OPTIMIZATION
   ============================================================ */
@media (max-width: 1080px) {
  .hero-dashboard { max-width: 960px; }
  .dash-sidebar { width: 180px; }
  .dash-stats-row { grid-template-columns: repeat(2, 1fr); }
  .dash-split-row { grid-template-columns: 1fr; }
  .platform-split { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root {
    --container-pad: 20px;
    --space-xl: 56px;
    --space-2xl: 80px;
  }

  /* Liquid Glass Floating Header on Mobile */
  .header {
    top: 12px;
    width: calc(100vw - 28px);
    max-width: 480px;
  }
  .nav {
    width: 100%;
    justify-content: space-between;
    padding: 7px 10px 7px 16px;
    gap: 12px;
  }
  .nav-cta { display: none; }
  .desktop-only { display: none; }

  /* Mobile Full-Screen Liquid Glass Drawer */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background: radial-gradient(120% 120% at 50% 10%, rgba(255, 255, 255, 0.94) 0%, rgba(240, 243, 250, 0.98) 100%);
    backdrop-filter: blur(32px) saturate(190%);
    -webkit-backdrop-filter: blur(32px) saturate(190%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 90px 24px 40px;
    z-index: 105;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.35s;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-link {
    font-size: 1.1875rem;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: var(--radius-full);
    width: 100%;
    max-width: 320px;
    text-align: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 19, 48, 0.08);
    box-shadow: 0 4px 14px rgba(15, 19, 48, 0.04);
  }
  .nav-link:hover, .nav-link:active {
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    border-color: rgba(15, 19, 48, 0.2);
  }
  .mobile-nav-cta-item {
    display: block;
    width: 100%;
    max-width: 320px;
    margin-top: 10px;
  }
  .mobile-nav-cta-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 1.0625rem;
    background: #111111 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  }

  .hamburger {
    display: flex;
    z-index: 110;
  }

  /* Hero Section Spacing on Mobile */
  .hero {
    padding-top: 96px;
    min-height: auto;
  }
  .hero-content {
    padding-top: 32px;
  }
  .hero-headline {
    font-size: clamp(2.15rem, 7.5vw, 3.25rem);
    line-height: 1.15;
  }
  .hero-sub {
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 32px;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    gap: 12px;
  }
  .hero-ctas .btn {
    width: 100%;
  }

  /* Cloud SVGs responsive */
  .hero-cloud {
    opacity: 0.55;
    pointer-events: none;
  }

  /* Dashboard Mobile Adjustments */
  .hero-dashboard {
    margin-top: 40px;
    padding-inline: 12px;
  }
  .dashboard-window {
    border-radius: 20px;
  }
  .dash-sidebar { display: none; }
  .dash-main { padding: 18px 16px; }
  .dash-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .dash-top-tools {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }
  .dash-search-box {
    flex: 1;
    min-width: 140px;
  }
  .dash-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .stat-num {
    font-size: 1.5rem;
  }

  /* Chart Canvas responsive scrolling */
  .chart-canvas-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
  .chart-bars {
    min-width: 440px;
  }

  /* Grids & Cards */
  .grid3 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; gap: 36px; }
  .platform-checklist-card { padding: 28px 20px; }

  /* Footer Card Mobile */
  .footer-wrapper-section { padding: 80px 0 40px; }
  .footer-cloud { opacity: 0.55; }
  .footer-card { padding: 36px 24px 28px; border-radius: 24px; }
  .footer-card-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .fcard-col-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  :root {
    --container-pad: 16px;
  }

  .header {
    width: calc(100vw - 20px);
    top: 10px;
  }
  .nav {
    padding: 6px 8px 6px 14px;
  }
  .logo-text {
    font-size: 1.125rem;
  }

  .hero-headline {
    font-size: 1.95rem;
    letter-spacing: -0.03em;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .section-subtitle {
    margin-bottom: 32px;
  }

  .dash-stats-row {
    grid-template-columns: 1fr;
  }

  .ui-table-card {
    padding: 16px 12px;
  }
  .ui-tr {
    grid-template-columns: 1.4fr 1fr 1fr;
    font-size: 0.8125rem;
    gap: 8px;
  }
  .col-assign { display: none; }

  .footer-card {
    padding: 28px 18px 24px;
    border-radius: 20px;
  }
  .footer-card-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .fcard-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* ============================================================
   HERO MOCKUP IMAGE SHOWCASE (REPLACING CODED DOM DASHBOARD)
   ============================================================ */
.hero-mockup-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.hero-mockup-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 
    0 32px 84px -16px rgba(15, 24, 60, 0.16),
    0 10px 30px -8px rgba(15, 24, 60, 0.08),
    inset 0 1.5px 2px rgba(255, 255, 255, 1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hero-mockup-frame:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 40px 100px -16px rgba(15, 24, 60, 0.22),
    0 14px 40px -6px rgba(15, 24, 60, 0.12);
}

.hero-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ============================================================
   AUTHENTIC BENTO-STYLE GRID UI
   ============================================================ */
.bento-grid {
  display: grid;
  gap: 24px;
}

/* 4-Step Workflow Bento Grid: 12-Column Asymmetric Mosaic */
.workflow-bento-grid {
  grid-template-columns: repeat(12, 1fr);
  align-items: stretch;
}

.bento-span-7 {
  grid-column: span 7;
}

.bento-span-5 {
  grid-column: span 5;
}

.bento-card {
  position: relative;
  overflow: hidden;
  background: radial-gradient(135% 150% at 50% 0%, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.62) 100%);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 16px 40px -10px rgba(15, 24, 60, 0.08),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 1px 0 rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-5px);
  background: radial-gradient(135% 150% at 50% 0%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.76) 100%);
  box-shadow: 
    0 24px 54px -10px rgba(15, 24, 60, 0.13),
    inset 0 2px 2px rgba(255, 255, 255, 1);
}

.bento-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.bento-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 19, 48, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.bento-tag-green { color: #16a34a; background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.25); }
.bento-tag-brand { color: #4f46e5; background: rgba(79, 70, 229, 0.1); border-color: rgba(79, 70, 229, 0.25); }
.bento-tag-blue  { color: #2563eb; background: rgba(37, 99, 235, 0.1); border-color: rgba(37, 99, 235, 0.25); }
.bento-tag-gold  { color: #d97706; background: rgba(217, 119, 6, 0.1); border-color: rgba(217, 119, 6, 0.25); }

.bento-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #4b526d;
}

.bento-title {
  font-size: 1.375rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  color: var(--clr-dark);
  line-height: 1.25;
  margin-bottom: 12px;
}

.bento-desc {
  font-size: 0.9375rem;
  color: #4b526d;
  line-height: 1.65;
  margin-bottom: 24px;
}

/* Pulse indicator */
.pulse-dot-green {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
  animation: pulseDot 2s infinite;
  margin-right: 6px;
  vertical-align: 1px;
}

@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.6); }
  70%  { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* Bento Embedded UI Widgets Container */
.bento-widget {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-top: auto;
  box-shadow: 0 6px 18px rgba(15, 24, 60, 0.04);
  backdrop-filter: blur(14px);
}

.bento-widget-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bento-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  background: #ffffff;
  color: #1e293b;
  border: 1px solid rgba(15, 19, 48, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.bento-chip svg {
  color: var(--clr-brand);
  flex-shrink: 0;
}

/* Three Winners Grid: 3-Column Layout */
.winners-bento-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 24px;
}

.wcard-bento-hero {
  border-color: rgba(75, 63, 209, 0.38);
  box-shadow: 
    0 22px 52px -10px rgba(75, 63, 209, 0.16),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.95);
  background: radial-gradient(135% 150% at 50% 0%, rgba(255, 255, 255, 0.94) 0%, rgba(243, 241, 255, 0.72) 100%);
}

.wcard-bento-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(15, 19, 48, 0.06);
  padding-top: 14px;
}

.wcard-bento-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #2e3552;
}

.wcard-bento-bullets li svg {
  color: #16a34a;
  flex-shrink: 0;
}

/* ============================================================
   MINIMAL, SLEEK & PREMIUM BENTO FOOTER ELEMENTS
   ============================================================ */
.sleek-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 19, 48, 0.06);
}

.sleek-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 19, 48, 0.07);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.sleek-tag svg {
  color: var(--clr-brand);
  flex-shrink: 0;
}

.sleek-tag:hover {
  background: #ffffff;
  border-color: rgba(75, 63, 209, 0.2);
  transform: translateY(-1px);
}

.sleek-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 19, 48, 0.06);
}

.sleek-stat-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.sstat-val {
  font-size: 1.85rem;
  font-weight: 850;
  color: var(--clr-dark);
  letter-spacing: -0.03em;
  line-height: 1;
}

.sstat-lbl {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #16a34a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(22, 163, 74, 0.08);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.sleek-stat-desc {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.5;
  max-width: 320px;
}

@media (max-width: 640px) {
  .sleek-stat-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ============================================================
   LEGAL PAGES SYSTEM (PRIVACY, COOKIES, TERMS OF SERVICE)
   ============================================================ */
.legal-wrapper-section {
  position: relative;
  background: linear-gradient(180deg, #edf4fd 0%, #f6f9fe 25%, #ffffff 100%);
  padding: 130px 0 90px;
  min-height: 100vh;
}

.legal-header {
  max-width: 820px;
  margin: 0 auto 50px;
  text-align: center;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(75, 63, 209, 0.08);
  color: var(--clr-brand);
  border: 1px solid rgba(75, 63, 209, 0.2);
  margin-bottom: 16px;
}

.legal-page-title {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  color: #0b112c;
  line-height: 1.15;
  margin-bottom: 16px;
}

.legal-page-meta {
  font-size: 0.9375rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  max-width: 1120px;
  margin: 0 auto;
}

.legal-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.legal-toc-card {
  background: radial-gradient(135% 150% at 50% 0%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.7) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 20px;
  padding: 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px -8px rgba(15, 24, 60, 0.06);
}

.legal-toc-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 14px;
}

.legal-toc-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-toc-links a {
  font-size: 0.8125rem;
  color: #4b526d;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
  line-height: 1.35;
}

.legal-toc-links a:hover,
.legal-toc-links a.active {
  color: var(--clr-brand);
  background: rgba(75, 63, 209, 0.08);
  font-weight: 600;
}

.legal-card {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(15, 19, 48, 0.07);
  box-shadow: 
    0 24px 60px -15px rgba(15, 24, 60, 0.08),
    0 2px 6px rgba(15, 24, 60, 0.02);
  padding: 48px 56px;
  line-height: 1.75;
  color: #334155;
}

.legal-section {
  margin-bottom: 44px;
  scroll-margin-top: 110px;
}

.legal-section h2 {
  font-size: 1.375rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  color: #0b112c;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section h3 {
  font-size: 1.0625rem;
  font-weight: 750;
  color: #1e293b;
  margin: 20px 0 10px;
}

.legal-section p {
  margin-bottom: 14px;
  font-size: 0.9375rem;
}

.legal-section ul {
  margin: 12px 0 16px 20px;
  list-style-type: disc;
}

.legal-section ul li {
  margin-bottom: 8px;
  font-size: 0.9375rem;
}

.legal-callout {
  background: rgba(75, 63, 209, 0.05);
  border-left: 3.5px solid var(--clr-brand);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.875rem;
  color: #1e293b;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.875rem;
}

.legal-table th, .legal-table td {
  padding: 12px 14px;
  border: 1px solid rgba(15, 19, 48, 0.08);
  text-align: left;
}

.legal-table th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
}

/* Responsive updates for Bento & Mobile Grid Manageability */
@media (max-width: 960px) {
  .workflow-bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bento-span-7, .bento-span-5 {
    grid-column: span 1;
  }
  .winners-bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bento-card {
    padding: 24px 20px;
    border-radius: 20px;
  }
  .bento-title {
    font-size: 1.1875rem;
    margin-bottom: 8px;
    line-height: 1.3;
  }
  .bento-desc {
    font-size: 0.875rem;
    line-height: 1.55;
    margin-bottom: 16px;
  }
  .bento-badge-row {
    margin-bottom: 14px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-sidebar {
    display: none;
  }
  .legal-card {
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  .winners-section,
  .how-section {
    padding: 40px 0;
  }
  .winners-bento-grid,
  .workflow-bento-grid {
    gap: 12px;
  }
  .bento-card {
    padding: 18px 16px;
    border-radius: 16px;
  }
  .bento-badge-row {
    margin-bottom: 10px;
    gap: 6px;
  }
  .bento-step-pill {
    padding: 4px 10px;
    font-size: 0.6875rem;
    gap: 5px;
  }
  .bento-step-pill svg {
    width: 12px;
    height: 12px;
  }
  .bento-metric-pill {
    padding: 3px 8px;
    font-size: 0.6875rem;
    gap: 4px;
  }
  .bento-metric-pill svg {
    width: 11px;
    height: 11px;
  }
  .bento-title {
    font-size: 1.0625rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }
  .bento-desc {
    font-size: 0.8125rem;
    line-height: 1.48;
    margin-bottom: 12px;
  }
  .wcard-bento-bullets {
    padding-top: 10px;
    gap: 6px;
  }
  .wcard-bento-bullets li {
    font-size: 0.75rem;
    gap: 7px;
  }
  .wcard-bento-bullets li svg {
    width: 13px;
    height: 13px;
  }
  .sleek-card-footer {
    padding-top: 12px;
    gap: 5px;
  }
  .sleek-tag {
    font-size: 0.65625rem;
    padding: 4px 9px;
    gap: 5px;
  }
  .sleek-tag svg {
    width: 11px;
    height: 11px;
  }
  .sleek-stat-row {
    padding-top: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .sleek-stat-block {
    gap: 8px;
  }
  .sstat-val {
    font-size: 1.375rem;
  }
  .sstat-lbl {
    font-size: 0.59375rem;
    padding: 2px 6px;
  }
  .sleek-stat-desc {
    font-size: 0.71875rem;
    line-height: 1.4;
  }
}

