/* ============================================================
   Broker Setup — StyleSheet.css
   Border-First Fintech Infrastructure System · Light Theme Only
   ============================================================ */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  /* Colors */
  --ColorCanvasWhite: #ffffff;
  --ColorPaperMist: #f5f5f5;
  --ColorAsh: #e5e5e5;
  --ColorSmoke: #d4d4d4;
  --ColorPebble: #c8c8c8;
  --ColorMidnightInk: #0a0a0a;
  --ColorCharcoal: #171717;
  --ColorGraphite: #262626;
  --ColorSlate: #404040;
  --ColorSteel: #525252;
  --ColorFog: #737373;
  --ColorSilver: #a3a3a3;
  --ColorElectricBlue: #2563eb;
  --ColorDeepSapphire: #1e40af;
  --ColorVividGreen: #16a34a;
  --ColorTangerine: #ea580c;
  --ColorLavender: #7c3aed;
  --ColorSoftMint: #dcfce7;
  --ColorSoftBlue: #dbeaff;
  --ColorSoftViolet: #ede9fe;
  --ColorSoftOrange: #ffedd5;
  --ColorSignalRed: #dc2626;
  --ColorDeepRed: #991b1b;
  --ColorSoftRed: #fee2e2;
  --ColorPrimaryActionFill: #000000;

  /* Product Brand Identities */
  --ColorRiskCanvas: #fdfcfc;
  --ColorRiskAccent: #0447ff;
  --ColorRiskInk: #000000;
  --ColorWalletCanvas: #fdf9f4;
  --ColorWalletSand: #f9efe4;
  --ColorWalletOrange: #f67748;
  --ColorWalletOrangeDeep: #e2602f;
  --ColorWalletInk: #2d2f34;
  --ColorSupportCanvas: #f4f2f0;
  --ColorSupportYellow: #e4f222;
  --ColorSupportInk: #0c0a08;
  --GradientConicSpectrum: conic-gradient(from -81deg, #ff0000, #eab308 99deg, #5cff80 162deg, #00fff9 216deg, #3a8bfd 288deg, #855afc);

  /* Typography */
  --FontDisplay: "Space Grotesk", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --FontBody: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --FontMono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Spacing */
  --SpacingSection: clamp(72px, 9vw, 112px);
  --SpacingSectionHeader: clamp(40px, 5vw, 56px);

  /* Radii */
  --RadiusPill: 9999px;
  --RadiusButton: 8px;
  --RadiusCard: 12px;
  --RadiusLargeCard: 16px;
  --RadiusInput: 6px;

  /* Shadows */
  --ShadowSubtle: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  --ShadowRing: rgba(0, 0, 0, 0.08) 0px 0px 0px 4px;
  --ShadowMd: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;

  /* Layout */
  --PageMaxWidth: 1200px;
  --PagePadding: clamp(20px, 4vw, 32px);
  --HeaderHeight: 64px;

  /* Motion */
  --MotionFast: 160ms ease;
  --MotionMedium: 240ms ease;
}

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

html {
  scroll-padding-top: calc(var(--HeaderHeight) + 60px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  background-color: var(--ColorCanvasWhite);
  color: var(--ColorCharcoal);
  font-family: var(--FontBody);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-weight: 500;
  overflow-wrap: anywhere;
}

ul, ol {
  list-style: none;
}

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

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

fieldset {
  border: none;
}

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

address {
  font-style: normal;
}

b, strong {
  font-weight: 600;
  color: var(--ColorCharcoal);
}

::selection {
  background-color: var(--ColorSoftBlue);
  color: var(--ColorMidnightInk);
}

:focus-visible {
  outline: 2px solid var(--ColorElectricBlue);
  outline-offset: 2px;
  border-radius: var(--RadiusButton);
}

/* ============================================================
   Utilities
   ============================================================ */
.PageContainer {
  width: 100%;
  max-width: calc(var(--PageMaxWidth) + (var(--PagePadding) * 2));
  margin-inline: auto;
  padding-inline: var(--PagePadding);
}

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

.SkipLink {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 12px 20px;
  background-color: var(--ColorMidnightInk);
  color: var(--ColorCanvasWhite);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--RadiusButton);
  transform: translateY(-200%);
}

.SkipLink:focus {
  transform: translateY(0);
}

.Section {
  padding-block: var(--SpacingSection);
}

.SectionPaper {
  background-color: var(--ColorPaperMist);
  border-block: 1px solid var(--ColorAsh);
}

.SectionHeader {
  max-width: 720px;
  margin-bottom: var(--SpacingSectionHeader);
}

.Eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--FontMono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ColorFog);
  margin-bottom: 18px;
}

.EyebrowTick {
  display: inline-block;
  width: 22px;
  height: 2px;
  background-color: var(--ColorElectricBlue);
  border-radius: 2px;
  flex-shrink: 0;
}

.SectionTitle {
  font-family: var(--FontDisplay);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ColorMidnightInk);
  text-wrap: balance;
}

.SectionLede {
  margin-top: 18px;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--ColorSteel);
  max-width: 62ch;
}

.SectionLede strong {
  color: var(--ColorCharcoal);
}

/* Shared Accent Dots */
.PillDot,
.StatusDot,
.DropdownItemDot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.DotBlue { background-color: var(--ColorElectricBlue); }
.DotGreen { background-color: var(--ColorVividGreen); }
.DotOrange { background-color: var(--ColorTangerine); }
.DotViolet { background-color: var(--ColorLavender); }
.DotRed { background-color: var(--ColorSignalRed); }
.StatusDotGreen { background-color: var(--ColorVividGreen); }
.StatusDotBlue { background-color: var(--ColorElectricBlue); }
.StatusDotOrange { background-color: var(--ColorTangerine); }
.StatusDotViolet { background-color: var(--ColorLavender); }
.StatusDotRed { background-color: var(--ColorSignalRed); }

.EyebrowTickRed {
  background-color: var(--ColorSignalRed);
}

/* ============================================================
   Buttons
   ============================================================ */
.PrimaryButton,
.OutlinedButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--RadiusButton);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color var(--MotionFast), border-color var(--MotionFast), color var(--MotionFast), transform var(--MotionFast);
}

.PrimaryButton {
  background-color: var(--ColorPrimaryActionFill);
  color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorPrimaryActionFill);
  box-shadow: var(--ShadowSubtle);
}

.PrimaryButton:hover {
  background-color: var(--ColorGraphite);
  border-color: var(--ColorGraphite);
  transform: translateY(-1px);
}

.PrimaryButton:active {
  transform: translateY(0);
}

.OutlinedButton {
  background-color: var(--ColorCanvasWhite);
  color: var(--ColorCharcoal);
  border: 1px solid var(--ColorAsh);
}

.OutlinedButton:hover {
  border-color: var(--ColorPebble);
  background-color: var(--ColorPaperMist);
}

/* ============================================================
   Header And Navigation
   ============================================================ */
.SiteHeader {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--MotionMedium);
}

.SiteHeader.IsScrolled {
  border-bottom-color: var(--ColorAsh);
}

/* Announcement Bar: Collapses Once The Page Scrolls */
.AnnouncementBar {
  display: grid;
  grid-template-rows: 1fr;
  background-color: var(--ColorMidnightInk);
  transition: grid-template-rows var(--MotionMedium);
}

.SiteHeader.IsScrolled .AnnouncementBar {
  grid-template-rows: 0fr;
}

[hidden] {
  display: none !important;
}

.AnnouncementBar[hidden] {
  display: none;
}

.AnnouncementClip {
  overflow: hidden;
}

.AnnouncementInner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding-block: 4px;
}

.AnnouncementText {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  min-width: 0;
}

.AnnouncementDot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--ColorSignalRed);
  flex-shrink: 0;
}

