/* ==========================================================================
   BritishNoble.com - The Operating System for Publishing (v4.0)
   Enterprise Design, Typography & Motion System
   Engineered for iPhone 14-18 Pro / Pro Max, iPad, Surface Pro 10 & 4K Desktop.
   ========================================================================== */

:root {
  /* Core Brand Palette */
  --bn-border-strong: rgba(30, 32, 34, 0.16);
  --bn-shadow-sm: 0 4px 16px rgba(30, 32, 34, 0.06);
  --bn-accent-lime: #eeff6d;
  --bn-accent-lime-hover: #e2fa3e;
  --bn-accent-lime-soft: #f5ff9e;
  --bn-maroon: #3d0c20;
  --bn-maroon-deep: #290715;
  --bn-maroon-mid: #561430;
  --bn-midnight: #1e2022;
  --bn-midnight-hover: #2f3337;
  --bn-footer-blue: #D6E8FF;
  --bn-footer-blue-deep: #b8d5fb;

  /* Warm Canvas & Surface Neutrals */
  --bn-bg-linen: #efece4;
  --bn-bg-base: #f5f2eb;
  --bn-bg-parchment: #faf8f5;
  --bn-bg-ivory: #fcfbf7;
  --bn-bg-card: #ffffff;
  --bn-bg-stone-pill: #e7e4db;
  --bn-bg-stone-bar: #e3dfd5;

  /* Suite & Feature Pastel Surfaces */
  --bn-surface-ice: #d6e8ff;
  --bn-surface-ice-soft: #e7f1ff;
  --bn-surface-orchid: #f4e8f3;
  --bn-surface-lavender: #f2ecf9;
  --bn-surface-sage: #e6f4ea;
  --bn-surface-peach: #fdf0e6;
  --bn-badge-blue: #9ec5fe;
  --bn-badge-pink: #f379df;

  /* Typography Colors */
  --bn-text-primary: #1e2022;
  --bn-text-secondary: #484e56;
  --bn-text-muted: #6c737f;

  /* Hairlines & Elevation */
  --bn-border: #e1ddd2;
  --bn-border-subtle: rgba(30, 32, 34, 0.08);
  --bn-shadow-pill: 0 8px 28px rgba(30, 32, 34, 0.07), 0 1px 2px rgba(30, 32, 34, 0.04);
  --bn-shadow-mega: 0 26px 54px -12px rgba(30, 32, 34, 0.16), 0 0 1px rgba(30, 32, 34, 0.12);
  --bn-shadow-card: 0 16px 38px -12px rgba(30, 32, 34, 0.09);
  --bn-shadow-float: 0 20px 44px -12px rgba(30, 32, 34, 0.18);

  /* Typography */
  --bn-font-display: 'DM Serif Display', Georgia, serif;
  --bn-font-editorial: 'Newsreader', Georgia, serif;
  --bn-font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --bn-container: 1280px;
  --bn-header-max: 1360px;
  --bn-prose-max: 840px;
  --bn-radius-pill: 9999px;
  --bn-radius-xl: 24px;
  --bn-radius-lg: 20px;
  --bn-radius-md: 14px;
  --bn-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bn-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & iOS WebKit Sticky-Safe Overflow */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body {
  font-family: var(--bn-font-sans);
  color: var(--bn-text-primary);
  background-color: var(--bn-bg-parchment);
  line-height: 1.62;
  overflow-x: clip;
}

[id] {
  scroll-margin-top: 118px;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--bn-ease), opacity 0.2s var(--bn-ease);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--bn-midnight);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--bn-radius-pill);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Containers */
.container {
  width: 100%;
  max-width: var(--bn-container);
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow {
  width: 100%;
  max-width: var(--bn-prose-max);
  margin: 0 auto;
  padding: 0 28px;
}

/* Typography Hierarchy */
.display-xl {
  font-family: var(--bn-font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.3vw, 4.65rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--bn-text-primary);
}

.display-lg {
  font-family: var(--bn-font-display);
  font-weight: 400;
  font-size: clamp(2.05rem, 4.3vw, 3.7rem);
  line-height: 1.07;
  letter-spacing: -0.022em;
}

.heading-lg {
  font-family: var(--bn-font-editorial);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.1vw, 2.85rem);
  line-height: 1.14;
  letter-spacing: -0.018em;
}

.heading-md {
  font-family: var(--bn-font-editorial);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  line-height: 1.22;
  letter-spacing: -0.012em;
}

.heading-sm {
  font-family: var(--bn-font-editorial);
  font-weight: 500;
  font-size: 1.32rem;
  line-height: 1.28;
}

.serif-tagline {
  font-family: var(--bn-font-editorial);
  font-weight: 400;
  font-size: clamp(1.12rem, 1.55vw, 1.42rem);
  line-height: 1.38;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--bn-text-secondary);
  margin-bottom: 14px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--bn-radius-pill);
  background: var(--bn-bg-card);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--bn-text-primary);
  box-shadow: 0 2px 8px rgba(30, 32, 34, 0.05);
}

.lead {
  font-size: clamp(1rem, 1.3vw, 1.175rem);
  line-height: 1.6;
  color: var(--bn-text-secondary);
}

/* ==========================================================================
   SCROLL & ENTRANCE MOTION SYSTEM (Jeton / Speedy / Wix Studio Inspired)
   ========================================================================== */
[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s var(--bn-ease), transform 0.65s var(--bn-ease);
}

.js-motion-ready [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}

.section-flash-highlight {
  animation: targetPulse 1.6s var(--bn-ease);
}

@keyframes targetPulse {
  0% { box-shadow: 0 0 0 0 rgba(238, 255, 109, 0.95); transform: scale(1.01); }
  50% { box-shadow: 0 0 0 10px rgba(238, 255, 109, 0.55); }
  100% { box-shadow: 0 0 0 0 rgba(238, 255, 109, 0); transform: scale(1); }
}

/* ==========================================================================
   1. ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
  position: relative;
  z-index: 1002;
  width: 100%;
  padding: 10px 44px 10px 20px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.4;
  background-color: var(--bn-accent-lime);
  color: var(--bn-midnight);
}

.announcement-bar.is-dark {
  background-color: var(--bn-maroon);
  color: #ffffff;
}

.announcement-bar.is-hidden { display: none; }

.announcement-inner {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
}

.announcement-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  white-space: nowrap;
}

.announcement-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 50%;
  opacity: 0.8;
}

/* ==========================================================================
   2. FLOATING PILL HEADER & MEGA MENUS
   ========================================================================== */
.site-header-wrap {
  position: sticky;
  top: 10px;
  z-index: 1000;
  padding: 10px 18px 0;
  pointer-events: none;
}

.site-header {
  pointer-events: auto;
  max-width: var(--bn-header-max);
  margin: 0 auto;
  height: 72px;
  padding: 0 14px 0 26px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(30, 32, 34, 0.09);
  border-radius: var(--bn-radius-pill);
  box-shadow: var(--bn-shadow-pill);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  transition: background 0.25s var(--bn-ease), box-shadow 0.25s var(--bn-ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 32px rgba(30, 32, 34, 0.1);
}

.nav-left { display: flex; align-items: center; gap: 4px; }
.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
}

.brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-item { position: static; }
.nav-item-rel { position: relative; }

.nav-trigger,
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  border-radius: var(--bn-radius-pill);
  border: none;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--bn-text-primary);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease;
}

.nav-trigger:hover,
.nav-link:hover,
.nav-item.is-open > .nav-trigger {
  background: rgba(30, 32, 34, 0.06);
}

.nav-chevron {
  width: 13px;
  height: 13px;
  transition: transform 0.2s var(--bn-ease);
}

.nav-item.is-open .nav-chevron { transform: rotate(180deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--bn-radius-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.15;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.2s var(--bn-ease), background 0.2s var(--bn-ease), color 0.2s var(--bn-ease), box-shadow 0.2s var(--bn-ease);
}

.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 0.86rem; }
.btn-lg { padding: 15px 28px; font-size: 0.96rem; }

.btn-primary {
  background: var(--bn-midnight);
  color: #ffffff;
  border-color: var(--bn-midnight);
}
.btn-primary:hover {
  background: var(--bn-midnight-hover);
  box-shadow: 0 10px 22px rgba(30, 32, 34, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--bn-midnight);
  border-color: var(--bn-midnight);
}
.btn-outline:hover {
  background: var(--bn-midnight);
  color: #ffffff;
}

.btn-lime {
  background: var(--bn-accent-lime);
  color: var(--bn-midnight);
  border-color: var(--bn-accent-lime);
  font-weight: 600;
}
.btn-lime:hover {
  background: var(--bn-accent-lime-hover);
  box-shadow: 0 10px 26px rgba(238, 255, 109, 0.3);
}

.btn-outline-lime {
  background: transparent;
  color: var(--bn-accent-lime);
  border-color: rgba(238, 255, 109, 0.72);
}
.btn-outline-lime:hover {
  background: var(--bn-accent-lime);
  color: var(--bn-midnight);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Mega Menus */
.mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 12px;
  right: 12px;
  background: var(--bn-bg-ivory);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-lg);
  box-shadow: var(--bn-shadow-mega);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s var(--bn-ease), transform 0.2s var(--bn-ease), visibility 0.2s;
  overflow: hidden;
  z-index: 1005;
}

.nav-item.is-open:not(.force-closed) .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 295px;
  gap: 26px;
  padding: 30px 32px 26px;
}

.mega-body.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mega-body.cols-solutions { grid-template-columns: 1.1fr 1.1fr 310px; }

.mega-group { margin-bottom: 22px; }
.mega-group:last-child { margin-bottom: 0; }

.mega-group-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--bn-font-editorial);
  font-size: 1.14rem;
  font-weight: 600;
  color: var(--bn-text-primary);
  margin-bottom: 10px;
}
.mega-group-title:hover { color: var(--bn-maroon); }

.mega-group-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--bn-bg-stone-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}

.mega-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bn-text-muted);
  margin-bottom: 14px;
}

.mega-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 31px;
}
.mega-links.no-indent { padding-left: 0; }

.mega-links a {
  font-size: 0.89rem;
  color: var(--bn-text-secondary);
  line-height: 1.35;
  padding: 2px 0;
}
.mega-links a:hover {
  color: var(--bn-midnight);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mega-feature-card {
  background: var(--bn-surface-ice);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mega-feature-card.is-lavender { background: var(--bn-surface-lavender); }

.mega-feature-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.mega-feature-top h4 {
  font-family: var(--bn-font-editorial);
  font-size: 1.35rem;
  font-weight: 500;
}
.mega-feature-emblem { height: 38px; width: auto; }
.mega-feature-card p {
  font-size: 0.86rem;
  color: var(--bn-text-secondary);
  line-height: 1.52;
  margin-bottom: 16px;
}

.mega-footer-bar {
  background: var(--bn-bg-stone-bar);
  padding: 13px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.86rem;
}
.mega-footer-bar a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.mega-footer-right { display: flex; flex-wrap: wrap; gap: 22px; }

.login-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 235px;
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--bn-shadow-mega);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s var(--bn-ease);
  z-index: 1006;
}
.nav-item-rel.is-open:not(.force-closed) .login-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.login-dropdown a {
  display: block;
  padding: 10px 10px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 10px;
}
.login-dropdown a:hover { background: var(--bn-bg-base); }

/* Mobile Header Actions & Full-Screen iOS Drawer */
.mobile-header-actions {
  display: none;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.mobile-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(30, 32, 34, 0.1);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bn-bg-ivory);
  z-index: 2000;
  padding: 20px 22px 36px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.is-open { display: block; }

.mobile-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--bn-border);
}

.mobile-drawer-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--bn-border);
  background: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-acc-item { border-bottom: 1px solid var(--bn-border); }

.mobile-acc-btn {
  width: 100%;
  min-height: 54px;
  padding: 14px 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
}

.mobile-acc-panel {
  display: none;
  padding: 0 0 18px 12px;
}
.mobile-acc-item.is-open .mobile-acc-panel {
  display: grid;
  gap: 11px;
}
.mobile-acc-panel a {
  font-size: 0.96rem;
  color: var(--bn-text-secondary);
  padding: 5px 0;
}