.AnnouncementLink {
  color: var(--ColorCanvasWhite);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.AnnouncementDismiss {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: var(--RadiusPill);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--MotionFast), background-color var(--MotionFast);
}

.AnnouncementDismiss:hover {
  color: var(--ColorCanvasWhite);
  background-color: rgba(255, 255, 255, 0.12);
}

.NavigationInner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--HeaderHeight);
}

.BrandWordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.BrandText {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.BrandName {
  font-family: var(--FontDisplay);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ColorMidnightInk);
  white-space: nowrap;
}

.BrandName {
  font-size: 18px;
}

.PrimaryNavigation {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.NavigationList {
  display: flex;
  align-items: center;
  gap: 2px;
}

.NavigationLink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--RadiusPill);
  font-size: 14px;
  font-weight: 500;
  color: var(--ColorSlate);
  white-space: nowrap;
  transition: color var(--MotionFast), background-color var(--MotionFast);
}

.NavigationLink:hover {
  color: var(--ColorMidnightInk);
  background-color: var(--ColorPaperMist);
}

.NavigationLink.IsActive {
  color: var(--ColorMidnightInk);
  background-color: var(--ColorPaperMist);
}

/* Products Dropdown */
.NavigationDropdown {
  position: relative;
}

/* Invisible Hover Bridge So The Menu Never Vanishes Between Button And Panel */
.NavigationDropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 14px;
}

.NavigationDropdownButton svg {
  transition: transform var(--MotionFast);
}

.NavigationDropdown.IsOpen .NavigationDropdownButton svg,
.NavigationDropdown:hover .NavigationDropdownButton svg {
  transform: rotate(180deg);
}

.NavigationDropdownMenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 300px;
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusCard);
  box-shadow: var(--ShadowMd);
  padding: 8px;
  display: none;
  z-index: 120;
}

.NavigationDropdown.IsOpen .NavigationDropdownMenu {
  display: block;
}

/* Keyboard And No-JS Fallback */
.NavigationDropdown:focus-within .NavigationDropdownMenu,
.NavigationDropdown:hover .NavigationDropdownMenu {
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes DropdownIn {
    from {
      opacity: 0;
      transform: translateX(-50%) translateY(-4px);
    }
    to {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
  }

  .NavigationDropdownMenu {
    animation: DropdownIn 180ms ease both;
  }
}

.DropdownItem {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--RadiusButton);
  transition: background-color var(--MotionFast);
}

.DropdownItem:hover {
  background-color: var(--ColorPaperMist);
}

.DropdownItem .DropdownItemDot {
  margin-top: 7px;
}

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

.DropdownItemText strong {
  font-size: 14px;
  color: var(--ColorMidnightInk);
}

.DropdownItemText span:last-child {
  font-size: 12.5px;
  color: var(--ColorFog);
}

.DropdownFooterLink {
  display: block;
  margin-top: 6px;
  padding: 10px 12px;
  border-top: 1px solid var(--ColorAsh);
  font-size: 13px;
  font-weight: 500;
  color: var(--ColorElectricBlue);
  border-radius: 0 0 var(--RadiusButton) var(--RadiusButton);
}

.DropdownFooterLink:hover {
  background-color: var(--ColorPaperMist);
}

.NavigationActions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.HeaderCta {
  min-height: 40px;
  padding: 0 16px;
}

/* Mobile Menu Button */
.MobileMenuButton {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusButton);
  transition: background-color var(--MotionFast);
}

.MobileMenuButton:hover {
  background-color: var(--ColorPaperMist);
}

.MobileMenuIcon {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.MobileMenuIcon span {
  display: block;
  height: 2px;
  background-color: var(--ColorMidnightInk);
  border-radius: 2px;
  transition: transform var(--MotionMedium);
}

.MobileMenuButton[aria-expanded="true"] .MobileMenuIcon span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.MobileMenuButton[aria-expanded="true"] .MobileMenuIcon span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.MobileMenu {
  background-color: var(--ColorCanvasWhite);
  border-bottom: 1px solid var(--ColorAsh);
}

.MobileMenu nav {
  display: grid;
  gap: 2px;
  padding-block: 10px 20px;
}

.MobileMenuLink {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  border-radius: var(--RadiusButton);
  font-size: 15px;
  font-weight: 500;
  color: var(--ColorSlate);
}

.MobileMenuLink:hover {
  background-color: var(--ColorPaperMist);
  color: var(--ColorMidnightInk);
}

.MobileMenuSubLink {
  padding-left: 28px;
  font-size: 14px;
  color: var(--ColorFog);
}

.MobileMenuCta {
  margin-top: 10px;
  justify-self: start;
}

/* ============================================================
   Hero
   ============================================================ */
.HeroSection {
  position: relative;
  padding-block: clamp(56px, 7vw, 96px) clamp(56px, 7vw, 88px);
  overflow: hidden;
}

.HeroBackdrop {
  position: absolute;
  inset: 0 0 30% 0;
  background-image: radial-gradient(var(--ColorPebble) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.35;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), transparent 90%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), transparent 90%);
}

.HeroStack {
  position: relative;
  max-width: 860px;
}

.HeroTitle {
  font-family: var(--FontDisplay);
  font-weight: 500;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ColorMidnightInk);
}

.HeroTitleAccent {
  font-style: italic;
  color: var(--ColorElectricBlue);
}

.HeroLede {
  margin-top: 24px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ColorSteel);
  max-width: 62ch;
}

.HeroActions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.HeroActions .PrimaryButton,
.HeroActions .OutlinedButton {
  min-height: 48px;
  padding: 0 24px;
  font-size: 15px;
}

.HeroPillRow {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.FeaturePill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusPill);
  font-size: 13px;
  font-weight: 500;
  color: var(--ColorCharcoal);
  white-space: nowrap;
}

/* Hero Launch Control Center */
.ControlCenter {
  position: relative;
  margin-top: clamp(40px, 5vw, 56px);
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusLargeCard);
  box-shadow: var(--ShadowRing);
  overflow: hidden;
  will-change: transform;
  transition: transform 240ms ease;
}

/* Decorative Conic Orbit Behind The Control Center */
.SpectrumOrbit {
  position: absolute;
  top: clamp(320px, 38vw, 420px);
  right: -140px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--GradientConicSpectrum);
  -webkit-mask-image: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask-image: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  opacity: 0.5;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .SpectrumOrbit {
    animation: OrbitSpin 26s linear infinite;
  }

  @keyframes OrbitSpin {
    to { transform: rotate(360deg); }
  }
}

@media (max-width: 960px) {
  .SpectrumOrbit {
    display: none;
  }
}

.SpectrumEdge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--GradientConicSpectrum);
  opacity: 0.85;
}

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

.ControlCenterBrand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ColorMidnightInk);
}

.ControlCenterStatus {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--FontMono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ColorSteel);
}

.ControlCenterBody {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
}

/* Launch Checklist */
.LaunchChecklist {
  padding: 20px 22px;
  border-right: 1px solid var(--ColorAsh);
}

.PanelLabel {
  font-family: var(--FontMono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ColorFog);
  margin-bottom: 12px;
}

.ChecklistRows {
  display: grid;
}

.ChecklistRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  border-bottom: 1px solid var(--ColorPaperMist);
}

.ChecklistName {
  font-size: 13.5px;
  color: var(--ColorSlate);
}

.StatePill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--RadiusPill);
  font-family: var(--FontMono);
  font-size: 11px;
  white-space: nowrap;
}

.StateDone {
  background-color: var(--ColorSoftMint);
  color: #14532d;
}

.StateActive {
  background-color: var(--ColorSoftBlue);
  color: var(--ColorDeepSapphire);
}

.StateQueued {
  background-color: var(--ColorPaperMist);
  color: var(--ColorFog);
}