.mobile-drawer-ctas {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

@media (max-width: 1340px) and (min-width: 1061px) {
  .site-header { padding: 0 10px 0 16px; }
  .nav-trigger, .nav-link { padding: 7px 8px; font-size: 0.82rem; gap: 3px; }
  .brand-logo img { height: 35px; }
  .nav-right { gap: 4px; }
  .nav-right .btn-sm { padding: 8px 12px; font-size: 0.79rem; }
  .mega-body { grid-template-columns: repeat(3, 1fr) 245px; gap: 18px; padding: 24px; }
}

@media (max-width: 1060px) {
  .site-header-wrap { top: 6px; padding: 8px 12px 0; }
  .site-header {
    grid-template-columns: auto 1fr;
    height: 62px;
    padding: 0 10px 0 16px;
  }
  .nav-left, .nav-right { display: none; }
  .brand-logo { padding: 0; justify-self: start; }
  .brand-logo img { height: 34px; }
  .mobile-header-actions { display: inline-flex; }
}

/* ==========================================================================
   3. ANIMATED BRITISH NOBLE MASCOT STAGE (Desktop, iPad & Mobile on Load!)
   ========================================================================== */
.noble-mascot-stage {
  position: relative;
  width: 118px;
  height: 98px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  perspective: 600px;
}

.mascot-aura {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 109, 0.92) 0%, rgba(238, 255, 109, 0.55) 55%, rgba(238, 255, 109, 0) 76%);
  animation: mascotAuraPulse 3.6s ease-in-out infinite;
  z-index: 1;
}

.mascot-orbit-svg {
  position: absolute;
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  z-index: 2;
  animation: mascotOrbitSpin 18s linear infinite;
  pointer-events: none;
}

.mascot-lion-wrap {
  position: relative;
  z-index: 3;
  padding: 6px;
  animation: mascotRegalEntrance 1.15s var(--bn-spring) both, mascotFloatIdle 4.2s ease-in-out 1.15s infinite;
  transition: transform 0.25s var(--bn-spring);
}

.noble-mascot-stage:hover .mascot-lion-wrap,
.noble-mascot-stage.is-roaring .mascot-lion-wrap {
  transform: scale(1.12) translateY(-4px) rotate(-2deg);
}

.mascot-lion-img {
  height: 68px;
  width: auto;
  filter: drop-shadow(0 8px 16px rgba(30, 32, 34, 0.18));
}

/* Shimmering Metallic Facet Light Sweep masked strictly to the Lion Crest silhouette */
.mascot-lion-wrap::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, 0.34) 50%, transparent 58%);
  background-size: 240% 100%;
  background-repeat: no-repeat;
  -webkit-mask-image: url('../images/lion-emblem-dark.png');
  mask-image: url('../images/lion-emblem-dark.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  animation: facetGleam 4.5s ease-in-out 0.8s infinite;
  pointer-events: none;
}

.mascot-spark {
  position: absolute;
  z-index: 4;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bn-midnight);
  color: var(--bn-accent-lime);
  white-space: nowrap;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.3s var(--bn-spring);
  pointer-events: none;
}

.noble-mascot-stage:hover .mascot-spark,
.noble-mascot-stage.is-roaring .mascot-spark {
  opacity: 1;
  transform: scale(1) translateY(-6px);
}

.mascot-spark.sp-left { left: -68px; top: 8px; }
.mascot-spark.sp-right { right: -78px; bottom: 10px; background: var(--bn-maroon); color: #fff; }

@keyframes mascotRegalEntrance {
  0% { opacity: 0; transform: translate3d(-38px, -36px, 0) scale(0.68) rotate(-10deg); }
  65% { opacity: 1; transform: translate3d(4px, 3px, 0) scale(1.06) rotate(2deg); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
}

@keyframes mascotFloatIdle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(1.2deg); }
}

@keyframes mascotAuraPulse {
  0%, 100% { transform: scale(0.94); opacity: 0.75; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes mascotOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes facetGleam {
  0%, 58% { background-position: 145% 0; }
  100% { background-position: -45% 0; }
}

/* ==========================================================================
   4. HERO SECTIONS & INTERACTIVE LIVE AI STREAMING CONSOLE
   ========================================================================== */
.hero-home {
  margin-top: -82px;
  padding: 138px 0 68px;
  background: linear-gradient(180deg, #eeff6d 0%, #f3ff95 46%, #faf8f2 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-segment-pills {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.segment-tag {
  display: inline-block;
  text-align: center;
  line-height: 1.38;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(30, 32, 34, 0.14);
  box-shadow: 0 4px 14px rgba(30, 32, 34, 0.06);
}
.segment-tag strong { font-weight: 700; }

.hero-home h1 {
  font-size: clamp(2.85rem, 6.2vw, 5.35rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
  max-width: 920px;
  margin: 0 auto 20px;
}

.hero-home .lead {
  max-width: 740px;
  margin: 0 auto 18px;
  color: #292d32;
}

.hero-home .serif-tagline {
  margin: 0 auto 28px;
  color: var(--bn-midnight);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
}

/* Hero Interactive Command Stage (Speedy.io / Banky.io Benchmark) */
.hero-command-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  text-align: left;
  align-items: stretch;
}

.live-ai-console {
  background: #ffffff;
  border: 1px solid rgba(30, 32, 34, 0.1);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--bn-shadow-float);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.console-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--bn-border);
}

.console-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}
.console-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bn-border);
}
.console-dots span:nth-child(1) { background: #3d0c20; }
.console-dots span:nth-child(2) { background: #eeff6d; border: 1px solid #1e2022; }
.console-dots span:nth-child(3) { background: #87bfff; }

.console-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.console-mode-btn {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--bn-border);
  background: var(--bn-bg-ivory);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}
.console-mode-btn.is-active {
  background: var(--bn-midnight);
  color: var(--bn-accent-lime);
  border-color: var(--bn-midnight);
}

/* Live Audio Waveform Animation */
.waveform-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bn-bg-linen);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.waveform-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
  flex: 1;
}

.waveform-bars i {
  display: block;
  width: 3px;
  border-radius: 3px;
  background: var(--bn-maroon);
  animation: waveBounce 1.1s ease-in-out infinite;
}
.waveform-bars i:nth-child(odd) { animation-duration: 0.85s; background: var(--bn-midnight); }
.waveform-bars i:nth-child(3n) { animation-duration: 1.35s; }

@keyframes waveBounce {
  0%, 100% { height: 6px; }
  50% { height: 22px; }
}

.console-stream-box {
  background: var(--bn-bg-ivory);
  border: 1px solid var(--bn-border);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 16px;
  min-height: 126px;
}

.console-stream-chapter {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bn-maroon);
  margin-bottom: 6px;
}

.console-stream-text {
  font-family: var(--bn-font-editorial);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--bn-text-primary);
}

.console-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.console-kpi-pill {
  background: var(--bn-bg-linen);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.76rem;
}
.console-kpi-pill strong {
  display: block;
  font-size: 0.95rem;
  color: var(--bn-midnight);
}

.hero-visual-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--bn-shadow-float);
  border: 1px solid rgba(30, 32, 34, 0.1);
  background: var(--bn-maroon);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-visual-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(25, 6, 14, 0) 0%, rgba(25, 6, 14, 0.88) 70%);
  color: #ffffff;
  padding: 56px 24px 24px;
}

.hero-floating-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

/* ==========================================================================
   5. INFINITE DUAL-DIRECTION MARQUEE (Speedy.io / Banky.io Benchmark)
   ========================================================================== */
.marquee-section {
  padding: 36px 0 42px;
  background: var(--bn-bg-parchment);
  border-bottom: 1px solid var(--bn-border);
  overflow: hidden;
}

.marquee-track-wrap {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: marqueeScrollLeft 36s linear infinite;
}

.marquee-track-wrap.reverse {
  margin-top: 12px;
  animation: marqueeScrollRight 40s linear infinite;
}

.marquee-section:hover .marquee-track-wrap {
  animation-play-state: paused;
}

.marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bn-text-primary);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(30, 32, 34, 0.03);
}

.marquee-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bn-accent-lime);
  border: 1px solid var(--bn-midnight);
}

@keyframes marqueeScrollLeft {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes marqueeScrollRight {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* ==========================================================================
   6. STICKY STACKING STORYSCROLL CARDS (Jeton.com / Wix Studio Benchmark)
   ========================================================================== */
.stack-deck {
  display: grid;
  gap: 28px;
  position: relative;
}

.stack-card {
  position: sticky;
  top: 98px;
  border-radius: var(--bn-radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
  border: 1px solid rgba(30, 32, 34, 0.1);
  box-shadow: 0 -10px 36px rgba(30, 32, 34, 0.08);
  transition: transform 0.3s var(--bn-ease);
}

.stack-card:nth-child(1) { top: 96px; background: #ffffff; }
.stack-card:nth-child(2) { top: 114px; background: var(--bn-surface-ice); }
.stack-card:nth-child(3) { top: 132px; background: var(--bn-maroon); color: #ffffff; }
.stack-card:nth-child(4) { top: 150px; background: var(--bn-accent-lime); color: var(--bn-midnight); }

.stack-card-media {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--bn-shadow-card);
}
.stack-card-media img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

/* ==========================================================================
   7. 3D TACTILE LUXURY BOOK COVERS (For Ebooks, Guides, Case Studies & Home)
   ========================================================================== */
.book-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.book-3d-card {
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.28s var(--bn-ease), box-shadow 0.28s var(--bn-ease);
}

.book-3d-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bn-shadow-float);
}

.book-3d-stage {
  perspective: 900px;
  padding: 18px 0 28px;
  display: flex;
  justify-content: center;
  background: var(--bn-bg-linen);
  border-radius: 16px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.book-3d-cover {
  position: relative;
  width: 176px;
  height: 246px;
  border-radius: 3px 10px 10px 3px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotateY(-18deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform 0.4s var(--bn-ease), box-shadow 0.4s var(--bn-ease);
  box-shadow: -12px 16px 28px rgba(30, 32, 34, 0.26), inset 4px 0 8px rgba(255, 255, 255, 0.16);
  color: #ffffff;
  background: linear-gradient(145deg, #1e2022 0%, #101214 100%);
}

.book-3d-card:hover .book-3d-cover {
  transform: rotateY(-6deg) rotateX(2deg) translateY(-4px);
  box-shadow: -8px 22px 34px rgba(30, 32, 34, 0.32);
}

/* Book Spine Crease & Page Block Edge */
.book-3d-cover::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 2px;
  background: rgba(255, 255, 255, 0.18);
}

.book-3d-cover::after {
  content: '';
  position: absolute;
  top: 3px;
  bottom: 3px;
  right: -8px;
  width: 8px;
  background: repeating-linear-gradient(90deg, #f7f4eb 0px, #e5e0d2 2px, #faf8f2 4px);
  border-radius: 0 2px 2px 0;
  box-shadow: 2px 0 6px rgba(0,0,0,0.15);
}

.book-3d-cover.skin-plum {
  background: linear-gradient(145deg, #4f112a 0%, #2b0716 100%);
  border-left: 6px solid var(--bn-accent-lime);
}

.book-3d-cover.skin-linen {
  background: linear-gradient(145deg, #f7f4ec 0%, #e7e2d4 100%);
  color: var(--bn-midnight);
  border-left: 7px solid #1e2022;
}

.book-3d-cover.skin-cobalt {
  background: linear-gradient(145deg, #172a46 0%, #0b1628 100%);
  border-left: 6px solid #87bfff;
}

.book-3d-cover.skin-emerald {
  background: linear-gradient(145deg, #133326 0%, #091c14 100%);
  border-left: 6px solid var(--bn-accent-lime);
}

.book-3d-kicker {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
  padding-left: 6px;
}

.book-3d-title {
  font-family: var(--bn-font-display);
  font-size: 1.18rem;
  line-height: 1.08;
  padding-left: 6px;
}

.book-3d-author {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  padding-left: 6px;
  border-top: 1px solid currentColor;
  padding-top: 8px;
}

/* ==========================================================================
   8. PAGE HEROES, SECTIONS, MATRICES, ORBIT, SUITES & ENTERPRISE FAQ
   ========================================================================== */
.page-hero {
  margin-top: -82px;
  padding: 148px 0 84px;
  background: var(--bn-bg-linen);
  position: relative;
}

.page-hero.is-centered { text-align: center; }
.page-hero.is-centered h1, .page-hero.is-centered .lead { margin-left: auto; margin-right: auto; }
.page-hero h1 { max-width: 900px; margin-bottom: 18px; }
.page-hero .lead { max-width: 700px; margin-bottom: 28px; }

.page-hero.theme-ice { background: var(--bn-surface-ice); }
.page-hero.theme-lavender { background: var(--bn-surface-lavender); }
.page-hero.theme-sage { background: var(--bn-surface-sage); }
.page-hero.theme-peach { background: var(--bn-surface-peach); }

.page-hero.theme-maroon { background: var(--bn-maroon); color: #ffffff; }
.page-hero.theme-maroon h1, .page-hero.theme-maroon .eyebrow { color: #ffffff; }
.page-hero.theme-maroon .lead { color: rgba(255, 255, 255, 0.85); }

.page-hero.theme-midnight { background: var(--bn-midnight); color: #ffffff; }
.page-hero.theme-midnight h1, .page-hero.theme-midnight .eyebrow { color: #ffffff; }
.page-hero.theme-midnight .lead { color: rgba(255, 255, 255, 0.84); }

.section { padding: 94px 0; }
.section-sm { padding: 56px 0; }

.bg-parchment { background: var(--bn-bg-parchment); }
.bg-linen { background: var(--bn-bg-linen); }
.bg-ivory { background: var(--bn-bg-ivory); }
.bg-maroon { background: var(--bn-maroon); color: #ffffff; }
.bg-midnight { background: var(--bn-midnight); color: #ffffff; }
.bg-ice { background: var(--bn-surface-ice); }

.section-header {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}
.section-header.is-left { margin-left: 0; text-align: left; }
.section-header h2 { margin-bottom: 14px; }

/* Grids & Bento */
.compare-grid,
.bento-grid-2,
.suite-cards-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

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

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

.compare-card,
.bento-card {
  background: var(--bn-bg-card);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-lg);
  padding: 32px 28px;
  transition: transform 0.24s var(--bn-ease), box-shadow 0.24s var(--bn-ease);
}

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

.compare-card.is-highlight {
  background: var(--bn-maroon);
  color: #ffffff;
  border-color: var(--bn-maroon);
}

.compare-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--bn-radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--bn-bg-stone-pill);
  color: var(--bn-text-secondary);
  margin-bottom: 16px;
}
.compare-card.is-highlight .compare-badge {
  background: var(--bn-accent-lime);
  color: var(--bn-midnight);
}

.compare-list { margin-top: 22px; display: grid; gap: 15px; }
.compare-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; line-height: 1.52; }

.compare-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 2px;
}
.compare-icon.bad { background: #fde8e8; color: #b42318; }
.compare-icon.good { background: var(--bn-accent-lime); color: var(--bn-midnight); }

.bento-card-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--bn-radius-lg);
  padding: 32px 26px;
  color: #ffffff;
}

.bento-stat {
  font-family: var(--bn-font-display);
  font-size: 2.65rem;
  line-height: 1.02;
  margin-bottom: 10px;
  color: var(--bn-accent-lime);
}

.bento-stat-dark {
  font-family: var(--bn-font-display);
  font-size: 2.6rem;
  line-height: 1.02;
  margin-bottom: 10px;
  color: var(--bn-midnight);
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bn-accent-lime);
  color: var(--bn-midnight);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-weight: 700;
}

/* Suite Switcher with Peeking Mascot */
.suite-tabs-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 940px;
  margin: 0 auto 44px;
  padding-top: 26px;
}

.suite-tab-btn {
  position: relative;
  padding: 13px 22px;
  border-radius: 14px;
  border: none;
  background: var(--bn-bg-stone-pill);
  color: var(--bn-text-primary);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.22s var(--bn-ease), transform 0.2s var(--bn-ease);
}
.suite-tab-btn:hover { background: #dcd8cd; }
.suite-tab-btn.is-active { background: var(--bn-accent-lime); font-weight: 600; }

.suite-tab-peeker {
  position: absolute;
  top: -26px;
  left: 20px;
  height: 26px;
  width: auto;
  opacity: 0;
  transform: translateY(10px) scale(0.8);
  transition: opacity 0.28s var(--bn-spring), transform 0.28s var(--bn-spring);
  pointer-events: none;
}
.suite-tab-btn.is-active .suite-tab-peeker {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.suite-showcase-card {
  background: var(--bn-surface-orchid);
  border-radius: var(--bn-radius-xl);
  padding: 34px 34px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.25s var(--bn-ease), transform 0.25s var(--bn-ease), box-shadow 0.25s var(--bn-ease);
}
.suite-showcase-card.is-focused {
  border-color: var(--bn-midnight);
  box-shadow: var(--bn-shadow-card);
  transform: translateY(-4px);
}
.suite-showcase-card.alt-ice { background: var(--bn-surface-ice-soft); }
.suite-showcase-card.alt-sage { background: var(--bn-surface-sage); }
.suite-showcase-card.alt-peach { background: var(--bn-surface-peach); }

.suite-showcase-card h3 {
  font-family: var(--bn-font-editorial);
  font-size: 1.72rem;
  font-weight: 500;
  margin: 16px 0 10px;
}
.suite-showcase-card p {
  color: var(--bn-text-secondary);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.ui-mockup-well {
  margin-top: 24px;
  background: #ffffff;
  border-radius: 16px 16px 0 0;
  padding: 18px 20px 22px;
  border: 1px solid rgba(30, 32, 34, 0.07);
  border-bottom: none;
}
.ui-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.77rem;
  font-weight: 600;
}
.ui-tag { display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: 0.71rem; font-weight: 700; }
.ui-tag.green { background: #15803d; color: #fff; }
.ui-tag.stone { background: var(--bn-bg-stone-pill); color: var(--bn-text-secondary); }
.ui-tag.lime { background: var(--bn-accent-lime); color: var(--bn-midnight); }
.ui-bars { display: grid; gap: 8px; }
.ui-bar { height: 10px; border-radius: 6px; background: var(--bn-bg-linen); }

/* Case Study & Editorial Manifesto Panels */
.case-study-panel {
  background: var(--bn-bg-card);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}
.case-study-content {
  padding: 46px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.case-quote {
  font-family: var(--bn-font-editorial);
  font-size: clamp(1.25rem, 1.9vw, 1.68rem);
  line-height: 1.4;
  margin: 18px 0 24px;
}
.case-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--bn-border);
  margin-top: 22px;
}
.case-metric strong {
  display: block;
  font-family: var(--bn-font-display);
  font-size: 1.95rem;
  line-height: 1.05;
}
.case-metric span { font-size: 0.8rem; color: var(--bn-text-muted); }
.case-study-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

/* Role Switcher */
.role-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}
.role-tab {
  padding: 10px 20px;
  border-radius: var(--bn-radius-pill);
  border: 1px solid var(--bn-border);
  background: var(--bn-bg-card);
  font-weight: 500;
  font-size: 0.89rem;
  cursor: pointer;
  transition: all 0.2s var(--bn-ease);
}
.role-tab.is-active {
  background: var(--bn-midnight);
  color: #ffffff;
  border-color: var(--bn-midnight);
}
.role-panel {
  display: none;
  background: var(--bn-bg-card);
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-xl);
  padding: 40px;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}
.role-panel.is-active { display: grid; }

.check-list { display: grid; gap: 12px; margin: 20px 0 26px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.94rem; }
.check-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bn-accent-lime);
  color: var(--bn-midnight);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   9. ENTERPRISE EXECUTIVE BRIEFING FAQ (Asymmetric Sticky Split - Point 5 & 9)
   ========================================================================== */
.enterprise-faq-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 42px;
  align-items: start;
}

.enterprise-faq-aside {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 20px;
}

.faq-concierge-box {
  background: var(--bn-maroon);
  color: #ffffff;
  border-radius: 20px;
  padding: 28px;
}

.faq-list { display: grid; gap: 14px; }

.faq-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 0 28px;
  border: 1px solid var(--bn-border);
  transition: border-color 0.2s var(--bn-ease), box-shadow 0.2s var(--bn-ease);
}

.faq-card.is-open {
  border-color: var(--bn-midnight);
  box-shadow: var(--bn-shadow-card);
}

.faq-trigger {
  width: 100%;
  padding: 23px 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bn-text-primary);
  cursor: pointer;
}

.faq-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bn-bg-stone-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.24s var(--bn-ease), background 0.2s;
}
.faq-card.is-open .faq-circle {
  transform: rotate(180deg);
  background: var(--bn-accent-lime);
}

.faq-answer {
  display: none;
  padding: 0 32px 26px 0;
  color: var(--bn-text-secondary);
  font-size: 0.95rem;
  line-height: 1.68;
}
.faq-card.is-open .faq-answer { display: block; }

.faq-sla-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.faq-sla-badge {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bn-bg-linen);
  color: var(--bn-midnight);
}

/* Pre-Footer Global CTA Card */
.cta-banner-card {
  background: linear-gradient(135deg, #eeff6d 0%, #f5ff9e 52%, #dcebff 100%);
  border-radius: var(--bn-radius-xl);
  padding: 72px 44px;
  text-align: center;
  border: 1px solid rgba(30, 32, 34, 0.08);
}
.cta-banner-card h2 { max-width: 740px; margin: 0 auto 16px; }
.cta-banner-card p { max-width: 620px; margin: 0 auto 30px; color: #2d3238; font-size: 1.06rem; }

/* ==========================================================================
   10. PRICING, FORMS, GLOSSARY A-Z & FORTUNE-500 LEGAL LAYOUT
   ========================================================================== */
.billing-toggle-bar {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  background: var(--bn-bg-stone-pill);
  border-radius: var(--bn-radius-pill);
  margin: 0 auto 42px;
}
.billing-btn {
  padding: 10px 20px;
  border-radius: var(--bn-radius-pill);
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}
.billing-btn.is-active { background: var(--bn-midnight); color: #ffffff; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.pricing-card {
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pricing-card.is-featured {
  background: var(--bn-maroon);
  color: #ffffff;
  border-color: var(--bn-maroon);
  transform: translateY(-6px);
  box-shadow: var(--bn-shadow-mega);
}
.price-amount {
  font-family: var(--bn-font-display);
  font-size: 2.55rem;
  line-height: 1.05;
  margin: 14px 0 6px;
}

.matrix-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border-radius: var(--bn-radius-lg);
  border: 1px solid var(--bn-border-strong);
  box-shadow: var(--bn-shadow-card);
}
.matrix-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  text-align: left;
}
.matrix-table th, .matrix-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--bn-border);
  font-size: 0.91rem;
}
.matrix-table th {
  background: #232730;
  color: #ffffff;
  font-weight: 700;
  vertical-align: bottom;
  border-bottom: 2px solid #121519;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.matrix-table th:last-child {
  border-right: none;
}
.matrix-table th small {
  display: block;
  margin-top: 4px;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-xl);
  padding: 38px;
  box-shadow: var(--bn-shadow-card);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  min-width: 0;
}
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; min-width: 0; }
.form-field label { font-size: 0.85rem; font-weight: 600; line-height: 1.3; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid var(--bn-border-strong);
  background-color: var(--bn-bg-ivory);
  font-size: 0.94rem;
  line-height: 1.35;
  outline: none;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}
.form-field input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.form-field select {
  min-height: 48px;
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  height: 48px;
  padding-right: 40px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%231E2022' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
}
html[dir="rtl"] .form-field select {
  padding-right: 15px;
  padding-left: 40px;
  background-position: left 14px center;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--bn-midnight);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(30, 32, 34, 0.08);
}

/* Filter Bars, Glossary A-Z & Cards */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 32px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 17px;
  border-radius: var(--bn-radius-pill);
  border: 1px solid var(--bn-border);
  background: #ffffff;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
}
.chip.is-active {
  background: var(--bn-accent-lime);
  border-color: var(--bn-midnight);
  font-weight: 700;
}
.search-input {
  padding: 11px 18px;
  border-radius: var(--bn-radius-pill);
  border: 1px solid var(--bn-border);
  background: #ffffff;
  min-width: 260px;
}

.az-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: 16px;
  margin-bottom: 28px;
}
.az-btn {
  min-width: 34px;
  height: 34px;
  border-radius: 8px;
  border: none;
  background: var(--bn-bg-linen);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.az-btn:hover, .az-btn.is-active {
  background: var(--bn-midnight);
  color: var(--bn-accent-lime);
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: var(--bn-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.22s var(--bn-ease), box-shadow 0.22s var(--bn-ease);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--bn-shadow-card); }
.article-card-body { padding: 26px; }
.article-meta {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bn-text-muted);
  margin-bottom: 10px;
}

/* Fortune-500 2-Column Legal & Governance Layout */
.legal-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 108px;
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: 18px;
  padding: 24px;
}