.GoLiveGate {
  margin-top: 16px;
  padding: 12px;
  background-color: var(--ColorPaperMist);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusCard);
  display: grid;
  gap: 8px;
}

.GoLiveLabel {
  font-family: var(--FontMono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ColorSteel);
}

.GoLiveMeter {
  display: block;
  height: 6px;
  background-color: var(--ColorAsh);
  border-radius: var(--RadiusPill);
  overflow: hidden;
}

.GoLiveMeterFill {
  display: block;
  height: 100%;
  width: 29%;
  border-radius: inherit;
  background-color: var(--ColorElectricBlue);
}

.GoLiveValue {
  font-size: 12.5px;
  color: var(--ColorSteel);
}

/* Topology Map */
.TopologyPanel {
  padding: 20px 22px;
  min-width: 0;
}

.TopologyMap {
  width: 100%;
  height: auto;
}

.TopologyLinks path {
  stroke: var(--ColorSmoke);
  stroke-dasharray: 5 6;
}

@media (prefers-reduced-motion: no-preference) {
  .TopologyLinks path {
    animation: FlowDash 2.4s linear infinite;
  }
}

@keyframes FlowDash {
  to {
    stroke-dashoffset: -22;
  }
}

.TopologyNode rect {
  fill: var(--ColorCanvasWhite);
  stroke: var(--ColorAsh);
  stroke-width: 1;
}

.TopologyNodeCore rect {
  stroke: var(--ColorElectricBlue);
  stroke-width: 1.25;
}

.TopologyNode text {
  font-family: var(--FontMono);
  font-size: 11.5px;
  fill: var(--ColorSlate);
}

.NodeDotGreen { fill: var(--ColorVividGreen); }
.NodeDotBlue { fill: var(--ColorElectricBlue); }
.NodeDotOrange { fill: var(--ColorTangerine); }
.NodeDotViolet { fill: var(--ColorLavender); }
.NodeDotRed { fill: var(--ColorSignalRed); }

.TopologyFooter {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.TopologyChip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusPill);
  font-family: var(--FontMono);
  font-size: 11px;
  color: var(--ColorSteel);
  white-space: nowrap;
}

/* Environment Tabs */
.EnvironmentTabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  background-color: var(--ColorPaperMist);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusPill);
}

.EnvironmentTab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--RadiusPill);
  font-family: var(--FontMono);
  font-size: 11px;
  color: var(--ColorFog);
  white-space: nowrap;
}

.EnvironmentTab.IsCurrent {
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorAsh);
  color: var(--ColorDeepSapphire);
  box-shadow: var(--ShadowSubtle);
}

.EnvironmentTab.IsLocked {
  color: var(--ColorSignalRed);
}

/* Integration Tests */
.PanelLabelSpaced {
  margin-top: 18px;
}

.TestRows {
  display: grid;
}

.TestRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  border-bottom: 1px solid var(--ColorPaperMist);
}

.TestRow:last-child {
  border-bottom: none;
}

.TestName {
  font-family: var(--FontMono);
  font-size: 11.5px;
  color: var(--ColorSteel);
}

.TestState {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: var(--RadiusPill);
  font-family: var(--FontMono);
  font-size: 10.5px;
  white-space: nowrap;
}

.TestStatePass {
  background-color: var(--ColorSoftMint);
  color: #14532d;
}

.TestStateRun {
  background-color: var(--ColorSoftBlue);
  color: var(--ColorDeepSapphire);
}

@media (prefers-reduced-motion: no-preference) {
  .TestStateRun {
    animation: PulseSoft 2s ease infinite;
  }

  @keyframes PulseSoft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
  }
}

.TestStateWait {
  background-color: var(--ColorPaperMist);
  color: var(--ColorFog);
}

.TestStateAlert {
  background-color: var(--ColorSoftRed);
  color: var(--ColorDeepRed);
}

@media (prefers-reduced-motion: no-preference) {
  .TestStateAlert {
    animation: PulseSoft 2s ease infinite;
  }
}

/* Access Roles */
.RoleChips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.RoleChip {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  background-color: var(--ColorPaperMist);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusPill);
  font-family: var(--FontMono);
  font-size: 10.5px;
  color: var(--ColorSteel);
  white-space: nowrap;
}

/* Deployment Pipeline */
.PipelineRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 10px 12px;
  background-color: var(--ColorPaperMist);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusCard);
}

.PipelineStep {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusPill);
  background-color: var(--ColorCanvasWhite);
  font-family: var(--FontMono);
  font-size: 10.5px;
  color: var(--ColorFog);
  white-space: nowrap;
}

.PipelineStep::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--ColorSmoke);
}

.PipelineStep:not(:last-child)::after {
  content: "";
  width: 10px;
  height: 1.5px;
  background-color: var(--ColorPebble);
  position: absolute;
  right: -9px;
  top: 50%;
  transform: translateY(-50%);
}

.PipelineStep.IsDone {
  color: var(--ColorSteel);
}

.PipelineStep.IsDone::before {
  background-color: var(--ColorVividGreen);
}

.PipelineStep.IsCurrent {
  border-color: var(--ColorElectricBlue);
  color: var(--ColorDeepSapphire);
  background-color: var(--ColorSoftBlue);
}

.PipelineStep.IsCurrent::before {
  background-color: var(--ColorElectricBlue);
}

.PipelineStep.IsGate {
  border-color: var(--ColorSignalRed);
  color: var(--ColorDeepRed);
  background-color: var(--ColorSoftRed);
}

.PipelineStep.IsGate::before {
  background-color: var(--ColorSignalRed);
}

/* Alert Accents */
.GoLiveLock {
  color: var(--ColorSignalRed);
  font-weight: 600;
}

.FeedRow.FeedRowAlert .FeedTime {
  color: var(--ColorSignalRed);
}

.FeedRow.FeedRowAlert .FeedText {
  color: var(--ColorDeepRed);
}

.TopologyChipAlert {
  border-color: var(--ColorSignalRed);
  background-color: var(--ColorSoftRed);
  color: var(--ColorDeepRed);
}

.SecurityChips .TopologyChip.TopologyChipAlert {
  background-color: var(--ColorSoftRed);
}

/* Live Activity Feed */
.ActivityFeed {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--ColorAsh);
}

.FeedRows {
  display: grid;
}

.FeedRow {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: baseline;
  min-height: 28px;
  font-family: var(--FontMono);
  transition: color var(--MotionMedium);
}

.FeedTime {
  font-size: 11px;
  color: var(--ColorSilver);
}

.FeedText {
  font-size: 11.5px;
  color: var(--ColorFog);
  overflow-wrap: anywhere;
}

.FeedRow.IsLatest .FeedTime {
  color: var(--ColorElectricBlue);
}

.FeedRow.IsLatest .FeedText {
  color: var(--ColorCharcoal);
}

.FeedRow.IsLatest .FeedText::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--ColorElectricBlue);
  margin-left: 8px;
}

@media (prefers-reduced-motion: no-preference) {
  .FeedRow.IsLatest .FeedText::after {
    animation: PulseSoft 1.6s ease infinite;
  }
}

/* Control Center Footer */
.ControlCenterFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 22px;
  border-top: 1px solid var(--ColorAsh);
  background-color: var(--ColorPaperMist);
}

.SecurityChips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.SecurityChips .TopologyChip {
  background-color: var(--ColorCanvasWhite);
}

.ControlCenterCaption {
  font-family: var(--FontMono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ColorFog);
}

/* Topology Node Hover */
.TopologyNode rect {
  transition: stroke 160ms ease;
}

.TopologyNode:hover rect {
  stroke: var(--ColorElectricBlue);
}

/* Scope Strip */
.ScopeStrip {
  margin-top: clamp(36px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ColorAsh);
}