.legal-toc h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bn-text-muted);
  margin-bottom: 14px;
}

.legal-toc ul { display: grid; gap: 9px; }
.legal-toc a {
  font-size: 0.86rem;
  color: var(--bn-text-secondary);
  line-height: 1.35;
  display: block;
}
.legal-toc a:hover {
  color: var(--bn-midnight);
  font-weight: 600;
}

.legal-prose {
  padding: 68px 0 96px;
  background: var(--bn-bg-ivory);
}

.legal-meta {
  padding: 24px 28px;
  margin-bottom: 34px;
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: 16px;
  font-size: 0.93rem;
}

.legal-summary-callout {
  padding: 24px 28px;
  margin-bottom: 36px;
  background: var(--bn-surface-ice-soft);
  border-left: 4px solid var(--bn-midnight);
  border-radius: 0 16px 16px 0;
}

.legal-prose h2 {
  font-family: var(--bn-font-editorial);
  font-size: 1.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 40px 0 16px;
  color: #0d1633;
}

.legal-prose p, .legal-prose li {
  font-size: 0.96rem;
  line-height: 1.74;
  color: #262b33;
  margin-bottom: 15px;
}

/* ==========================================================================
   11. SIGNATURE SKY-BLUE FOOTER (6 Semantic Columns After Leadership Removal)
   ========================================================================== */
.site-footer {
  background: var(--bn-footer-blue);
  color: var(--bn-midnight);
  padding: 68px 0 40px;
}

.footer-giant-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 42px;
  margin-bottom: 46px;
  border-bottom: 1px solid rgba(30, 32, 34, 0.16);
}
.footer-brand-mark img { height: 78px; width: auto; }
.footer-brand-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.footer-socials { display: flex; flex-wrap: wrap; gap: 10px; }

.social-pill {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(30, 32, 34, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.18s, color 0.18s;
}
.social-pill:hover { background: var(--bn-midnight); color: #ffffff; }

.region-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--bn-radius-pill);
  background: rgba(255, 255, 255, 0.45);
  font-size: 0.81rem;
  font-weight: 600;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 24px 18px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(30, 32, 34, 0.16);
}
.footer-col h4 {
  font-family: var(--bn-font-editorial);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { font-size: 0.84rem; color: rgba(30, 32, 34, 0.84); line-height: 1.35; }
.footer-col a:hover { color: var(--bn-midnight); text-decoration: underline; }

.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  font-size: 0.81rem;
}
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-legal-links a:hover { text-decoration: underline; }

/* ==========================================================================
   12. PRECISION RESPONSIVE DESIGN - iPad & iPhone 14/15/16/17/18 Pro & Pro Max
   (Viewports: 375px, 390px, 393px, 402px, 430px, 440px, 768px, 1024px)
   ========================================================================== */
@media (max-width: 1080px) {
  .footer-columns { grid-template-columns: repeat(4, 1fr); }
  .pricing-grid, .bento-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .book-showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .enterprise-faq-layout, .legal-shell { grid-template-columns: 1fr; gap: 28px; }
  .enterprise-faq-aside, .legal-toc { position: static; }
  .hero-command-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .compare-grid,
  .suite-cards-track,
  .bento-grid-3,
  .bento-grid-2,
  .case-study-panel,
  .role-panel.is-active,
  .form-grid,
  .stack-card {
    grid-template-columns: 1fr;
  }

  .stack-card {
    position: static;
    padding: 30px 24px;
    gap: 24px;
  }

  .section { padding: 64px 0; }
  .footer-columns { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid, .bento-grid-4, .book-showcase-grid { grid-template-columns: 1fr; }
  .pricing-card.is-featured { transform: none; }
  .footer-brand-meta { align-items: flex-start; }
  .search-input { width: 100%; min-width: 0; }
}

/* Dedicated iPhone 14/15/16/17/18 Pro (390-402px) & Pro Max (430-440px) Tuning */
@media (max-width: 480px) {
  .container, .container-narrow {
    padding: 0 18px;
  }

  .announcement-bar {
    padding: 8px 36px 8px 12px;
    font-size: 0.75rem;
    line-height: 1.32;
  }

  .hero-home {
    margin-top: -74px;
    padding: 112px 0 48px;
  }

  .page-hero {
    margin-top: -74px;
    padding: 116px 0 56px;
  }

  .display-xl {
    font-size: clamp(2.05rem, 8.8vw, 2.5rem);
    line-height: 1.07;
  }

  .display-lg {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
    line-height: 1.1;
  }

  .heading-lg {
    font-size: clamp(1.55rem, 6.8vw, 1.88rem);
  }

  .noble-mascot-stage {
    width: 96px;
    height: 82px;
    margin-bottom: 10px;
  }
  .mascot-lion-img { height: 56px; }
  .mascot-spark { display: none; }

  .segment-tag {
    border-radius: 14px;
    padding: 6px 12px;
    font-size: 0.74rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 32px;
  }
  .hero-actions .btn {
    width: 100%;
    padding: 15px 20px;
  }

  .live-ai-console {
    padding: 18px 16px;
    border-radius: 18px;
  }
  .console-kpi-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-visual-card { min-height: 270px; }

  .suite-tabs-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 12px;
  }
  .suite-tab-btn {
    padding: 12px 10px;
    font-size: 0.81rem;
    text-align: center;
  }
  .suite-tab-peeker {
    top: -18px;
    left: calc(50% - 11px);
    height: 20px;
  }

  .suite-showcase-card {
    padding: 24px 20px 0;
  }
  .suite-showcase-card h3 { font-size: 1.42rem; }

  .compare-card, .bento-card, .bento-card-dark, .form-card, .role-panel, .case-study-content {
    padding: 24px 20px;
  }

  .case-metrics-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .faq-card { padding: 0 18px; }
  .faq-trigger { padding: 18px 0; font-size: 0.96rem; }
  .faq-answer { padding: 0 8px 20px 0; font-size: 0.9rem; }

  .cta-banner-card {
    padding: 44px 20px;
  }

  .footer-brand-mark img { height: 56px; }
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
}


/* ==========================================================================
   13. V3.0 ENTERPRISE PUBLISHING OS - PRODUCT TOUR UI, LIVE CHARTS,
       VECTOR LOGO MARQUEE, DATAFLOW GRAPH & COOKIE CONSENT MANAGER
   ========================================================================== */

/* 13.1 Vector Brand Logo Tiles in Dual Marquee */
.brand-logo-tile {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 20px;
  height: 52px;
  background: #ffffff;
  border: 1px solid rgba(30, 32, 34, 0.1);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(30, 32, 34, 0.04);
  white-space: nowrap;
  transition: transform 0.2s var(--bn-ease), border-color 0.2s var(--bn-ease);
}

.brand-logo-tile:hover {
  transform: translateY(-2px);
  border-color: var(--bn-midnight);
}

.brand-logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo-mark svg {
  width: 20px;
  height: 20px;
  display: block;
}

.brand-logo-name {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--bn-midnight);
}

.brand-logo-cat {
  font-size: 0.69rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bn-text-muted);
  padding: 2px 7px;
  background: var(--bn-bg-linen);
  border-radius: 999px;
}

/* 13.2 Hero Publishing OS Command Center (4 Auto-Cycling Live Screens) */
.os-hero-stage {
  max-width: 1180px;
  margin: 0 auto;
  background: #14171a;
  color: #f5f7fa;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 34px 72px -18px rgba(20, 23, 26, 0.42);
  overflow: hidden;
  text-align: left;
}

.os-window-chrome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  background: #1c2026;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.os-chrome-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.os-chrome-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.os-chrome-dots i:nth-child(1) { background: #ff5f56; }
.os-chrome-dots i:nth-child(2) { background: #ffbd2e; }
.os-chrome-dots i:nth-child(3) { background: #27c93f; }

.os-chrome-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.os-hero-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #181c21;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.os-hero-tab {
  position: relative;
  padding: 14px 16px;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.65);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.os-hero-tab:last-child { border-right: none; }
.os-hero-tab:hover { background: rgba(255, 255, 255, 0.04); color: #ffffff; }
.os-hero-tab.is-active {
  background: rgba(238, 255, 109, 0.08);
  color: #ffffff;
}

.os-hero-tab-num {
  display: block;
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bn-accent-lime);
  margin-bottom: 3px;
}

.os-hero-tab-title {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
}

.os-tab-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2.5px;
  width: 0%;
  background: var(--bn-accent-lime);
}
.os-hero-tab.is-active .os-tab-progress {
  animation: osTabTimer 6s linear forwards;
}

@keyframes osTabTimer {
  from { width: 0%; }
  to { width: 100%; }
}

.os-hero-panel {
  display: none;
  padding: 26px;
  animation: fadeSlideUp 0.32s var(--bn-ease);
}
.os-hero-panel.is-active { display: block; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.os-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.os-kpi-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 14px 16px;
}

.os-kpi-label {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.64);
  margin-bottom: 4px;
}

.os-kpi-val {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.os-kpi-delta {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bn-accent-lime);
}

.os-panel-split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 18px;
}

.os-subcard {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 18px;
}

.os-subcard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
}

.os-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.71rem;
  font-weight: 700;
}
.os-status-pill.lime { background: rgba(238, 255, 109, 0.18); color: var(--bn-accent-lime); }
.os-status-pill.sky { background: rgba(214, 232, 255, 0.18); color: #D6E8FF; }
.os-status-pill.amber { background: rgba(255, 189, 46, 0.18); color: #ffd470; }

.os-stage-row {
  display: grid;
  grid-template-columns: 150px 1fr 64px;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
  font-size: 0.8rem;
}
.os-stage-row:last-child { margin-bottom: 0; }

.os-stage-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  overflow: hidden;
}

.os-stage-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #D6E8FF 0%, #eeff6d 100%);
  transition: width 0.8s var(--bn-ease);
}

.hero-proof-strip {
  max-width: 1180px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.hero-proof-item {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(30, 32, 34, 0.1);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: left;
}
.hero-proof-item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bn-midnight);
}
.hero-proof-item span {
  font-size: 0.76rem;
  color: var(--bn-text-secondary);
}

/* 13.3 Dual-Track Architecture Cards */
.dual-track-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.dual-track-card {
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--bn-border);
}

.dual-track-card.is-b2b {
  background: var(--bn-midnight);
  color: #ffffff;
  border-color: var(--bn-midnight);
}

.dual-track-card.is-b2c {
  background: var(--bn-surface-ice);
  color: var(--bn-midnight);
  border-color: rgba(30, 32, 34, 0.12);
}

/* 13.4 Interactive Single-Title-Record Connected SVG Dataflow (Wix Studio / Palantir style) */
.dataflow-shell {
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--bn-shadow-card);
}

.dataflow-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  align-items: center;
}

.dataflow-nodes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.dataflow-node-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1px solid var(--bn-border);
  background: var(--bn-bg-parchment);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s var(--bn-ease);
}

.dataflow-node-btn:hover,
.dataflow-node-btn.is-active {
  background: var(--bn-midnight);
  color: #ffffff;
  border-color: var(--bn-midnight);
  transform: translateY(-2px);
}

.dataflow-node-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--bn-accent-lime);
  color: var(--bn-midnight);
  font-size: 0.76rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dataflow-inspector {
  background: #16191d;
  color: #ffffff;
  border-radius: 18px;
  padding: 24px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pulse-line {
  stroke-dasharray: 7 7;
  animation: dashFlow 14s linear infinite;
}

@keyframes dashFlow {
  from { stroke-dashoffset: 140; }
  to { stroke-dashoffset: 0; }
}

/* 13.5 11-Screen Interactive Product Walkthrough Application Frame */
.product-tour-shell {
  background: #121519;
  color: #f4f6f9;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 32px 68px -16px rgba(18, 21, 25, 0.35);
  overflow: hidden;
}

.pt-header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 22px;
  background: #1a1f26;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pt-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pt-ctrl-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}
.pt-ctrl-btn:hover { background: rgba(255, 255, 255, 0.14); }
.pt-ctrl-btn.is-playing {
  background: var(--bn-accent-lime);
  color: var(--bn-midnight);
  border-color: var(--bn-accent-lime);
}

.pt-body {
  display: grid;
  grid-template-columns: 275px minmax(0, 1fr);
  min-height: 540px;
}

.pt-screens-col {
  min-width: 0;
  max-width: 100%;
}

.pt-spread-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4px;
  background: #ffffff;
  padding: 18px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.pt-spread-left {
  padding-right: 12px;
  border-right: 1px dashed #dddddd;
  min-width: 0;
}
.pt-spread-right {
  padding-left: 12px;
  min-width: 0;
}

.pt-cover-mechanical {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr);
  gap: 6px;
  background: #1e2022;
  color: #ffffff;
  padding: 18px;
  border-radius: 10px;
  min-height: 185px;
  align-items: stretch;
}
.pt-cover-spine {
  background: #3d0c20;
  border: 1px solid #eeff6d;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pt-sidebar {
  background: #161a20;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pt-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.16s;
}
.pt-nav-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}
.pt-nav-btn.is-active {
  background: var(--bn-accent-lime);
  color: var(--bn-midnight);
  font-weight: 700;
}

.pt-nav-idx {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.71rem;
  opacity: 0.8;
  min-width: 20px;
}

.pt-screen {
  display: none;
  padding: 26px 28px;
  background: #fbfaf7;
  color: var(--bn-midnight);
  animation: fadeSlideUp 0.28s var(--bn-ease);
}
.pt-screen.is-active { display: block; }

.pt-screen-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--bn-border);
}

.pt-screen-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: var(--bn-surface-ice);
  color: var(--bn-midnight);
  margin-bottom: 6px;
}

.pt-metrics-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.pt-metric-card {
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: 12px;
  padding: 13px 15px;
}
.pt-metric-card span {
  display: block;
  font-size: 0.74rem;
  color: var(--bn-text-muted);
}
.pt-metric-card strong {
  display: block;
  font-size: 1.28rem;
  font-weight: 700;
  margin-top: 2px;
  color: var(--bn-midnight);
}

.pt-ui-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: 14px;
}

.pt-ui-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
}
.pt-ui-table th,
.pt-ui-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid #edeae2;
}
.pt-ui-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bn-text-muted);
  background: #f6f4ee;
}
.pt-ui-table tr:last-child td { border-bottom: none; }

.pt-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.71rem;
  font-weight: 700;
}
.pt-pill.ok { background: #dff5e6; color: #0f5132; }
.pt-pill.warn { background: #fff3cd; color: #7a5200; }
.pt-pill.info { background: #D6E8FF; color: #103460; }
.pt-pill.dark { background: #1e2022; color: #eeff6d; }

.pt-two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.pt-panel-box {
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: 14px;
  padding: 18px;
}

.pt-code {
  background: #16191e;
  color: #d9e7ff;
  border-radius: 12px;
  padding: 15px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  line-height: 1.55;
  overflow-x: auto;
}

/* 13.6 Automated Telemetry Charts & Benchmarks */
.telemetry-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}

.telemetry-card {
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--bn-shadow-card);
}

.comp-bar-group { margin-bottom: 18px; }
.comp-bar-group:last-child { margin-bottom: 0; }

.comp-bar-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.comp-bar-dual {
  display: grid;
  gap: 6px;
}

.comp-bar-line {
  display: grid;
  grid-template-columns: 112px 1fr 68px;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--bn-text-secondary);
}

.comp-track {
  height: 10px;
  background: var(--bn-bg-linen);
  border-radius: 999px;
  overflow: hidden;
}

.comp-fill-legacy {
  height: 100%;
  background: #b8b3a8;
  border-radius: 999px;
}

.comp-fill-bn {
  height: 100%;
  background: var(--bn-midnight);
  border-radius: 999px;
}

/* 13.7 Integrations Directory Status Badges */
.int-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.int-status.live { background: #dff5e6; color: #0d502c; }
.int-status.available { background: #D6E8FF; color: #0e3563; }
.int-status.planned { background: #fef0d6; color: #7a4b00; }
.int-status.custom { background: #f2ecf9; color: #3f1f69; }

/* 13.8 Footer Newsletter Bar inside #D6E8FF Footer */
.footer-newsletter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 30px;
  margin-bottom: 42px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(30, 32, 34, 0.12);
  border-radius: 20px;
}

.footer-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-newsletter-form input {
  min-width: 260px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(30, 32, 34, 0.22);
  background: #ffffff;
  font-size: 0.88rem;
}

/* 13.9 Enterprise Cookie Governance Lightbox Drawer Styles */
.bn-modal-overlay.cookie-banner[hidden] {
  display: none !important;
}

.cookie-prefs-drawer {
  display: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--bn-border);
}
.cookie-prefs-drawer.is-open { display: block; }

.cookie-prefs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.cookie-pref-item {
  background: var(--bn-bg-parchment);
  border: 1px solid var(--bn-border);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.8rem;
  color: var(--bn-text-secondary);
}
.cookie-pref-item label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 700;
  color: var(--bn-midnight);
  margin-bottom: 6px;
  cursor: pointer;
  font-size: 0.82rem;
}
.cookie-pref-item p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.48;
  color: var(--bn-text-secondary);
}

@media (max-width: 767px) {
  .cookie-prefs-grid {
    grid-template-columns: 1fr;
  }
}

/* 13.10 Responsive Rules for v3.0 Enterprise Product Components */
@media (max-width: 1080px) {
  .os-hero-tabs { grid-template-columns: repeat(2, 1fr); }
  .os-kpi-grid, .pt-metrics-4 { grid-template-columns: repeat(2, 1fr); }
  .os-panel-split, .dual-track-grid, .dataflow-layout, .telemetry-grid, .pt-two-col {
    grid-template-columns: 1fr;
  }
  .hero-proof-strip { grid-template-columns: repeat(2, 1fr); }
  .pt-body { grid-template-columns: 1fr; }
  .pt-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
  }
  .pt-nav-btn { width: auto; white-space: nowrap; flex-shrink: 0; }
  .cookie-prefs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .os-hero-tabs { grid-template-columns: 1fr; }
  .os-kpi-grid, .pt-metrics-4, .hero-proof-strip, .dataflow-nodes-grid {
    grid-template-columns: 1fr;
  }
  .os-hero-panel, .pt-screen { padding: 18px 16px; }
  .os-stage-row { grid-template-columns: 1fr; gap: 4px; }
  .comp-bar-line { grid-template-columns: 88px 1fr 56px; }
  .dual-track-card { padding: 26px 20px; }
  .dataflow-shell, .telemetry-card { padding: 22px 18px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn { flex: 1 1 auto; text-align: center; padding: 10px 12px; }
  .footer-newsletter-bar { padding: 20px 18px; }
  .footer-newsletter-form, .footer-newsletter-form input, .footer-newsletter-form button {
    width: 100%;
    min-width: 0;
  }
}

/* ==========================================================================
   14. V3.0 GLOBAL CTA, 7-CARD STACK DECK, 3D COVERS, FAQ ICON & ROI MODELER
   ========================================================================== */
.cta-banner-section {
  padding: 76px 0;
  background: var(--bn-bg-parchment);
}

.cta-banner-card {
  background: linear-gradient(135deg, #3d0c20 0%, #260714 56%, #14171b 100%);
  color: #ffffff;
  border-radius: var(--bn-radius-xl);
  padding: 68px 44px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 60px -16px rgba(25, 8, 15, 0.38);
}

.cta-crest {
  height: 54px;
  width: auto;
  margin: 0 auto 18px;
}

.cta-banner-card h2 {
  max-width: 780px;
  margin: 0 auto 16px;
  color: #ffffff;
}

.cta-banner-card p {
  max-width: 680px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.cta-trust-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 24px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.faq-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bn-bg-stone-pill);
  color: var(--bn-midnight);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.18rem;
  font-weight: 600;
  transition: transform 0.24s var(--bn-ease), background 0.2s;
}

.faq-card.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--bn-accent-lime);
}

.stack-card:nth-child(4) { top: 146px; background: var(--bn-bg-ivory); color: var(--bn-midnight); }
.stack-card:nth-child(5) { top: 162px; background: var(--bn-surface-sage); color: var(--bn-midnight); }
.stack-card:nth-child(6) { top: 178px; background: var(--bn-midnight); color: #ffffff; }
.stack-card:nth-child(7) { top: 194px; background: var(--bn-accent-lime); color: var(--bn-midnight); }

@media (max-width: 820px) {
  .stack-card:nth-child(n) {
    position: static;
  }
  .cta-banner-card {
    padding: 46px 22px;
  }
}

.book-3d-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-left: 6px;
}

.book-3d-imprint {
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.86;
}

.book-3d-crest {
  height: 20px;
  width: auto;
  opacity: 0.92;
}

.book-3d-sub {
  font-size: 0.68rem;
  line-height: 1.35;
  opacity: 0.84;
  padding-left: 6px;
  margin-top: 6px;
}

.book-3d-foot {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  padding-left: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.book-3d-cover.skin-linen .book-3d-foot {
  border-top-color: rgba(30, 32, 34, 0.22);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bn-midnight);
}
.link-arrow:hover {
  text-decoration: underline;
}

.ui-tag.dark {
  background: var(--bn-midnight);
  color: var(--bn-accent-lime);
}

.roi-calc-shell {
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--bn-shadow-card);
}

.roi-slider-group {
  margin-bottom: 20px;
}

.roi-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.roi-slider-group input[type="range"] {
  width: 100%;
  accent-color: var(--bn-maroon);
  cursor: pointer;
}

.roi-results-panel {
  background: var(--bn-midnight);
  color: #ffffff;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.roi-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.roi-stat-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px;
}

.roi-stat-box span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 4px;
}

.roi-stat-box strong {
  display: block;
  font-family: var(--bn-font-display);
  font-size: 1.7rem;
  color: var(--bn-accent-lime);
  line-height: 1.1;
}

@media (max-width: 720px) {
  .roi-calc-shell { padding: 24px 18px; }
  .roi-stat-row { grid-template-columns: 1fr; }
}


/* ==========================================================================
   15. V4.0 OPERATING SYSTEM FOR PUBLISHING: STRIPE/PALANTIR RHYTHM,
       COMPACT MOBILE HERO, CALENDAR BOOKING, GATED ROI & CONNECTOR INSPECTOR
   ========================================================================== */

picture {
  display: block;
}

.card-cover-img {
  width: 100%;
  height: 208px;
  object-fit: cover;
}

/* 15.1 Hero Ambient Mesh Canvas, Clean Lion Crest & Inline Sandbox Bar */
.bn-mesh-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.72;
}

.noble-crest-clean {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 12px;
}

.noble-crest-clean img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 6px 14px rgba(30, 32, 34, 0.14));
  transition: transform 0.28s var(--bn-ease);
}

.noble-crest-clean img:hover {
  transform: translateY(-2px) scale(1.04);
}

.hero-lead-crisp {
  max-width: 640px;
  margin: 0 auto 24px !important;
  font-size: clamp(1.02rem, 1.26vw, 1.18rem);
  line-height: 1.52;
  color: #23272c;
}

.hero-lead-bar {
  max-width: 560px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(30, 32, 34, 0.18);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(30, 32, 34, 0.08);
}

.hero-lead-bar input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 12px 18px;
  font-size: 0.95rem;
  color: var(--bn-midnight);
  outline: none;
}

.hero-lead-bar input::placeholder {
  color: #646b75;
}

.hero-sub-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  font-size: 0.84rem;
  color: #363b42;
  margin-bottom: 34px;
}

.hero-sub-links a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.os-chrome-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
}

.os-chrome-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.os-chrome-btn.is-lime,
.pt-ctrl-btn.is-live-cta {
  background: var(--bn-accent-lime);
  color: var(--bn-midnight);
  border-color: var(--bn-accent-lime);
}

.os-chrome-btn.is-lime:hover,
.pt-ctrl-btn.is-live-cta:hover {
  background: var(--bn-accent-lime-hover);
}

.os-hero-video-pane {
  padding: 18px;
  background: #0b0d11;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 15.2 Crisp HD Vector Brand Logo Plates */
.hd-logo-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 10px 22px;
  background: #ffffff;
  border: 1px solid rgba(30, 32, 34, 0.1);
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(30, 32, 34, 0.03);
  flex-shrink: 0;
  transition: transform 0.2s var(--bn-ease), border-color 0.2s var(--bn-ease);
}

.hd-logo-plate:hover {
  transform: translateY(-2px);
  border-color: var(--bn-midnight);
}

.hd-logo-plate svg {
  height: 28px;
  width: auto;
  display: block;
}

/* 15.3 3-Step Architecture Story & Animated SVG Packet Bus */
.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}

.how-step-card {
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: var(--bn-shadow-sm);
}