.ScopeItem {
  padding: 20px 16px 4px;
  border-right: 1px solid var(--ColorAsh);
}

.ScopeItem:last-child {
  border-right: none;
}

.ScopeItem dt {
  font-family: var(--FontMono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ColorFog);
}

.ScopeItem dd {
  margin-top: 6px;
  font-family: var(--FontDisplay);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  color: var(--ColorMidnightInk);
}

/* ============================================================
   Overview Bento
   ============================================================ */
.LayerBento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.LayerCard {
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusCard);
  padding: 22px;
  transition: border-color var(--MotionFast), transform var(--MotionFast);
}

.LayerCard:hover {
  border-color: var(--ColorPebble);
  transform: translateY(-2px);
}

.LayerCardWide {
  grid-column: span 2;
}

.LayerBento .LayerCard:last-child {
  grid-column: span 2;
}

.LayerIndex {
  font-family: var(--FontMono);
  font-size: 12px;
  color: var(--ColorElectricBlue);
  margin-bottom: 12px;
}

.LayerTitle {
  font-size: 17px;
  font-weight: 600;
  color: var(--ColorMidnightInk);
}

.LayerBody {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ColorSteel);
}

/* ============================================================
   The Fragmentation Problem
   ============================================================ */
.ContrastGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ContrastCard {
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusLargeCard);
  padding: clamp(22px, 3vw, 32px);
}

.ContrastCardGood {
  border-color: var(--ColorElectricBlue);
  box-shadow: var(--ShadowRing);
}

.ContrastLabel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--FontMono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ColorCharcoal);
  margin-bottom: 16px;
}

.ContrastList {
  display: grid;
}

.ContrastList li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ColorSteel);
  border-bottom: 1px solid var(--ColorPaperMist);
}

.ContrastList li:last-child {
  border-bottom: none;
}

.ContrastList li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.ContrastCardBad {
  border-top: 3px solid var(--ColorSignalRed);
}

.ContrastCardBad .ContrastList li::before {
  background-color: var(--ColorSignalRed);
}

.ContrastCardGood .ContrastList li::before {
  background-color: var(--ColorElectricBlue);
}

/* ============================================================
   Launch Journey
   ============================================================ */
.JourneyTimeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
  counter-reset: none;
}

.JourneyStage {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ColorAsh);
}

.StageMarker {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusCard);
  background-color: var(--ColorCanvasWhite);
  font-family: var(--FontMono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ColorFog);
  transition: border-color var(--MotionMedium), color var(--MotionMedium), background-color var(--MotionMedium);
}

.JourneyStage.IsActive .StageMarker {
  border-color: var(--ColorElectricBlue);
  color: var(--ColorElectricBlue);
  background-color: var(--ColorSoftBlue);
}

.StageTitle {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ColorMidnightInk);
}

.StageText {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ColorSteel);
}

.StageProductChip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusPill);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ColorCharcoal);
  transition: border-color var(--MotionFast), background-color var(--MotionFast);
}

.StageProductChip:hover {
  border-color: var(--ColorElectricBlue);
  background-color: var(--ColorSoftBlue);
}

/* ============================================================
   Service Ecosystem
   ============================================================ */
.FilterRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.FilterChip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusPill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ColorSlate);
  transition: border-color var(--MotionFast), background-color var(--MotionFast), color var(--MotionFast);
}

.FilterChip:hover {
  border-color: var(--ColorPebble);
}

.FilterChip.IsSelected {
  background-color: var(--ColorMidnightInk);
  border-color: var(--ColorMidnightInk);
  color: var(--ColorCanvasWhite);
}

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

.ServiceCard {
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusCard);
  padding: 22px;
  transition: border-color var(--MotionFast), transform var(--MotionFast);
}

.ServiceCard:hover {
  border-color: var(--ColorPebble);
  transform: translateY(-2px);
}

.ServiceCard.IsFiltered {
  display: none;
}

.ServiceTag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--RadiusPill);
  font-family: var(--FontMono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.TagBlue { background-color: var(--ColorSoftBlue); color: var(--ColorDeepSapphire); }
.TagGreen { background-color: var(--ColorSoftMint); color: #14532d; }
.TagOrange { background-color: var(--ColorSoftOrange); color: #9a3412; }
.TagViolet { background-color: var(--ColorSoftViolet); color: #5b21b6; }

.ServiceTitle {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ColorMidnightInk);
}

.ServiceBody {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ColorSteel);
}

/* ============================================================
   Infrastructure Architecture
   ============================================================ */
.ArchitectureDiagram {
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusLargeCard);
  background-color: var(--ColorCanvasWhite);
  padding: clamp(20px, 3vw, 32px);
  background-image: radial-gradient(var(--ColorAsh) 1px, transparent 1px);
  background-size: 22px 22px;
}

.ArchitectureRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ArchitectureRowSatellites {
  margin-block: 4px;
}

.ArchitectureRowCore {
  margin-block: 22px;
  gap: 0;
}

.CoreNode {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorSmoke);
  border-radius: var(--RadiusCard);
  font-family: var(--FontMono);
  font-size: 13px;
  color: var(--ColorCharcoal);
  white-space: nowrap;
}

.CoreNodeHub {
  border-color: var(--ColorElectricBlue);
  color: var(--ColorDeepSapphire);
  background-color: var(--ColorSoftBlue);
}

.CoreArrow {
  position: relative;
  width: 34px;
  height: 1.5px;
  background-color: var(--ColorPebble);
  flex-shrink: 0;
}

.CoreArrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--ColorPebble);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

.SatelliteNode {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusPill);
  font-size: 13px;
  color: var(--ColorSteel);
  white-space: nowrap;
}

.SatelliteNodeProduct {
  border-color: var(--ColorElectricBlue);
  color: var(--ColorDeepSapphire);
  font-weight: 600;
  transition: background-color var(--MotionFast);
}

.SatelliteNodeProduct:hover {
  background-color: var(--ColorSoftBlue);
}

.ArchitectureCaption {
  margin-top: 20px;
  text-align: center;
  font-family: var(--FontMono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ColorFog);
}

/* ============================================================
   Broker CRM Showcase
   ============================================================ */
.CRMShowcase {
  display: block;
  border-radius: var(--RadiusLargeCard);
}

.CRMShowcase:hover .CRMFrame {
  box-shadow: var(--ShadowMd);
  border-color: var(--ColorPebble);
}

.CRMFrame {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusLargeCard);
  box-shadow: var(--ShadowRing);
  overflow: hidden;
  transition: box-shadow var(--MotionMedium), border-color var(--MotionMedium);
}

.CRMSidebar {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 12px;
  border-right: 1px solid var(--ColorAsh);
  background-color: var(--ColorPaperMist);
}

.CRMSidebarBrand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 14px;
  font-family: var(--FontDisplay);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ColorMidnightInk);
}

.CRMNavItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 7px 10px;
  border-radius: var(--RadiusButton);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ColorSteel);
  text-align: left;
  transition: background-color var(--MotionFast), color var(--MotionFast);
}

.CRMNavItem:hover {
  background-color: var(--ColorCanvasWhite);
  color: var(--ColorMidnightInk);
}

.CRMNavItem.IsCurrent {
  background-color: var(--ColorSoftBlue);
  color: var(--ColorDeepSapphire);
}

.CRMNavBadge {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--RadiusPill);
  background-color: var(--ColorSignalRed);
  color: var(--ColorCanvasWhite);
  font-family: var(--FontMono);
  font-size: 10px;
}

.CRMMain {
  display: grid;
  gap: 12px;
  padding: 16px;
  min-width: 0;
}

.CRMTopbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.CRMRangeTabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 3px;
  background-color: var(--ColorPaperMist);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusPill);
}

.CRMRangeTab {
  padding: 4px 12px;
  border: 1px solid transparent;
  border-radius: var(--RadiusPill);
  font-family: var(--FontMono);
  font-size: 11px;
  color: var(--ColorFog);
  white-space: nowrap;
  transition: color var(--MotionFast), background-color var(--MotionFast);
}

.CRMRangeTab:hover {
  color: var(--ColorMidnightInk);
}

.CRMRangeTab.IsCurrent {
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorAsh);
  color: var(--ColorDeepSapphire);
  box-shadow: var(--ShadowSubtle);
}

.CRMKpiRow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.CRMKpi {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusCard);
  background-color: var(--ColorCanvasWhite);
  min-width: 0;
  transition: border-color var(--MotionFast);
}

.CRMKpi:hover {
  border-color: var(--ColorElectricBlue);
}

.CRMKpiLabel {
  font-family: var(--FontMono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ColorFog);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.CRMKpiValue {
  font-family: var(--FontDisplay);
  font-weight: 600;
  font-size: 18px;
  color: var(--ColorMidnightInk);
}

.CRMKpiValueBlue {
  color: var(--ColorElectricBlue);
}

.CRMKpiMeta {
  font-size: 10.5px;
  color: var(--ColorSilver);
  white-space: nowrap;
}

.CRMMidGrid,
.CRMBottomGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.CRMPanel {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 12px 14px;
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusCard);
  background-color: var(--ColorCanvasWhite);
  min-width: 0;
  transition: border-color var(--MotionFast), transform var(--MotionFast);
}

.CRMPanel:hover {
  border-color: var(--ColorElectricBlue);
  transform: translateY(-2px);
}

.CRMPanelTitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ColorMidnightInk);
}

.CRMAlertCount {
  padding: 2px 8px;
  border-radius: var(--RadiusPill);
  background-color: var(--ColorSoftRed);
  color: var(--ColorDeepRed);
  font-family: var(--FontMono);
  font-size: 9.5px;
  white-space: nowrap;
}

.CRMPanelFoot {
  font-family: var(--FontMono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ColorFog);
  border-top: 1px solid var(--ColorPaperMist);
  padding-top: 8px;
}

.CRMRevenueRow {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: baseline;
  font-size: 11.5px;
  color: var(--ColorSteel);
  border-bottom: 1px solid var(--ColorPaperMist);
  padding-bottom: 4px;
}

.CRMRevenueRow b {
  font-size: 12px;
  color: var(--ColorMidnightInk);
}

.CRMDeltaUp {
  font-family: var(--FontMono);
  font-size: 10px;
  color: var(--ColorVividGreen);
  white-space: nowrap;
}

.CRMAreaChart {
  width: 100%;
  height: 58px;
}

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

.CRMDonut {
  flex: none;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.CRMDonut::after {
  content: "";
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--ColorCanvasWhite);
}

.CRMDonutExposure {
  background: conic-gradient(var(--ColorSignalRed) 0 71.8%, var(--ColorElectricBlue) 71.8% 86%, var(--ColorLavender) 86% 94.4%, var(--ColorVividGreen) 94.4% 100%);
}

.CRMDonutKyc {
  background: conic-gradient(var(--ColorVividGreen) 0 8%, var(--ColorLavender) 8% 100%);
}

.CRMLegend {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.CRMLegend li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--FontMono);
  font-size: 10.5px;
  color: var(--ColorSteel);
  white-space: nowrap;
}

.CRMSwatch {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.SwatchRed { background-color: var(--ColorSignalRed); }
.SwatchBlue { background-color: var(--ColorElectricBlue); }
.SwatchViolet { background-color: var(--ColorLavender); }
.SwatchGreen { background-color: var(--ColorVividGreen); }
.SwatchAmber { background-color: var(--ColorTangerine); }

.CRMAlert {
  display: grid;
  gap: 2px;
  padding: 7px 10px;
  border-left: 3px solid var(--ColorSignalRed);
  background-color: var(--ColorSoftRed);
  border-radius: 6px;
}

.CRMAlert b {
  font-size: 11px;
  color: var(--ColorDeepRed);
}

.CRMAlert span {
  font-family: var(--FontMono);
  font-size: 10.5px;
  color: var(--ColorDeepRed);
}

.CRMBars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 72px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ColorPaperMist);
}

.CRMBar {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, var(--ColorElectricBlue), #60a5fa);
}

.BarH12 { height: 12%; }
.BarH20 { height: 20%; }
.BarH22 { height: 22%; }
.BarH28 { height: 28%; }
.BarH36 { height: 36%; }
.BarH64 { height: 64%; }

.CRMStatRow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.CRMStat {
  display: grid;
  font-size: 10.5px;
  color: var(--ColorFog);
}

.CRMStat b {
  font-family: var(--FontDisplay);
  font-weight: 600;
  font-size: 15px;
  color: var(--ColorMidnightInk);
}

.CRMStatAlert b {
  color: var(--ColorSignalRed);
}

.CRMPayGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.CRMPay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--ColorAsh);
  border-left-width: 3px;
  border-radius: 6px;
  font-size: 10.5px;
  color: var(--ColorSteel);
  min-width: 0;
}

.CRMPay b {
  font-family: var(--FontMono);
  font-size: 12px;
  color: var(--ColorMidnightInk);
}

.CRMPayPending { border-left-color: var(--ColorTangerine); }
.CRMPayDone { border-left-color: var(--ColorVividGreen); }
.CRMPayFail { border-left-color: var(--ColorSignalRed); }
.CRMPayFail b { color: var(--ColorSignalRed); }

.CRMView {
  display: grid;
  gap: 12px;
}

.CRMViewHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.CRMPanelTitle {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ColorMidnightInk);
}

.CRMViewMeta {
  font-family: var(--FontMono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ColorFog);
}

.CRMTable {
  display: grid;
  gap: 6px;
}

.CRMTableHead,
.CRMTableRow {
  display: grid;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--RadiusButton);
  min-width: 0;
}

.CRMColsFour { grid-template-columns: 1.5fr 1.2fr 1fr auto; }
.CRMColsFive { grid-template-columns: 1.4fr 0.7fr 1fr 1fr auto; }

.CRMTableHead {
  padding-block: 4px;
  font-family: var(--FontMono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ColorFog);
}

.CRMTableRow {
  background-color: var(--ColorPaperMist);
  border: 1px solid transparent;
  font-size: 12px;
  color: var(--ColorSlate);
  transition: border-color var(--MotionFast), background-color var(--MotionFast);
}

.CRMTableRow:hover {
  background-color: var(--ColorCanvasWhite);
  border-color: var(--ColorElectricBlue);
}

.CRMTableRow span:first-child {
  font-weight: 500;
  color: var(--ColorCharcoal);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.CRMTag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: var(--RadiusPill);
  font-family: var(--FontMono);
  font-size: 10px;
  white-space: nowrap;
}

.CRMTagGreen { background-color: var(--ColorSoftMint); color: #14532d; }
.CRMTagRed { background-color: var(--ColorSoftRed); color: var(--ColorDeepRed); }
.CRMTagAmber { background-color: var(--ColorSoftOrange); color: #9a3412; }
.CRMTagBlue { background-color: var(--ColorSoftBlue); color: var(--ColorDeepSapphire); }
.CRMTagGray { background-color: var(--ColorPaperMist); color: var(--ColorFog); border: 1px solid var(--ColorAsh); }

.CRMGhost {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusButton);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ColorCharcoal);
  white-space: nowrap;
  transition: border-color var(--MotionFast), background-color var(--MotionFast);
}

.CRMTableRow:hover .CRMGhost {
  border-color: var(--ColorElectricBlue);
  background-color: var(--ColorSoftBlue);
}

.CRMViewFootLink {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ColorElectricBlue);
}

.CRMViewFootLink:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.CRMCaption {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-family: var(--FontMono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ColorFog);
  transition: color var(--MotionFast);
}