.how-step-num {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bn-accent-lime);
  color: var(--bn-midnight);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.how-step-card h3 {
  margin-bottom: 8px;
}

.how-step-card p {
  font-size: 0.92rem;
  color: var(--bn-text-secondary);
}

.flow-bus-card {
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: 24px;
  padding: 28px 30px;
  box-shadow: var(--bn-shadow-card);
}

.flow-bus-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.how-flow-svg {
  width: 100%;
  height: auto;
  display: block;
}

.flow-mobile-stack {
  display: none;
}

.flow-mobile-group {
  display: grid;
  gap: 8px;
}

.flow-mobile-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--bn-bg-parchment);
  border: 1px solid var(--bn-border);
}

.flow-mobile-node strong {
  display: block;
  font-size: 0.88rem;
  color: var(--bn-midnight);
  line-height: 1.25;
}

.flow-mobile-node small {
  display: block;
  font-size: 0.76rem;
  color: var(--bn-text-secondary);
  margin-top: 2px;
}

.flow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.flow-dot.is-in { background: var(--bn-maroon); }
.flow-dot.is-out { background: #0f5132; }

.flow-mobile-connector {
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bn-text-muted);
  padding: 2px 0;
}

.flow-mobile-core {
  background: #0b0d11;
  color: #ffffff;
  border: 2px solid var(--bn-accent-lime);
  border-radius: 16px;
  padding: 16px 18px;
  text-align: center;
}

.flow-core-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bn-accent-lime);
  color: #0b0d11;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.flow-mobile-core strong {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
}

.flow-mobile-core small {
  display: block;
  font-size: 0.76rem;
  color: var(--bn-accent-lime);
  margin-top: 4px;
}

/* Capability Switcher Telemetry Card */
.cap-telemetry-card {
  background: #0f1319;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 20px 20px 16px;
}

.cap-telemetry-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.cap-telemetry-sync {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.68);
}

.cap-telemetry-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.cap-telemetry-kpi {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  min-width: 0;
}

.cap-telemetry-kpi span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.68);
}

.cap-telemetry-kpi strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 3px;
}

.cap-telemetry-kpi.is-lime strong {
  color: var(--bn-accent-lime);
}

.cap-telemetry-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  line-height: 1.55;
  background: #080a0e;
  color: #cbd5e1;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(238, 255, 109, 0.2);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cap-telemetry-code-accent {
  color: var(--bn-accent-lime);
}

.flow-packet-line {
  stroke-dasharray: 16 28;
  animation: bnPacketFlow 2.8s linear infinite;
}

.flow-packet-line.delay-1 {
  animation-delay: -0.9s;
}

.flow-packet-line.delay-2 {
  animation-delay: -1.8s;
}

@keyframes bnPacketFlow {
  from { stroke-dashoffset: 88; }
  to { stroke-dashoffset: 0; }
}

/* 15.4 Full-Bleed Dark Obsidian Band & 7-Capability Retina Switcher */
.dark-cinematic-band {
  background: #0b0d11;
  color: #ffffff;
  padding: 96px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.big-stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-bottom: 54px;
  margin-bottom: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.big-stat-cell strong {
  display: block;
  font-family: var(--bn-font-display);
  font-size: clamp(2.8rem, 4.6vw, 4.2rem);
  line-height: 1;
  color: var(--bn-accent-lime);
  margin-bottom: 8px;
}

.big-stat-cell span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.cap-Command-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: start;
}

.cap-nav-list {
  display: grid;
  gap: 8px;
}

.cap-nav-item {
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.76);
  cursor: pointer;
  transition: all 0.2s var(--bn-ease);
}

.cap-nav-item strong {
  display: block;
  font-size: 0.96rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.cap-nav-item span {
  display: block;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.65);
}

.cap-nav-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.cap-nav-item.is-active {
  background: rgba(238, 255, 109, 0.12);
  border-color: var(--bn-accent-lime);
}

.cap-nav-item.is-active strong {
  color: var(--bn-accent-lime);
}

.cap-stage-viewport {
  background: #131720;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.cap-stage-pane {
  display: none;
  animation: fadeSlideUp 0.28s var(--bn-ease);
}

.cap-stage-pane.is-active {
  display: block;
}

.cap-pane-shot img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cap-pane-meta {
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cap-pane-meta h3 {
  font-family: var(--bn-font-editorial);
  font-size: 1.45rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.cap-pane-meta p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
}

/* 15.5 Editorial Portrait & Pull-Quote Break */
.editorial-quote-break {
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  box-shadow: var(--bn-shadow-card);
}

.editorial-quote-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.editorial-quote-copy {
  padding: 44px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.editorial-quote-copy blockquote {
  font-family: var(--bn-font-editorial);
  font-size: clamp(1.32rem, 2.1vw, 1.82rem);
  line-height: 1.34;
  color: var(--bn-midnight);
  margin: 16px 0 18px;
}

.editorial-quote-attr strong {
  display: block;
  font-size: 0.92rem;
  color: var(--bn-midnight);
}

.editorial-quote-attr span {
  font-size: 0.82rem;
  color: var(--bn-text-muted);
}

/* 15.6 Competitor & Edition Comparison Matrix Highlights */
.matrix-table th.is-bn-col {
  background: var(--bn-maroon);
  color: #ffffff;
  box-shadow: inset 0 4px 0 var(--bn-accent-lime);
}

.matrix-table th.is-bn-col small,
.matrix-table th .bn-col-sub {
  color: var(--bn-accent-lime);
  font-weight: 600;
}

.matrix-table td.is-bn-col {
  background: #fcfde8;
  color: var(--bn-midnight);
}

/* 15.7 Product Tour Live Video Drawer */
.pt-video-drawer {
  padding: 20px 24px;
  background: #0d1015;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* 15.8 Gated CFO ROI & Author Proceeds Lead Magnet */
.roi-gate-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 16px 18px;
}

.roi-gate-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.roi-gate-form input {
  flex: 1 1 170px;
  min-width: 0;
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.96);
  color: var(--bn-midnight);
  font-size: 0.85rem;
}

.roi-unlocked-panel {
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(238, 255, 109, 0.12);
  border: 1px solid rgba(238, 255, 109, 0.45);
  color: #ffffff;
  font-size: 0.83rem;
  line-height: 1.5;
}

/* 15.9 Responsive Demo Split Layout, Calendar Slot Picker & Form Banners */
.demo-split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: start;
}

.demo-hero-media {
  margin-top: 20px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--bn-border-strong);
}

.demo-booking-card .form-field {
  margin-bottom: 14px;
}

/* Inside side-by-side split layouts on laptops/desktops, give <select> fields full card width so long options never wrap or clip */
@media (min-width: 1041px) {
  .demo-split-layout .form-grid-selects {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

.demo-cal-section {
  background: var(--bn-bg-parchment);
  border: 1px solid var(--bn-border);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
}

.demo-cal-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.demo-tz-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 7px 34px 7px 14px;
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid var(--bn-border-strong);
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%231E2022' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 14px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  max-width: 100%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
html[dir="rtl"] .demo-tz-select {
  padding: 7px 14px 7px 34px;
  background-position: left 11px center;
}

.demo-date-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.demo-date-btn {
  padding: 9px 6px;
  border-radius: 11px;
  border: 1px solid var(--bn-border);
  background: #ffffff;
  text-align: center;
  cursor: pointer;
  transition: all 0.16s;
  min-width: 0;
}

.demo-date-btn span {
  display: block;
  font-size: 0.69rem;
  text-transform: uppercase;
  color: var(--bn-text-muted);
  font-weight: 700;
  white-space: nowrap;
}

.demo-date-btn strong {
  display: block;
  font-size: 0.82rem;
  color: var(--bn-midnight);
  margin-top: 2px;
  white-space: nowrap;
}

.demo-date-btn.is-active,
.demo-date-btn.is-selected {
  background: var(--bn-midnight);
  border-color: var(--bn-midnight);
  box-shadow: 0 4px 12px rgba(19, 22, 27, 0.18);
}

.demo-date-btn.is-active span,
.demo-date-btn.is-selected span {
  color: var(--bn-accent-lime);
}

.demo-date-btn.is-active strong,
.demo-date-btn.is-selected strong {
  color: #ffffff;
}

.demo-slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.demo-slot-btn {
  padding: 9px 8px;
  border-radius: 10px;
  border: 1px solid var(--bn-border);
  background: #ffffff;
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--bn-midnight);
  cursor: pointer;
  transition: all 0.16s;
}

.demo-slot-btn:hover:not(:disabled) {
  border-color: var(--bn-midnight);
}

.demo-slot-btn.is-active,
.demo-slot-btn.is-selected {
  background: var(--bn-accent-lime);
  border-color: var(--bn-midnight);
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(19, 22, 27, 0.12);
}

.demo-slot-btn:disabled {
  opacity: 0.42;
  text-decoration: line-through;
  cursor: not-allowed;
}

.demo-confirm-box,
.form-status-box,
.form-status-banner {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f4fce3;
  border: 1px solid var(--bn-midnight);
  color: var(--bn-midnight);
  font-size: 0.87rem;
  line-height: 1.52;
}

.form-status-box.is-error,
.form-status-banner.is-error,
.demo-confirm-box.is-error {
  background: #fef2f2;
  border-color: #b42318;
  color: #7a271a;
}

/* 15.10 Interactive Connector Handshake Inspector Modal */
.int-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 13, 17, 0.72);
  backdrop-filter: blur(6px);
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.int-modal-backdrop[hidden] {
  display: none !important;
}

.int-modal-card {
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid var(--bn-border-strong);
  padding: 28px;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.38);
}

.int-modal-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.int-modal-meta > div {
  background: var(--bn-bg-parchment);
  border: 1px solid var(--bn-border);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.78rem;
}

.int-modal-meta strong {
  display: block;
  font-size: 0.88rem;
  color: var(--bn-midnight);
  margin-top: 2px;
}

.int-code-block {
  background: #0f131a;
  color: #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.77rem;
  line-height: 1.55;
  overflow-x: auto;
  max-height: 300px;
}

/* Global Grid Track Anti-Blowout & Code Wrap Protection */
.bento-grid-2 > *,
.bento-grid-3 > *,
.bento-grid-4 > *,
.compare-grid > *,
.demo-split-layout > *,
.cap-Command-grid > *,
.pt-body > *,
.pt-two-col > *,
.enterprise-faq-layout > *,
.legal-shell > *,
.os-panel-split > *,
.case-study-panel > *,
.editorial-quote-break > *,
.role-panel > *,
.dual-track-grid > *,
.telemetry-grid > *,
.how-steps-grid > *,
.pricing-grid > *,
.stack-card > * {
  min-width: 0;
}

.check-list code,
.bento-card code,
.faq-answer code,
p code,
li code,
td code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.pt-code {
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
}