.CRMCaption:hover {
  color: var(--ColorElectricBlue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.CRMActions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ============================================================
   Flagship Products
   ============================================================ */
.SectionInk {
  background-color: var(--ColorMidnightInk);
}

.SectionHeaderOnInk .SectionTitle {
  color: var(--ColorCanvasWhite);
}

.SectionHeaderOnInk .SectionLede {
  color: var(--ColorSilver);
}

.EyebrowOnInk {
  color: var(--ColorSilver);
}

.ProductShowcase {
  display: grid;
  gap: 16px;
}

.ProductCard {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorGraphite);
  border-radius: var(--RadiusLargeCard);
  padding: clamp(24px, 4vw, 40px);
  transition: transform var(--MotionMedium), box-shadow var(--MotionMedium);
}

.ProductCard:hover {
  transform: translateY(-3px);
  box-shadow: var(--ShadowMd);
}

.ProductKicker {
  font-family: var(--FontMono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.KickerBlue { color: var(--ColorElectricBlue); }
.KickerOrange { color: var(--ColorTangerine); }
.KickerViolet { color: var(--ColorLavender); }

.ProductTitle {
  font-family: var(--FontDisplay);
  font-weight: 500;
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ColorMidnightInk);
}

.ProductBody {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ColorSteel);
}

.ProductCapabilities {
  margin-top: 16px;
  display: grid;
  gap: 6px;
}

.ProductCapabilities li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ColorSlate);
}

.ProductCapabilities li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background-color: var(--ColorElectricBlue);
}

.ProductMeta {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--ColorAsh);
  font-family: var(--FontMono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--ColorFog);
  overflow-wrap: anywhere;
}

.ProductCta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  min-height: 42px;
  padding: 0 18px;
  background-color: var(--ColorMidnightInk);
  color: var(--ColorCanvasWhite);
  border-radius: var(--RadiusButton);
  font-size: 14px;
  font-weight: 500;
  transition: background-color var(--MotionFast), transform var(--MotionFast);
}

.ProductCta:hover {
  background-color: var(--ColorGraphite);
  transform: translateY(-1px);
}

/* Product Mini Visuals */
.ProductVisual {
  display: grid;
  align-items: center;
  min-width: 0;
}

.MiniPanel {
  background-color: var(--ColorPaperMist);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusCard);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.MiniPanelHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--FontMono);
  font-size: 12px;
  color: var(--ColorSteel);
}

.MiniBadge {
  padding: 3px 10px;
  border-radius: var(--RadiusPill);
  font-family: var(--FontMono);
  font-size: 11px;
}

.MiniBadgeBlue {
  background-color: var(--ColorSoftBlue);
  color: var(--ColorDeepSapphire);
}

.MiniMeterRow {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ColorSlate);
}

.MiniMeter {
  display: block;
  height: 5px;
  background-color: var(--ColorAsh);
  border-radius: var(--RadiusPill);
  overflow: hidden;
}

.MiniMeterFill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.FillBlue { background-color: var(--ColorElectricBlue); }
.MeterW82 { width: 82%; }
.MeterW64 { width: 64%; }
.MeterW41 { width: 41%; }

.MiniFoot {
  font-family: var(--FontMono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--ColorFog);
  border-top: 1px solid var(--ColorAsh);
  padding-top: 10px;
}

.MiniFlow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.MiniFlowNode {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusButton);
  font-family: var(--FontMono);
  font-size: 11.5px;
  color: var(--ColorSlate);
  white-space: nowrap;
}

.MiniFlowNodeEnd {
  border-color: var(--ColorTangerine);
  color: #9a3412;
  background-color: var(--ColorSoftOrange);
}

.MiniFlowArrow {
  position: relative;
  width: 14px;
  height: 1.5px;
  background-color: var(--ColorPebble);
  flex-shrink: 0;
}

.MiniFlowArrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-left: 5px solid var(--ColorPebble);
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
}

.MiniChat {
  display: grid;
  gap: 8px;
}

.MiniChatIn,
.MiniChatOut {
  max-width: 90%;
  padding: 10px 14px;
  border-radius: var(--RadiusCard);
  font-size: 13px;
  line-height: 1.5;
}

.MiniChatIn {
  justify-self: start;
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorAsh);
  color: var(--ColorSlate);
}

.MiniChatOut {
  justify-self: end;
  background-color: var(--ColorSoftViolet);
  color: #3b2467;
}

.MiniChipRow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.MiniChip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusPill);
  font-family: var(--FontMono);
  font-size: 10.5px;
  color: var(--ColorSteel);
  white-space: nowrap;
}

.MiniChipGreen {
  background-color: var(--ColorSoftMint);
  border-color: var(--ColorSoftMint);
  color: #14532d;
}

/* Product Brand Identities: Each Card Borrows Its Own Page's Palette */
.ProductCardRisk {
  background-color: var(--ColorRiskCanvas);
}

.ProductCardRisk .ProductKicker {
  color: var(--ColorRiskAccent);
}

.ProductCardRisk .ProductCapabilities li::before {
  background-color: var(--ColorRiskAccent);
  border-radius: 50%;
}

.ProductCardRisk .ProductCta {
  background-color: var(--ColorRiskInk);
  color: var(--ColorRiskCanvas);
  border-radius: var(--RadiusPill);
}

.ProductCardRisk .ProductCta:hover {
  background-color: #262320;
}

.ProductCardRisk .MiniPanel {
  background-color: #f5f3f1;
  border-color: #ebe8e4;
}

.ProductCardRisk .FillBlue {
  background-color: var(--ColorRiskAccent);
}

.ProductCardRisk .MiniBadgeBlue {
  background-color: rgba(4, 71, 255, 0.08);
  color: var(--ColorRiskAccent);
}

.ProductCardWallet {
  background-color: var(--ColorWalletCanvas);
}

.ProductCardWallet .ProductKicker {
  color: var(--ColorWalletOrangeDeep);
}

.ProductCardWallet .ProductCapabilities li::before {
  background-color: var(--ColorWalletOrange);
  border-radius: 50%;
}

.ProductCardWallet .ProductCta {
  background-color: var(--ColorWalletOrange);
  color: var(--ColorWalletInk);
  border-radius: var(--RadiusPill);
}

.ProductCardWallet .ProductCta:hover {
  background-color: var(--ColorWalletOrangeDeep);
}

.ProductCardWallet .MiniPanel {
  background-color: var(--ColorWalletSand);
  border-color: #ecedef;
}

.ProductCardWallet .MiniFlowNodeEnd {
  border-color: var(--ColorWalletOrange);
  background-color: rgba(246, 119, 72, 0.14);
  color: var(--ColorWalletOrangeDeep);
}

.ProductCardSupport {
  background-color: var(--ColorSupportCanvas);
}

.ProductCardSupport .ProductKicker {
  display: inline-block;
  background-color: var(--ColorSupportYellow);
  color: var(--ColorSupportInk);
  padding: 3px 10px;
  border-radius: 4px;
}

.ProductCardSupport .ProductCapabilities li::before {
  background-color: var(--ColorSupportYellow);
  border: 1px solid rgba(12, 10, 8, 0.25);
}

.ProductCardSupport .ProductCta {
  background-color: var(--ColorSupportYellow);
  color: var(--ColorSupportInk);
  border-radius: 6px;
}

.ProductCardSupport .ProductCta:hover {
  background-color: var(--ColorSupportInk);
  color: var(--ColorSupportYellow);
}

.ProductCardSupport .MiniPanel {
  background-color: #ffffff;
  border-color: #e5e7eb;
}

.ProductCardSupport .MiniChatOut {
  background-color: rgba(228, 242, 34, 0.45);
  color: #262319;
}

/* ============================================================
   Extended Portfolio
   ============================================================ */
.PortfolioColumns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
}

.PortfolioGroupLabel {
  font-family: var(--FontMono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ColorFog);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ColorAsh);
  margin-bottom: 4px;
}

.PortfolioGroupLabel + .PortfolioGroupLabel,
.PortfolioItem + .PortfolioGroupLabel {
  margin-top: 24px;
}

.PortfolioItem {
  padding: 14px 0;
  border-bottom: 1px solid var(--ColorPaperMist);
}

.PortfolioItem h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ColorMidnightInk);
}

.PortfolioItem p {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ColorSteel);
}

.PortfolioItem a {
  display: inline-flex;
  align-items: center;
  margin-top: 7px;
  min-height: 28px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ColorElectricBlue);
}

.PortfolioItem a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   Project Paths
   ============================================================ */
.PathGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.PathCard {
  display: flex;
  flex-direction: column;
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusCard);
  padding: 22px;
  transition: border-color var(--MotionFast), transform var(--MotionFast);
}

.PathCard:hover {
  border-color: var(--ColorPebble);
  transform: translateY(-2px);
}

.PathIndex {
  font-family: var(--FontMono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ColorElectricBlue);
  margin-bottom: 12px;
}

.PathTitle {
  font-size: 17px;
  font-weight: 600;
  color: var(--ColorMidnightInk);
}

.PathBody {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ColorSteel);
  flex: 1;
}

.PathCta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  min-height: 32px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ColorMidnightInk);
}

.PathCta:hover {
  color: var(--ColorElectricBlue);
}

/* ============================================================
   Delivery Process
   ============================================================ */
.ProcessTrack {
  height: 3px;
  background-color: var(--ColorAsh);
  border-radius: var(--RadiusPill);
  margin-bottom: 24px;
  overflow: hidden;
}

.ProcessTrackFill {
  display: block;
  height: 100%;
  width: 0;
  background-color: var(--ColorElectricBlue);
  border-radius: inherit;
  transition: width 900ms ease;
}

.ProcessGrid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.ProcessPhase {
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusCard);
  padding: 18px;
}

.PhaseMarker {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusPill);
  font-family: var(--FontMono);
  font-size: 13px;
  color: var(--ColorElectricBlue);
  margin-bottom: 12px;
}

.PhaseTitle {
  font-size: 15px;
  font-weight: 600;
  color: var(--ColorMidnightInk);
}

.PhaseText {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ColorSteel);
}

/* Platform And Technology Coverage */
.CoverageStrip {
  margin-top: clamp(36px, 4vw, 48px);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusLargeCard);
  padding: clamp(20px, 3vw, 28px);
  background-color: var(--ColorPaperMist);
}

.CoverageLabel {
  font-family: var(--FontMono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ColorFog);
  margin-bottom: 14px;
}

.CoverageChips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.CoverageChip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusPill);
  font-family: var(--FontMono);
  font-size: 12px;
  color: var(--ColorSlate);
  overflow-wrap: anywhere;
}

.CoverageNote {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ColorFog);
}

/* ============================================================
   Why Broker Setup
   ============================================================ */
.WhyLedger {
  border-top: 1px solid var(--ColorAsh);
}

.WhyRow {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 8px 40px;
  padding-block: 20px;
  border-bottom: 1px solid var(--ColorAsh);
}

.WhyRow h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ColorMidnightInk);
}

.WhyRow p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ColorSteel);
  max-width: 68ch;
}

/* ============================================================
   Governance And Responsibility
   ============================================================ */
.GovernanceGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.GovernanceCard {
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusCard);
  padding: 22px;
}

.GovernanceHeading {
  font-size: 15px;
  font-weight: 600;
  color: var(--ColorMidnightInk);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ColorAsh);
}

.GovernanceList {
  display: grid;
}

.GovernanceList li {
  position: relative;
  padding: 9px 0 9px 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ColorSteel);
  border-bottom: 1px solid var(--ColorPaperMist);
}

.GovernanceList li:last-child {
  border-bottom: none;
}

.GovernanceList li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--ColorElectricBlue);
}

/* The Third-Party Boundary Card Reads As A Warning Ledger */
.GovernanceCard:nth-child(2) .GovernanceList li::before {
  background-color: var(--ColorSignalRed);
}

/* ============================================================
   FAQ
   ============================================================ */
.FaqContainer {
  max-width: 880px;
}

.FaqList {
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusLargeCard);
  background-color: var(--ColorCanvasWhite);
  overflow: hidden;
}

.FaqItem {
  border-bottom: 1px solid var(--ColorAsh);
}

.FaqItem:last-child {
  border-bottom: none;
}

.FaqHeading {
  margin: 0;
}

.FaqTrigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 18px 22px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ColorMidnightInk);
  transition: background-color var(--MotionFast);
}

.FaqTrigger:hover {
  background-color: var(--ColorPaperMist);
}

.FaqChevron {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.FaqChevron::before,
.FaqChevron::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--ColorFog);
  transform: translateY(-50%);
  transition: transform var(--MotionMedium);
}

.FaqChevron::after {
  transform: translateY(-50%) rotate(90deg);
}

.FaqTrigger[aria-expanded="true"] .FaqChevron::after {
  transform: translateY(-50%) rotate(0deg);
}

.FaqPanel {
  padding: 0 22px 20px;
}

.FaqPanel p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ColorSteel);
  max-width: 72ch;
}

/* ============================================================
   Contact And Form
   ============================================================ */
.ContactPanel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  background-color: var(--ColorPaperMist);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusLargeCard);
  padding: clamp(24px, 4vw, 48px);
}

.ContactLede {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ColorSteel);
  max-width: 52ch;
}

.ContactAddress {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.ContactAddressRow {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ColorSlate);
}

.ContactAddressLabel {
  font-family: var(--FontMono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ColorFog);
  padding-top: 3px;
}

.InlineLink {
  color: var(--ColorCharcoal);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--ColorPebble);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--MotionFast);
}

.InlineLink:hover {
  text-decoration-color: var(--ColorElectricBlue);
}

.ContactFormCard {
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusCard);
  padding: clamp(20px, 3vw, 30px);
  display: grid;
  gap: 16px;
  align-content: start;
}

.FormHeading {
  font-family: var(--FontDisplay);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ColorMidnightInk);
}

.ProjectChips {
  display: grid;
  gap: 8px;
}

.ProjectChipRow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ProjectChip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  background-color: var(--ColorCanvasWhite);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusPill);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ColorSlate);
  transition: border-color var(--MotionFast), background-color var(--MotionFast), color var(--MotionFast);
}

.ProjectChip:hover {
  border-color: var(--ColorPebble);
}

.ProjectChip.IsSelected {
  background-color: var(--ColorSoftBlue);
  border-color: var(--ColorElectricBlue);
  color: var(--ColorDeepSapphire);
}

.FormRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.FormField {
  display: grid;
  gap: 6px;
}

.FormLabel {
  font-size: 13px;
  font-weight: 600;
  color: var(--ColorCharcoal);
}

.FormInput {
  min-height: 44px;
  padding: 10px 12px;
  background-color: var(--ColorCanvasWhite);
  color: var(--ColorCharcoal);
  border: 1px solid var(--ColorSmoke);
  border-radius: var(--RadiusInput);
  font: inherit;
  font-size: 0.875rem;
  transition: border-color var(--MotionFast);
}

.FormInput::placeholder {
  color: var(--ColorSilver);
}

.FormInput:hover {
  border-color: var(--ColorPebble);
}

.FormInput:focus-visible {
  outline: 2px solid var(--ColorElectricBlue);
  outline-offset: 1px;
  border-radius: var(--RadiusInput);
}

.FormTextarea {
  min-height: 104px;
  resize: vertical;
}