/* 15.11 Multi-Device Responsive Perfection (Surface Pro 10, iPad, 13"/14"/16" Laptops, Large Desktops & iPhone) */
@media (max-width: 1240px) and (min-width: 1041px) {
  .demo-booking-card {
    padding: 28px 24px;
  }

  .demo-date-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .demo-split-layout,
  .cap-Command-grid,
  .editorial-quote-break,
  .how-steps-grid {
    grid-template-columns: 1fr;
  }

  .big-stat-band {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .cap-nav-list {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 6px;
  }

  .cap-nav-list::-webkit-scrollbar {
    display: none;
  }

  .cap-nav-item {
    width: auto;
    min-width: max-content;
    padding: 10px 16px;
    border-radius: 999px;
    flex-shrink: 0;
  }

  .cap-nav-item strong {
    margin-bottom: 0;
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .cap-nav-item span {
    display: none;
  }

  .editorial-quote-media img {
    min-height: 260px;
    max-height: 340px;
  }
}

/* Prevent iOS Safari Auto-Zoom on Tap Across All Form Controls (iPhone 14-18 Pro / Pro Max & iPad Mini) */
@media (max-width: 820px) {
  .form-field input,
  .form-field select,
  .form-field textarea,
  .demo-tz-select,
  .hero-lead-bar input,
  .roi-gate-form input,
  .footer-newsletter-form input,
  .search-input,
  .bn-search-bar-top input {
    font-size: 16px !important;
  }

  .footer-newsletter-form {
    width: 100%;
  }

  .footer-newsletter-form input {
    min-width: 0;
    flex: 1 1 100%;
    width: 100%;
  }

  .footer-newsletter-form .btn {
    width: 100%;
  }
}

@media (max-width: 767px) {
  /* Allow long CTA buttons to wrap cleanly inside narrow iPhone cards instead of overflowing */
  .btn {
    white-space: normal;
    text-align: center;
    line-height: 1.26;
    max-width: 100%;
  }

  .site-header .btn {
    white-space: nowrap;
  }

  .hero-home {
    padding: 108px 0 38px;
  }

  .noble-crest-clean {
    margin-bottom: 8px;
  }

  .noble-crest-clean img {
    height: 34px;
  }

  .hero-home .hero-segment-pills {
    margin-bottom: 12px;
  }

  .hero-home h1 {
    font-size: clamp(2.35rem, 9.8vw, 3.05rem);
    line-height: 1.05;
    margin-bottom: 14px;
  }

  .hero-lead-crisp {
    font-size: 0.97rem;
    line-height: 1.48;
    margin-bottom: 18px !important;
  }

  /* Section 03 Mobile Signal Flow (replaces 3.2px scaled SVG text with crisp native cards) */
  .how-flow-svg {
    display: none;
  }

  .flow-mobile-stack {
    display: grid;
    gap: 10px;
  }

  .how-step-card {
    padding: 22px 20px;
  }

  /* Capability Switcher Mobile Polish */
  .cap-telemetry-card {
    margin: 14px 14px 12px;
    padding: 16px;
  }

  .cap-telemetry-kpis {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cap-pane-meta {
    padding: 18px 16px;
  }

  /* Product Tour Mobile Polish */
  .pt-header-bar {
    padding: 12px 14px;
    gap: 10px;
  }

  .pt-controls {
    width: 100%;
    gap: 6px;
  }

  .pt-ctrl-btn {
    padding: 7px 11px;
    font-size: 0.74rem;
  }

  .pt-spread-preview {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .pt-spread-left {
    padding-right: 0;
    padding-bottom: 12px;
    border-right: none;
    border-bottom: 1px dashed #dddddd;
  }

  .pt-spread-right {
    padding-left: 0;
  }

  .pt-cover-mechanical {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 8px;
  }

  .pt-cover-spine {
    writing-mode: horizontal-tb;
    padding: 6px 10px;
  }

  /* Request Demo & Sandbox Mobile Polish */
  .demo-hero-media img {
    max-height: 185px;
    object-fit: cover;
  }

  .demo-cal-header {
    flex-direction: column;
    align-items: stretch;
  }

  .demo-tz-select {
    width: 100%;
    min-height: 44px;
  }

  .demo-booking-card {
    padding: 22px 18px;
  }

  /* Sleek Non-Intrusive Cookie Banner on iPhones */
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    padding: 14px 15px;
    border-radius: 16px;
  }

  .cookie-banner-main {
    gap: 10px;
  }

  .cookie-banner-copy {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .cookie-banner-copy strong {
    font-size: 0.84rem;
  }

  .cookie-banner-actions {
    width: 100%;
    gap: 6px;
  }

  .cookie-btn {
    flex: 1 1 auto;
    padding: 8px 10px;
    font-size: 0.76rem;
    text-align: center;
  }

  .hero-lead-bar {
    flex-direction: column;
    border-radius: 18px;
    padding: 8px;
    gap: 8px;
    margin-bottom: 12px;
  }

  .hero-lead-bar input {
    width: 100%;
    padding: 11px 14px;
    text-align: center;
  }

  .hero-lead-bar .btn {
    width: 100%;
    padding: 13px 18px;
  }

  .hero-sub-links {
    font-size: 0.77rem;
    gap: 4px 8px;
    margin-bottom: 20px;
  }

  /* Compact Hero Product Frame on iPhone 14-18 Pro & Pro Max so it NEVER stretches 2-3 folds */
  .os-window-chrome {
    padding: 10px 14px;
    gap: 8px;
  }

  .os-chrome-url {
    display: none;
  }

  .os-hero-tabs {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .os-hero-tabs::-webkit-scrollbar {
    display: none;
  }

  .os-hero-tab {
    flex: 0 0 auto;
    min-width: 148px;
    padding: 10px 12px;
  }

  .os-hero-panel {
    padding: 14px;
  }

  .os-kpi-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
    margin-bottom: 0;
  }

  .os-kpi-box {
    padding: 10px 12px;
  }

  .os-kpi-val {
    font-size: 1.15rem;
  }

  .os-desktop-detail {
    display: none !important;
  }

  .dark-cinematic-band {
    padding: 64px 0;
  }

  .big-stat-band {
    padding-bottom: 36px;
    margin-bottom: 36px;
  }

  .editorial-quote-copy {
    padding: 26px 20px;
  }

  .flow-bus-card {
    padding: 20px 16px;
  }

  .demo-date-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .int-modal-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .int-modal-card {
    padding: 20px 16px;
  }
}

@media (max-width: 380px) {
  .demo-date-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   15.12 ENTERPRISE GO-LIVE UTILITIES: SEARCH (CMD+K), FLAG I18N, RTL, MODALS
   ========================================================================== */
.bn-icon-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(30, 32, 34, 0.12);
  background: rgba(246, 242, 234, 0.72);
  color: var(--bn-midnight);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.bn-icon-pill:hover {
  background: #ffffff;
  border-color: var(--bn-midnight);
}

.bn-icon-pill kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(30, 32, 34, 0.08);
  color: var(--bn-text-secondary);
}

.bn-lang-switcher {
  position: relative;
  display: inline-flex;
}

.bn-lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 13px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.bn-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 188px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid var(--bn-border-strong);
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(19, 22, 27, 0.16);
  z-index: 1200;
  display: none;
}

html[dir="rtl"] .bn-lang-menu {
  right: auto;
  left: 0;
}

.bn-lang-switcher.is-open .bn-lang-menu {
  display: grid;
  gap: 2px;
}

.bn-lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 11px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--bn-midnight);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  text-align: start;
}

.bn-lang-option:hover,
.bn-lang-option.is-active {
  background: var(--bn-bg-parchment);
  font-weight: 600;
}

.bn-lang-option-left {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

@media (max-width: 1340px) and (min-width: 1061px) {
  .bn-icon-pill kbd,
  .bn-icon-pill .bn-pill-label-lg {
    display: none;
  }
  .bn-icon-pill {
    padding: 0 9px;
  }
}

/* RTL Support for Arabic (dir="rtl") */
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .announcement-bar {
  padding: 10px 20px 10px 44px;
}

html[dir="rtl"] .announcement-close {
  right: auto;
  left: 12px;
}

html[dir="rtl"] .hero-home,
html[dir="rtl"] .text-center {
  text-align: center;
}

html[dir="rtl"] .os-window-chrome,
html[dir="rtl"] .int-code-block,
html[dir="rtl"] code,
html[dir="rtl"] pre {
  direction: ltr;
  text-align: left;
}

/* Unified Enterprise Lightbox System (Search, Cookie Governance, Careers, Events, Connectors) */
.bn-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 15, 20, 0.68);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
}

.bn-modal-overlay[data-search-modal] {
  align-items: flex-start;
  padding: 72px 16px 24px;
}

.bn-modal-overlay[hidden] {
  display: none !important;
}

.bn-search-dialog,
.bn-form-dialog,
.bn-modal-dialog {
  width: 100%;
  max-width: 680px;
  background: #ffffff;
  border: 1px solid var(--bn-border-strong);
  border-radius: 22px;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.bn-form-dialog,
.bn-modal-dialog {
  max-height: 88vh;
  overflow-y: auto;
  padding: 28px;
}

.bn-modal-dialog.bn-lightbox-dialog {
  padding: 0;
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  overflow: hidden;
  background: #ffffff;
}

.bn-modal-dialog.bn-career-lightbox {
  max-width: 880px;
}

.bn-lightbox-head {
  padding: 20px 26px;
  background: var(--bn-bg-parchment);
  border-bottom: 1px solid var(--bn-border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.bn-lightbox-body {
  padding: 24px 26px;
  overflow-y: auto;
  flex: 1 1 auto;
  background: #ffffff;
}

.bn-lightbox-foot {
  padding: 14px 26px;
  background: var(--bn-bg-parchment);
  border-top: 1px solid var(--bn-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.bn-search-bar-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bn-bg-parchment);
  border-bottom: 1px solid var(--bn-border);
}

.bn-search-bar-top input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--bn-midnight);
  background: transparent;
}

.bn-search-results {
  max-height: 62vh;
  overflow-y: auto;
  padding: 10px;
  display: grid;
  gap: 4px;
}

.bn-search-hit {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--bn-midnight);
  transition: background 0.14s ease;
}

.bn-search-hit:hover,
.bn-search-hit:focus {
  background: var(--bn-bg-parchment);
  outline: none;
}

.bn-search-hit-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bn-maroon);
}

.bn-search-hit strong {
  font-size: 0.94rem;
  color: var(--bn-midnight);
}

.bn-search-hit p {
  font-size: 0.82rem;
  color: var(--bn-text-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bn-search-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: var(--bn-bg-parchment);
  border-top: 1px solid var(--bn-border);
  font-size: 0.76rem;
  color: var(--bn-text-muted);
}

/* Status badges & Brand kit helpers */
.bn-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: #ecfdf3;
  color: #067647;
  border: 1px solid #abefc6;
}

.bn-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #17b26a;
  box-shadow: 0 0 0 3px rgba(23, 178, 106, 0.2);
}

.bn-swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.bn-swatch-card {
  border: 1px solid var(--bn-border);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
}

.bn-swatch-chip {
  height: 88px;
}

.bn-swatch-body {
  padding: 14px 16px;
  font-size: 0.82rem;
}

.bn-copy-boilerplate {
  position: relative;
  padding: 20px;
  border: 1px solid var(--bn-border);
  border-radius: 16px;
  background: #ffffff;
}

@media (max-width: 767px) {
  .bn-modal-overlay {
    padding: 16px 10px;
  }
  .bn-form-dialog {
    padding: 20px 16px;
  }
}

/* Headless Full-Page Localization Suppressor (Zero External Banner/Tooltip Chrome) */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
body > .skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-spinner-pos,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

html.translated-ltr body,
html.translated-rtl body,
body {
  top: 0 !important;
  margin-top: 0 !important;
  position: static !important;
}

.goog-text-highlight,
font[style*="background-color"] {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Lightbox Inner Layouts, Career JD Panels, Contact Hero Alignment & Refactored Blog Charts */
.bn-lightbox-body .int-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.career-jd-panel {
  display: grid;
  gap: 14px;
  padding-bottom: 24px;
  color: var(--bn-text-secondary);
  font-size: 0.91rem;
  line-height: 1.7;
}

.career-jd-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 12px 16px;
  background: var(--bn-bg-parchment);
  border: 1px solid var(--bn-border);
  border-radius: 12px;
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--bn-midnight);
}

.career-jd-panel h3 {
  font-family: var(--bn-font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--bn-midnight);
  margin: 8px 0 2px;
}

.career-jd-panel p {
  margin: 0;
}

.career-jd-panel ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  list-style: disc;
}

.career-apply-divider {
  padding-top: 24px;
  border-top: 2px solid var(--bn-border-strong);
}

/* Contact Page Balanced Two-Column Alignment */
.demo-split-layout.contact-hero-split {
  align-items: stretch;
}

.contact-intro-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.contact-form-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-form-col form {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

/* Zero-Overlap Editorial Blog Chart Framing */
.essay-chart-wrap {
  background: #ffffff;
  border: 1px solid var(--bn-border-strong);
  border-radius: 18px;
  padding: 22px 24px 18px;
  margin: 28px 0;
  box-shadow: 0 10px 28px rgba(19, 22, 27, 0.05);
}

.essay-chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bn-border);
}

.essay-chart-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bn-maroon);
  margin-bottom: 4px;
}

.essay-chart-title {
  font-family: var(--bn-font-serif);
  font-size: 1.18rem;
  line-height: 1.32;
  color: var(--bn-midnight);
  margin: 0 0 4px;
}

.essay-chart-sub {
  font-size: 0.84rem;
  line-height: 1.48;
  color: var(--bn-text-secondary);
  margin: 0;
}

.essay-chart-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--bn-midnight);
  padding-top: 4px;
}

.essay-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.essay-chart-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.essay-chart-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.essay-chart-source {
  font-size: 0.77rem;
  line-height: 1.45;
  color: var(--bn-text-muted);
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--bn-border);
}