.FormSubmit {
  justify-self: start;
  min-height: 46px;
  padding: 0 22px;
}

.FormStatusNote {
  min-height: 1.4em;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ColorSteel);
}

.FormPrivacyNote {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ColorFog);
}

/* ============================================================
   Footer
   ============================================================ */
.SiteFooter {
  border-top: 1px solid var(--ColorAsh);
  background-color: var(--ColorCanvasWhite);
  padding-block: clamp(48px, 6vw, 72px) 36px;
}

.FooterGrid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
}

.FooterDescription {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ColorSteel);
  max-width: 42ch;
}

.FooterMapLink {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ColorSlate);
  white-space: nowrap;
  transition: color var(--MotionFast);
}

.FooterMapLink:hover {
  color: var(--ColorMidnightInk);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.FooterSocialRow {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.SocialLink {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--ColorSlate);
  transition: color var(--MotionFast);
}

.SocialLink:hover {
  color: var(--ColorMidnightInk);
}

.FooterColumnTitle {
  font-family: var(--FontMono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ColorFog);
  margin-bottom: 14px;
}

.FooterLinkList {
  display: grid;
  gap: 2px;
}

.FooterLink {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-size: 13.5px;
  color: var(--ColorSlate);
  transition: color var(--MotionFast);
}

.FooterLink:hover {
  color: var(--ColorMidnightInk);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.BrokerSetupMark {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.FooterResponsibility {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ColorAsh);
  max-width: 84ch;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ColorFog);
}

.FooterResponsibility + .FooterResponsibility {
  margin-top: 14px;
  padding-top: 0;
  border-top: none;
}

.FooterLegal {
  margin-top: 20px;
  max-width: 90ch;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ColorFog);
}

.FooterBottom {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--ColorAsh);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 32px;
}

.FooterCopyright {
  font-size: 12.5px;
  color: var(--ColorFog);
}

/* ============================================================
   Scroll To Top
   ============================================================ */
.ScrollTopButton {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background-color: var(--ColorCanvasWhite);
  color: var(--ColorMidnightInk);
  border: 1px solid var(--ColorAsh);
  border-radius: var(--RadiusPill);
  cursor: pointer;
  box-shadow: var(--ShadowSubtle);
  transition: background-color var(--MotionFast), transform var(--MotionFast);
}

.ScrollTopButton:hover {
  background-color: var(--ColorPaperMist);
  transform: translateY(-1px);
}

.ScrollTopButton[hidden] {
  display: none;
}

/* ============================================================
   Page Rail
   ============================================================ */
.PageRail {
  display: none;
}

@media (min-width: 90rem) and (pointer: fine) {
  .PageRail {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    z-index: 90;
    display: grid;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--MotionMedium), transform var(--MotionMedium);
  }

  .PageRail.IsVisible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%);
  }

  .RailLink {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-block: 2px;
    min-height: 12px;
  }

  .RailTick {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: var(--RadiusPill);
    background-color: var(--ColorSmoke);
    transition: background-color var(--MotionFast), transform var(--MotionFast);
  }

  .RailLabel {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    opacity: 0;
    transform: translate(4px, -50%);
    padding: 4px 12px;
    background-color: var(--ColorCanvasWhite);
    border: 1px solid var(--ColorAsh);
    border-radius: var(--RadiusPill);
    font-size: 12px;
    font-weight: 500;
    color: var(--ColorGraphite);
    white-space: nowrap;
    pointer-events: none;
    transition: opacity var(--MotionFast), transform var(--MotionFast);
  }

  .RailLink:hover .RailLabel,
  .RailLink:focus-visible .RailLabel {
    opacity: 1;
    transform: translate(0, -50%);
  }

  .RailLink:hover .RailTick {
    background-color: var(--ColorSteel);
  }

  .RailLink.IsActive .RailTick {
    background-color: var(--ColorElectricBlue);
    transform: scaleX(1.5);
    transform-origin: right center;
  }
}

/* ============================================================
   Reveal On Scroll And Hero Entrance
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  @keyframes FadeRiseIn {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .HeroStack {
    animation: FadeRiseIn 560ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }

  .ControlCenter {
    animation: FadeRiseIn 560ms cubic-bezier(0.22, 0.61, 0.36, 1) 140ms both;
  }

  .ScopeStrip {
    animation: FadeRiseIn 560ms cubic-bezier(0.22, 0.61, 0.36, 1) 260ms both;
  }

  .JsEnabled .Reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 460ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 460ms cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .JsEnabled .Reveal.IsVisible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   Responsive Breakpoints
   ============================================================ */
@media (max-width: 1100px) {
  .ServiceGrid,
  .GovernanceGrid,
  .LayerBento {
    grid-template-columns: repeat(2, 1fr);
  }

  .LayerCardWide,
  .LayerBento .LayerCard:last-child {
    grid-column: span 2;
  }

  .PathGrid,
  .ProcessGrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .PortfolioColumns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1100px) {
  .MobileMenuButton {
    display: inline-flex;
  }

  .PrimaryNavigation {
    display: none;
  }

  .HeaderCta {
    display: none;
  }
}

@media (max-width: 960px) {
  .ControlCenterBody {
    grid-template-columns: 1fr;
  }

  .LaunchChecklist {
    border-right: none;
    border-bottom: 1px solid var(--ColorAsh);
  }

  .JourneyTimeline {
    grid-template-columns: 1fr;
  }

  .ContrastGrid,
  .ProductCard,
  .ContactPanel {
    grid-template-columns: 1fr;
  }

  .WhyRow {
    grid-template-columns: 1fr;
  }

  .ArchitectureRowCore {
    flex-direction: column;
    gap: 0;
  }

  .CoreArrow {
    width: 1.5px;
    height: 26px;
  }

  .CoreArrow::after {
    right: 50%;
    top: auto;
    bottom: 0;
    transform: translateX(50%);
    border-top: 6px solid var(--ColorPebble);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .ServiceGrid,
  .GovernanceGrid,
  .LayerBento,
  .PathGrid,
  .PortfolioColumns {
    grid-template-columns: 1fr;
  }

  .LayerCardWide,
  .LayerBento .LayerCard:last-child {
    grid-column: span 1;
  }

  .ProcessGrid {
    grid-template-columns: 1fr;
  }

  .ScopeStrip {
    grid-template-columns: repeat(2, 1fr);
  }

  .ScopeItem:nth-child(2n) {
    border-right: none;
  }

  .ScopeItem {
    border-bottom: 1px solid var(--ColorAsh);
    padding-bottom: 16px;
  }

  .FormRow {
    grid-template-columns: 1fr;
  }

  .FooterGrid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .HeroActions .PrimaryButton,
  .HeroActions .OutlinedButton {
    width: 100%;
  }

  .JourneyStage {
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

  .StageMarker {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 380px) {
  .PageContainer {
    padding-inline: 16px;
  }

  .FeaturePill,
  .CoverageChip {
    font-size: 12px;
  }
}

/* ============================================================
   Broker CRM Responsive Behavior
   ============================================================ */
@media (max-width: 1100px) {
  .CRMKpiRow {
    grid-template-columns: repeat(3, 1fr);
  }

  .CRMMidGrid,
  .CRMBottomGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .CRMFrame {
    grid-template-columns: 1fr;
  }

  .CRMSidebar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    border-right: none;
    border-bottom: 1px solid var(--ColorAsh);
    padding: 12px;
  }

  .CRMSidebarBrand {
    width: 100%;
    padding-bottom: 8px;
  }

  .CRMNavItem {
    padding: 5px 9px;
    border: 1px solid var(--ColorAsh);
    border-radius: var(--RadiusPill);
    font-size: 11px;
    background-color: var(--ColorCanvasWhite);
  }
}

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

  .CRMPayGrid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Reduced Motion Safety Net
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