@media (max-width: 767px) {
  .bn-lightbox-head {
    padding: 16px 18px;
  }
  .bn-lightbox-body {
    padding: 18px;
  }
  .bn-lightbox-foot {
    padding: 12px 18px;
  }
  .essay-chart-wrap {
    padding: 16px 14px 14px;
  }
}

/* ==========================================================================
   16. V5.5 GO-LIVE OVERHAUL: UNCROPPED RETINA WORKSPACE STAGES, SOLUTIONS
       CARD ALIGNMENT, DARK-HERO CONTRAST, RTL MARQUEE FIX, NON-BLOCKING
       FORTUNE-500 COOKIE BOTTOM BAR, MOBILE TOUR/COMP SWITCHERS & TABLES
   ========================================================================== */

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

/* 16.1 Defensive Dark Hero CTA Button Contrast (Item 18) */
.page-hero.theme-midnight .btn-primary,
.page-hero.theme-maroon .btn-primary {
  background: var(--bn-accent-lime);
  color: var(--bn-midnight);
  border-color: var(--bn-accent-lime);
  font-weight: 700;
}
.page-hero.theme-midnight .btn-primary:hover,
.page-hero.theme-maroon .btn-primary:hover {
  background: var(--bn-accent-lime-hover);
  color: var(--bn-midnight);
}
.page-hero.theme-midnight .btn-outline,
.page-hero.theme-maroon .btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(238, 255, 109, 0.72);
}
.page-hero.theme-midnight .btn-outline:hover,
.page-hero.theme-maroon .btn-outline:hover {
  background: var(--bn-accent-lime);
  color: var(--bn-midnight);
  border-color: var(--bn-accent-lime);
}

/* 16.2 Solutions Hub 24-Card Precision Alignment (Item 11) */
.sol-hub-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  height: 100%;
  padding: 28px 26px;
  text-align: start;
}
.sol-hub-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.sol-hub-tag {
  align-self: flex-start;
  line-height: 1.3;
}
.sol-hub-title {
  margin: 2px 0 0;
  line-height: 1.26;
}
.sol-hub-desc {
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--bn-text-secondary);
  margin: 0;
}
.sol-hub-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--bn-border);
  margin-top: auto;
  flex-wrap: wrap;
}
.sol-hub-metric {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bn-maroon);
  line-height: 1.35;
}
.sol-hub-link {
  font-size: 0.86rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 16.3 Crisp Uncropped Product Screenshot Frames & Workspace Showcases (Items 2, 13, 19, 20) */
.bn-screen-frame {
  background: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 44px -14px rgba(11, 13, 17, 0.34);
}
.bn-screen-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  background: #171c24;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.bn-screen-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bn-screen-frame picture,
.bn-screen-frame img {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  object-fit: contain !important;
  display: block;
}

.bn-ws-showcase {
  background: #0f131a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 28px 64px -18px rgba(11, 13, 17, 0.42);
}
.bn-ws-showcase-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 24px;
  margin-bottom: 24px;
}
.bn-ws-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}
.bn-ws-showcase-foot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.bn-ws-kpi {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 16px;
}
.bn-ws-kpi span {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bn-accent-lime);
  margin-bottom: 4px;
}
.bn-ws-kpi strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
}

.bn-dual-screen-card {
  background: #ffffff;
  border: 1px solid var(--bn-border);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--bn-shadow-sm);
}
.bn-dual-screen-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 4px 4px 2px;
  font-size: 0.9rem;
}

/* Release Notes 2-Column Uncropped Layout (/product-updates/, Item 2) */
.bn-release-card {
  background: #ffffff;
  border: 1px solid var(--bn-border-strong);
  border-radius: 22px;
  padding: 32px;
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 30px;
  align-items: center;
  box-shadow: var(--bn-shadow-sm);
}
.bn-release-card:last-child {
  margin-bottom: 0;
}
.bn-release-highlights ul {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding-left: 18px;
  list-style: disc;
  font-size: 0.88rem;
  line-height: 1.62;
  color: var(--bn-text-primary);
}
.bn-release-media {
  min-width: 0;
}

/* 16.4 Integrations Gateway Spec Bar Clean Alignment (Item 30) */
.int-spec-bar {
  margin-top: 26px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--bn-border-strong);
  border-radius: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  box-shadow: var(--bn-shadow-sm);
}
.int-spec-bar-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  min-width: 0;
}
.int-spec-bar-sub {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--bn-midnight);
  line-height: 1.4;
}
.int-spec-bar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* 16.5 RTL Marquee Direction Lock So Brand Logos Never Vanish in Arabic (Item 31) */
.marquee-section,
.marquee-track-wrap,
html[dir="rtl"] .marquee-section,
html[dir="rtl"] .marquee-track-wrap {
  direction: ltr !important;
}
html[dir="rtl"] .marquee-section .container {
  direction: rtl;
}

/* 16.6 Fortune-500 Non-Blocking Bottom Cookie Consent Bar (Item 32) */
.cookie-bottom-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: max(14px, env(safe-area-inset-bottom));
  max-width: 1240px;
  margin: 0 auto;
  z-index: 2300;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bn-border-strong);
  border-radius: 18px;
  padding: 16px 22px;
  box-shadow: 0 20px 48px rgba(12, 15, 20, 0.22);
}
.cookie-bottom-bar[hidden] {
  display: none !important;
}
.cookie-bottom-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}
.cookie-bottom-copy {
  font-size: 0.82rem;
  line-height: 1.48;
  color: var(--bn-text-secondary);
  min-width: 0;
}
.cookie-bottom-copy strong {
  color: var(--bn-midnight);
  font-size: 0.88rem;
  margin-right: 6px;
}
.cookie-bottom-copy a {
  color: var(--bn-maroon);
  font-weight: 700;
  text-decoration: underline;
}
.cookie-bottom-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* 16.7 Mobile Interactive Product Tour Bar & Mobile Competitor Switcher (Item 25) */
.pt-mobile-bar {
  display: none;
}
.bn-comp-mobile {
  display: none;
}

/* 16.8 Cross-Device Demo Page Perfection (iPad, 13"/14"/16" Laptops, Large Screens & iPhones) */
@media (max-width: 1340px) and (min-width: 1121px) {
  .demo-split-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 26px;
  }
  .demo-booking-card {
    padding: 26px 24px;
  }
  .demo-date-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .demo-split-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .demo-booking-card {
    max-width: 780px;
  }
  .bn-release-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 22px;
  }
  .bn-ws-showcase {
    padding: 24px;
  }
  .bn-ws-showcase-foot {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 960px) {
  .cookie-bottom-main {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .cookie-bottom-actions {
    justify-content: flex-end;
  }
}

/* 16.9 Mobile UI/UX Overhaul (iPhone 14-18 Pro & Pro Max: 390px-440px, <= 767px) */
@media (max-width: 767px) {
  /* Product Tour Compact Mobile Workspace Picker */
  .pt-sidebar {
    display: none !important;
  }
  .pt-controls [data-pt-prev],
  .pt-controls [data-pt-next],
  .pt-controls [data-pt-play] {
    display: none;
  }
  .pt-mobile-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #161a20;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .pt-mobile-select {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    padding: 0 34px 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(238, 255, 109, 0.45);
    background-color: #0d1015;
    color: #ffffff;
    font-size: 16px !important;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6L8 10L12 6' stroke='%23EEFF6D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
  }
  .pt-mobile-step-btns {
    display: inline-flex;
    gap: 6px;
    flex-shrink: 0;
  }
  .pt-mobile-step-btns .pt-ctrl-btn {
    min-width: 40px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
  }
  .pt-body {
    min-height: 0;
  }

  /* Mobile Competitor Pill Switcher (Replaces 5-Column Wide Matrix on Mobile) */
  .bn-comp-desktop-only {
    display: none !important;
  }
  .bn-comp-mobile {
    display: block;
  }
  .bn-comp-pills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 5px;
    background: var(--bn-bg-stone-pill);
    border-radius: 14px;
    margin-bottom: 14px;
  }
  .bn-comp-pill {
    padding: 10px 6px;
    border-radius: 10px;
    border: none;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--bn-text-secondary);
    cursor: pointer;
    text-align: center;
    line-height: 1.2;
  }
  .bn-comp-pill.is-active {
    background: var(--bn-midnight);
    color: var(--bn-accent-lime);
    box-shadow: 0 3px 10px rgba(19, 22, 27, 0.16);
  }
  .bn-comp-cards,
  .bn-comp-extra {
    display: grid;
    gap: 10px;
  }
  .bn-comp-extra[hidden] {
    display: none !important;
  }
  .bn-comp-row-card {
    background: #ffffff;
    border: 1px solid var(--bn-border-strong);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 4px 12px rgba(19, 22, 27, 0.04);
  }
  .bn-comp-domain {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--bn-midnight);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--bn-border);
  }
  .bn-comp-pair {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .bn-comp-them,
  .bn-comp-us {
    padding: 10px 12px;
    border-radius: 11px;
    font-size: 0.83rem;
    line-height: 1.42;
  }
  .bn-comp-them {
    background: var(--bn-bg-parchment);
    color: var(--bn-text-secondary);
    border: 1px solid var(--bn-border);
  }
  .bn-comp-us {
    background: #fcfde8;
    color: var(--bn-midnight);
    border: 1px solid rgba(30, 32, 34, 0.24);
    font-weight: 600;
  }
  .bn-comp-them span,
  .bn-comp-us span {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 3px;
  }
  .bn-comp-us span {
    color: var(--bn-maroon);
  }
  .bn-comp-them p,
  .bn-comp-us p {
    margin: 0;
  }
  .bn-comp-more-btn {
    width: 100%;
    margin-top: 12px;
  }

  /* Site-Wide Mobile-Friendly Stacked Tables (Item 28) */
  .matrix-table-wrap,
  .pt-ui-table-wrap {
    overflow-x: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }
  .matrix-table,
  .pt-ui-table {
    display: block;
    width: 100%;
    min-width: 0 !important;
  }
  .matrix-table thead,
  .pt-ui-table thead {
    display: none;
  }
  .matrix-table tbody,
  .pt-ui-table tbody {
    display: grid;
    gap: 12px;
  }
  .matrix-table tr,
  .pt-ui-table tr {
    display: block;
    background: #ffffff;
    border: 1px solid var(--bn-border-strong);
    border-radius: 14px;
    padding: 12px 15px;
    box-shadow: 0 3px 10px rgba(19, 22, 27, 0.04);
  }
  .matrix-table td,
  .pt-ui-table td {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 8px 0;
    border-bottom: 1px solid var(--bn-border);
    font-size: 0.86rem;
    line-height: 1.45;
  }
  .matrix-table td:first-child,
  .pt-ui-table td:first-child {
    padding-top: 2px;
    font-size: 0.92rem;
    color: var(--bn-midnight);
  }
  .matrix-table td:last-child,
  .pt-ui-table td:last-child {
    border-bottom: none;
    padding-bottom: 2px;
  }
  .matrix-table td[data-label]::before,
  .pt-ui-table td[data-label]::before {
    content: attr(data-label);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bn-text-muted);
  }
  html[dir="rtl"] .matrix-table td,
  html[dir="rtl"] .pt-ui-table td {
    align-items: flex-end;
    text-align: right;
  }

  /* Integrations Spec Bar Mobile Clean Stack (Item 30) */
  .int-spec-bar {
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    text-align: left;
  }
  .int-spec-bar-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .int-spec-bar-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }
  .int-spec-bar-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Workspace Showcase & Release Cards on Mobile */
  .bn-ws-showcase {
    padding: 18px 16px;
    border-radius: 18px;
  }
  .bn-ws-showcase-actions {
    width: 100%;
  }
  .bn-ws-showcase-actions .btn {
    flex: 1 1 auto;
  }
  .bn-screen-chrome {
    padding: 8px 12px;
  }
  .bn-release-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  /* Sleek Compact Cookie Bottom Bar on iPhones (Item 32) */
  .cookie-bottom-bar {
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    padding: 13px 14px;
    border-radius: 15px;
  }
  .cookie-bottom-copy {
    font-size: 0.76rem;
    line-height: 1.38;
  }
  .cookie-bottom-copy strong {
    display: block;
    font-size: 0.82rem;
    margin-bottom: 2px;
  }
  .cookie-bottom-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    width: 100%;
  }
  .cookie-bottom-actions [data-cookie-accept-all] {
    grid-column: 1 / -1;
  }
  .cookie-bottom-actions .btn {
    padding: 9px 10px;
    font-size: 0.78rem;
    width: 100%;
  }
}
