/* =========================================================
   ASG DIRECTORY — HOMEPAGE HERO v5.1.2-modern-growth
   Complete replacement stylesheet for the hero, live globe,
   growth drawer, momentum drawer, signal rail and trust strip.
   ========================================================= */

.hero-section {
  --hero-ink: #081b36;
  --hero-ink-soft: #183454;
  --hero-muted: #607b9e;
  --hero-muted-light: #7f95af;
  --hero-blue: #145fff;
  --hero-blue-deep: #0a3fae;
  --hero-cyan: #10add2;
  --hero-green: #079a6b;
  --hero-violet: #7b4ce8;
  --hero-amber: #d97905;
  --hero-line: rgba(62, 111, 178, .16);
  --hero-line-strong: rgba(49, 103, 180, .28);
  --hero-surface: rgba(255, 255, 255, .86);
  --hero-surface-strong: rgba(255, 255, 255, .96);
  --hero-shadow-soft: 0 16px 44px rgba(24, 62, 112, .09);
  --hero-shadow: 0 28px 80px rgba(21, 59, 108, .14);
  --hero-radius-sm: 14px;
  --hero-radius: 22px;
  --hero-radius-lg: 30px;
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: clip;
  color: var(--hero-ink);
  background:
    radial-gradient(circle at 82% 13%, rgba(16, 173, 210, .13), transparent 26%),
    radial-gradient(circle at 18% 10%, rgba(20, 95, 255, .11), transparent 27%),
    radial-gradient(circle at 52% 62%, rgba(123, 76, 232, .055), transparent 36%),
    linear-gradient(180deg, #f9fbff 0%, #f1f7ff 44%, #f6f9ff 100%);
  border-bottom: 1px solid var(--hero-line);
  isolation: isolate;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .42;
  background-image:
    linear-gradient(rgba(75, 125, 190, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 125, 190, .075) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .62) 55%, transparent 96%);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 7% 9% 7%;
  z-index: -1;
  height: 34%;
  pointer-events: none;
  border-radius: 50%;
  background: rgba(53, 132, 226, .12);
  filter: blur(110px);
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(71, 127, 196, .11);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one {
  width: min(70vw, 1960px);
  aspect-ratio: 1;
  left: -22vw;
  top: -39vw;
}

.hero-orbit-two {
  width: min(50vw, 1480px);
  aspect-ratio: 1;
  right: -13vw;
  top: -26vw;
}

/* =========================================================
   HERO INTRODUCTION
   ========================================================= */

.hero-intro {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(560px, .9fr);
  gap: clamp(34px, 3vw, 92px);
  align-items: center;
  width: 100%;
  max-width: none;
  padding:
    clamp(42px, 3vw, 80px)
    clamp(28px, 3.4vw, 112px)
    clamp(10px, .65vw, 18px);
}

.hero-intro::before {
  content: "";
  position: absolute;
  top: 22px;
  left: clamp(28px, 3.4vw, 112px);
  width: 128px;
  height: 24px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 12px 12px, rgba(20, 95, 255, .96) 0 3px, transparent 4px),
    radial-gradient(circle at 42px 12px, rgba(16, 173, 210, .96) 0 3px, transparent 4px),
    radial-gradient(circle at 72px 12px, rgba(123, 76, 232, .92) 0 3px, transparent 4px),
    linear-gradient(90deg, rgba(20, 95, 255, .17), rgba(16, 173, 210, .15), rgba(123, 76, 232, .15));
  opacity: .94;
}

.hero-intro-copy,
.hero-intro-search {
  min-width: 0;
}

.hero-intro-copy {
  max-width: 1500px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #1159de;
  font-size: clamp(11px, .66vw, 15px);
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.live-indicator {
  display: inline-block;
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #0aa475;
  box-shadow: 0 0 0 5px rgba(10, 164, 117, .11), 0 0 20px rgba(10, 164, 117, .26);
}

.hero-intro h1 {
  max-width: 1560px;
  margin: 0;
  color: #071a34;
  font-size: clamp(72px, 6.9vw, 152px);
  font-weight: 900;
  letter-spacing: -.068em;
  line-height: .92;
  text-wrap: balance;
}

.hero-intro h1 span {
  color: var(--hero-blue);
  background: linear-gradient(112deg, #145fff 12%, #185eff 48%, #7256ec 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 1160px;
  margin: 28px 0 0;
  color: var(--hero-muted);
  font-size: clamp(17px, 1.03vw, 27px);
  line-height: 1.58;
  text-wrap: pretty;
}

.hero-intro-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.hero-section .hero-intro-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--hero-line-strong);
  border-radius: 14px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 820;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.hero-section .hero-intro-actions .button svg {
  width: 16px;
  height: 16px;
}

.hero-section .hero-intro-actions .button-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #145fff, #224ed6);
  color: #fff;
  box-shadow: 0 12px 28px rgba(20, 95, 255, .22);
}

.hero-section .hero-intro-actions .button-outline {
  background: rgba(255, 255, 255, .82);
  color: #163455;
  box-shadow: 0 8px 22px rgba(28, 69, 119, .06);
}

.hero-section .hero-intro-actions .button:hover {
  transform: translateY(-2px);
}

.hero-section .hero-intro-actions .button-primary:hover {
  box-shadow: 0 16px 34px rgba(20, 95, 255, .28);
}

.hero-section .hero-intro-actions .button-outline:hover {
  border-color: rgba(20, 95, 255, .42);
  background: #fff;
}

.hero-system-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: #7890ad;
  font-size: 11px;
  line-height: 1.45;
}

.hero-system-note::before {
  content: "";
  width: 22px;
  height: 1px;
  flex: 0 0 auto;
  background: linear-gradient(90deg, var(--hero-blue), var(--hero-cyan));
}

/* =========================================================
   SEARCH EXPERIENCE
   ========================================================= */

.hero-intro-search {
  width: 100%;
  max-width: 1080px;
  justify-self: end;
  align-self: start;
  margin-top: clamp(52px, 4vw, 96px);
}

.hero-search-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 1.7vw, 38px);
  border: 1px solid rgba(75, 124, 188, .22);
  border-radius: var(--hero-radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(246, 250, 255, .88));
  box-shadow:
    0 32px 88px rgba(24, 63, 112, .14),
    inset 0 1px 0 rgba(255, 255, 255, .92);
  backdrop-filter: blur(24px) saturate(130%);
}

.hero-search-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--hero-blue), var(--hero-cyan) 52%, var(--hero-violet));
}

.hero-search-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -160px;
  top: -170px;
  border-radius: 50%;
  background: rgba(32, 118, 255, .13);
  filter: blur(22px);
  pointer-events: none;
}

.hero-search-card-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.hero-search-card-head .panel-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--hero-blue);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hero-search-card-head strong {
  display: block;
  max-width: 680px;
  color: var(--hero-ink);
  font-size: clamp(18px, 1.05vw, 27px);
  line-height: 1.26;
  text-wrap: balance;
}

.hero-search-live-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 29px;
  padding: 0 10px;
  border: 1px solid rgba(8, 154, 107, .2);
  border-radius: 999px;
  background: rgba(8, 154, 107, .075);
  color: #087f5b;
  font-size: 9px;
  font-weight: 820;
  white-space: nowrap;
}

.hero-search-live-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hero-green);
  box-shadow: 0 0 0 4px rgba(8, 154, 107, .1);
}

.hero-search {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-height: 64px;
  padding: 6px 7px 6px 18px;
  border: 1px solid rgba(43, 101, 183, .3);
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 14px 36px rgba(24, 65, 117, .1),
    0 0 0 4px rgba(20, 95, 255, .025);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.hero-search:focus-within {
  border-color: rgba(20, 95, 255, .62);
  box-shadow:
    0 16px 42px rgba(24, 65, 117, .13),
    0 0 0 4px rgba(20, 95, 255, .075);
}

.hero-search > svg {
  width: 20px;
  height: 20px;
  color: var(--hero-blue);
}

.hero-search input {
  min-width: 0;
  height: 50px;
  padding: 0 15px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--hero-ink);
  font: inherit;
  font-size: 13px;
}

.hero-search input::placeholder {
  color: #8ba0ba;
}

.hero-search button,
.hero-explore-button {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  min-height: 58px;
  padding: 0 20px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #145fff, #1e54dc);
  color: #fff;
  box-shadow:
    0 14px 34px rgba(20, 95, 255, .24),
    inset 0 1px 0 rgba(255, 255, 255, .16);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.hero-search button:hover,
.hero-explore-button:hover {
  transform: translateY(-1px);
  filter: saturate(108%);
  box-shadow:
    0 18px 38px rgba(20, 95, 255, .30),
    inset 0 1px 0 rgba(255, 255, 255, .16);
}

.hero-search button svg,
.hero-explore-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #fff;
}

.hero-explore-copy {
  display: block;
  text-align: left;
  line-height: 1.05;
}

.hero-explore-copy strong {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .01em;
}

.hero-explore-copy small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, .82);
  font-size: 10px;
  font-weight: 650;
}

.hero-quick-links {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.hero-quick-links button,
.hero-quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--hero-line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: #183452;
  box-shadow: 0 5px 15px rgba(30, 70, 120, .04);
  text-decoration: none;
  font: inherit;
  font-size: 9px;
  font-weight: 780;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.hero-quick-links button:hover,
.hero-quick-links a:hover {
  transform: translateY(-1px);
  border-color: rgba(20, 95, 255, .42);
  background: #fff;
}

.hero-quick-links svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.hero-quick-links [data-quick-filter="verified"] svg { color: var(--hero-green); }
.hero-quick-links [data-quick-filter="agents"] svg { color: var(--hero-cyan); }
.hero-quick-links [data-quick-filter="newest"] svg { color: var(--hero-violet); }
.hero-quick-links a svg { color: var(--hero-blue); }

/* =========================================================
   HERO PROOF CARDS
   ========================================================= */

.hero-proof-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.hero-proof-card {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 72px;
  padding: 10px 11px;
  overflow: hidden;
  border: 1px solid rgba(69, 116, 181, .14);
  border-radius: 15px;
  background: rgba(249, 252, 255, .82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.hero-proof-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  opacity: .7;
  background: linear-gradient(90deg, var(--hero-blue), transparent 75%);
}

.hero-proof-card-registry::after {
  background: linear-gradient(90deg, var(--hero-green), transparent 75%);
}

.hero-proof-card-agent::after {
  background: linear-gradient(90deg, var(--hero-cyan), transparent 75%);
}

.hero-proof-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(20, 95, 255, .12), rgba(16, 173, 210, .07));
  color: var(--hero-blue);
}

.hero-proof-card-registry .hero-proof-icon {
  background: rgba(8, 154, 107, .09);
  color: var(--hero-green);
}

.hero-proof-card-agent .hero-proof-icon {
  background: rgba(16, 173, 210, .1);
  color: #078dab;
}

.hero-proof-icon svg {
  width: 16px;
  height: 16px;
}

.hero-proof-copy {
  min-width: 0;
}

.hero-proof-copy span,
.hero-proof-copy strong,
.hero-proof-copy small {
  display: block;
}

.hero-proof-copy span {
  color: #7088a5;
  font-size: 8px;
}

.hero-proof-copy strong {
  margin-top: 1px;
  color: var(--hero-ink);
  font-size: 16px;
  line-height: 1.1;
}

.hero-proof-copy small {
  max-width: 160px;
  margin-top: 3px;
  overflow: hidden;
  color: #879ab2;
  font-size: 7px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-proof-trend {
  display: grid;
  justify-items: end;
  min-width: 78px;
}

.hero-proof-trend b {
  color: #4e6889;
  font-size: 8px;
}

.hero-proof-trend canvas {
  display: block;
  width: 76px;
  height: 25px;
}

/* =========================================================
   GLOBE COCKPIT
   ========================================================= */

.map-cockpit {
  --rail-tab-width: 56px;
  --rail-gap: 10px;
  --rail-panel-width: clamp(360px, 24vw, 470px);

  position: relative;
  z-index: 3;
  width: 100vw;
  max-width: none;
  min-height: clamp(820px, 54vw, 1600px);

  /* full bleed */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  /* remove inward squeeze */
  padding: 0;
  overflow: visible;
}

.world-map-stage {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  min-height: inherit;
  overflow: visible;
  background: transparent;
}

.world-map-header {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 46px;
  padding: 2px clamp(18px, 2vw, 34px) 8px;
}

.world-map-header > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.world-map-header .panel-kicker {
  color: var(--hero-blue);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.world-map-header strong {
  color: var(--hero-ink);
  font-size: clamp(17px, 1.12vw, 27px);
  line-height: 1.2;
}

.world-map-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-section .directory-guide-button-compact,
.hero-section .data-badge,
.hero-section .map-live-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(60, 110, 177, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: #4d698a;
  box-shadow: 0 6px 18px rgba(24, 65, 115, .055);
  font: inherit;
  font-size: 9px;
  font-weight: 780;
  white-space: nowrap;
}

.directory-network-summary {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: max-content;
  min-height: auto;
  margin: 0 auto 6px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;

  cursor: pointer;
  user-select: none;
}

.directory-network-summary:focus-visible {
  outline: 3px solid rgba(20, 95, 255, .24);
  outline-offset: 6px;
  border-radius: 14px;
}

.directory-network-summary::-webkit-details-marker {
  display: none;
}

.directory-network-summary-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 0 auto;
}

.directory-network-summary-globe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
  border-radius: 14px;
  background: linear-gradient(180deg, #eef4ff 0%, #dde8ff 100%);
  box-shadow: inset 0 0 0 1px rgba(55, 99, 214, 0.12);
  flex: 0 0 44px;
}

.directory-network-summary-text {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  background: linear-gradient(90deg, #1f63ff 0%, #347bff 45%, #5c5dff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

#directoryNetworkDetails > summary.directory-network-summary {
  display: flex;
  justify-content: center;
  width: max-content;
  max-width: calc(100% - 32px);
  min-height: auto;
  margin: 0 auto 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-section .directory-guide-button-compact {
  cursor: pointer;
}

.hero-section .map-live-key i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hero-green);
  box-shadow: 0 0 0 4px rgba(8, 154, 107, .09), 0 0 14px rgba(8, 154, 107, .24);
}

.globe-stage {
  position: relative;
  width: 100%;
  min-height: clamp(760px, 52vw, 1500px);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(67, 144, 230, .17) 0%, rgba(104, 168, 231, .08) 29%, transparent 61%);
}

.globe-stage::before {
  content: "";
  position: absolute;
  inset: 7% 14%;
  border-radius: 50%;
  background: rgba(24, 105, 218, .07);
  filter: blur(70px);
  pointer-events: none;
}

#directoryGlobe {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(760px, 52vw, 1500px);
  border: 0;
  background: transparent;
  touch-action: pan-y;
  transform: none;
}

.globe-orbit {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(65, 126, 201, .105);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.globe-orbit-a {
  width: min(75vw, 1980px);
  aspect-ratio: 1;
}

.globe-orbit-b {
  width: min(51vw, 1360px);
  aspect-ratio: 1;
}

.globe-tooltip {
  position: absolute;
  z-index: 14;
  width: min(300px, calc(100vw - 32px));
  max-width: 300px;
  padding: 13px 15px 14px;
  border: 1px solid rgba(86, 136, 196, .20);
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  color: #17324f;
  box-shadow:
    0 18px 44px rgba(52, 87, 128, .18),
    0 4px 14px rgba(52, 87, 128, .08);
  font-size: 12px;
  line-height: 1.4;
  pointer-events: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.globe-tooltip strong {
  display: -webkit-box;
  margin: 0 0 7px;
  overflow: hidden;
  color: #102a44;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -.01em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.globe-tooltip span {
  display: block;
  margin: 0 0 9px;
  color: #607a98;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.4;
}

.globe-tooltip small {
  display: block;
  margin: 0;
  color: #1677d2;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .015em;
}

.globe-tooltip[hidden] {
  display: none !important;
}


.world-map-empty-note {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 34px;
  padding: 9px 12px;
  border: 1px solid var(--hero-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .84);
  color: #7087a3;
  font-size: 10px;
  transform: translateX(-50%);
}

.world-map-footer {
  position: relative;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 10px clamp(18px, 2vw, 34px) 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #728ba8;
  font-size: 10px;
  line-height: 1;
}

.globe-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  white-space: nowrap;
}

.globe-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.world-map-footer p {
  max-width: min(48vw, 920px);
  margin: 0;
  text-align: right;
  line-height: 1.35;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.legend-dot.listing-dot { background: var(--hero-blue); }
.legend-dot.global-dot { background: var(--hero-cyan); }
.legend-dot.verified-dot { background: var(--hero-green); }

.legend-line {
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hero-violet), #b596ff);
}

/* =========================================================
   PREMIUM SIDE RAILS
   ========================================================= */

.map-rail {
  position: absolute;
  top: 64px;
  bottom: 54px;
  z-index: 24;
  width: var(--rail-tab-width);
  pointer-events: none;
}

.map-rail-left {
  left: 0;
}

.map-rail-right {
  right: 0;
}

.map-rail-toggle {
  position: absolute;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 54px;
  height: 176px;
  padding: 10px 0;
  overflow: hidden;
  border: 0;
  color: #fff;
  box-shadow: 0 18px 38px rgba(15, 54, 111, .21);
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
  transition: width .18s ease, box-shadow .18s ease, filter .18s ease;
}

.map-rail-toggle::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, .2);
  pointer-events: none;
}

.map-rail-left .map-rail-toggle {
  left: 0;
  border-radius: 0 18px 18px 0;
  background: linear-gradient(180deg, #0d45bd 0%, #1668f5 52%, #5b4fe7 100%);
}

.map-rail-right .map-rail-toggle {
  right: 0;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, #5f42d9 0%, #285edc 48%, #079fc5 100%);
}

.map-rail-toggle:hover {
  width: 58px;
  filter: saturate(112%) brightness(1.04);
  box-shadow: 0 22px 48px rgba(15, 54, 111, .28);
}

.map-rail-toggle span {
  position: relative;
  z-index: 1;
  writing-mode: vertical-rl;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .11em;
  line-height: 1;
  text-transform: uppercase;
}

.map-rail-left .map-rail-toggle span {
  transform: rotate(180deg);
}

.map-rail-toggle svg {
  position: relative;
  z-index: 1;
  width: 17px;
  height: 17px;
  color: #fff;
  filter: drop-shadow(0 3px 8px rgba(4, 24, 60, .24));
}

.map-rail-panel {
  position: absolute;
  top: 50%;
  width: var(--rail-panel-width);
  height: auto;
  max-height: min(calc(100% - 46px), 900px);
  box-sizing: border-box;
  padding: 18px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(79, 119, 175, .24) transparent;
  border: 1px solid rgba(62, 112, 181, .24);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .97), rgba(243, 248, 255, .95));
  box-shadow:
    0 34px 90px rgba(16, 51, 99, .2),
    inset 0 1px 0 rgba(255, 255, 255, .96);
  backdrop-filter: blur(26px) saturate(140%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(.975);
  transition: opacity .2s ease, transform .2s ease;
}



.map-rail-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: 24px 24px 0 0;
}

.growth-drawer-panel::before {
  background: linear-gradient(90deg, #145fff, #7850e7);
}

.momentum-drawer-panel::before {
  background: linear-gradient(90deg, #7650e7, #145fff 52%, #0cafd1);
}

.map-rail-panel::-webkit-scrollbar {
  width: 5px;
}

.map-rail-panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(79, 119, 175, .22);
}

.map-rail-left .map-rail-panel {
  left: calc(var(--rail-tab-width) + var(--rail-gap));
}

.map-rail-right .map-rail-panel {
  right: calc(var(--rail-tab-width) + var(--rail-gap));
}

.map-rail.is-expanded {
  pointer-events: auto;
}

.map-rail.is-expanded .map-rail-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

.map-rail.is-expanded .map-rail-toggle {
  box-shadow: 0 24px 52px rgba(15, 54, 111, .3);
}

.map-rail-heading,
.drawer-heading-row,
.hero-right-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
}

.map-rail-heading .panel-kicker,
.hero-right-head .panel-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--hero-blue);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.map-rail-heading strong,
.hero-right-head strong {
  display: block;
  color: var(--hero-ink);
  font-size: 16px;
}

.drawer-live-dot {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(8, 154, 107, .14);
  border-radius: 999px;
  background: rgba(8, 154, 107, .08);
  color: #087f5b;
  font-size: 9px;
  font-weight: 820;
}

.drawer-live-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--hero-green);
  box-shadow: 0 0 0 4px rgba(8, 154, 107, .08);
}

#directoryNetworkDetails,
#directoryNetworkDetails[open] {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}



/* =========================================================
   LEFT GROWTH DRAWER
   ========================================================= */

.growth-entry-card {
  position: relative;
  margin-top: 14px;
  padding: 16px 16px 13px;
  overflow: hidden;
  border: 1px solid rgba(61, 111, 180, .14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(20, 95, 255, .055), transparent 32%),
    linear-gradient(155deg, rgba(253, 254, 255, .99), rgba(244, 249, 255, .95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .96),
    0 10px 28px rgba(26, 65, 113, .045);
}

.growth-entry-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, #145fff, #10add2 52%, #8155ea);
  opacity: .84;
}

.hero-entry-bar-head,
.hero-entry-bar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hero-entry-bar-head .panel-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--hero-blue);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-entry-bar-head strong {
  display: block;
  color: var(--hero-ink);
  font-size: 14px;
  line-height: 1.2;
}

.hero-entry-bar-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border: 1px solid rgba(65, 113, 179, .10);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #66809f;
  font-size: 7px;
  font-weight: 780;
  white-space: nowrap;
}

.hero-entry-bar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-entry-bar-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(20, 95, 255, .045);
}

.hero-entry-bar-legend .bar-discovered { background: #145fff; }
.hero-entry-bar-legend .bar-published { background: #8155ea; }

#heroEntriesChart {
  display: block;
  width: 100%;
  height: 206px;
  margin-top: 12px;
}

.hero-entry-bar-meta {
  margin-top: 7px;
  padding-top: 9px;
  border-top: 1px solid rgba(65, 113, 179, .10);
  color: #7890ad;
  font-size: 8px;
}

.hero-entry-bar-meta strong {
  color: var(--hero-ink);
  font-size: 9px;
}

.metric-list {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.metric-card-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 62px;
  padding: 9px 10px;
  border: 1px solid rgba(67, 116, 181, .14);
  border-radius: 13px;
  background: rgba(251, 253, 255, .9);
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.metric-card-row:hover {
  transform: translateX(2px);
  border-color: rgba(20, 95, 255, .25);
  background: #fff;
}

.metric-icon-shell {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(20, 95, 255, .12), rgba(123, 76, 232, .07));
  color: var(--hero-blue);
  font-size: 14px;
  font-weight: 850;
}

.metric-copy {
  min-width: 0;
}

.metric-copy span,
.metric-copy strong,
.metric-copy small {
  display: block;
}

.metric-copy span {
  color: #7088a5;
  font-size: 8px;
}

.metric-copy strong {
  margin-top: 1px;
  color: var(--hero-ink);
  font-size: 15px;
  line-height: 1.15;
}

.metric-copy small {
  max-width: 190px;
  margin-top: 2px;
  overflow: hidden;
  color: #8498b1;
  font-size: 7px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-trend {
  display: grid;
  justify-items: end;
  min-width: 76px;
}

.metric-trend b {
  color: #4e6889;
  font-size: 8px;
}

.metric-trend canvas {
  display: block;
  width: 76px;
  height: 25px;
}

/* =========================================================
   RIGHT MOMENTUM DRAWER
   ========================================================= */

.hero-section .icon-button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(61, 111, 180, .18);
  border-radius: 10px;
  background: #fff;
  color: var(--hero-blue);
  box-shadow: 0 6px 16px rgba(28, 67, 116, .06);
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease;
}

.hero-section .icon-button:hover {
  transform: rotate(18deg);
  border-color: rgba(20, 95, 255, .4);
}

.hero-section .icon-button svg {
  width: 14px;
  height: 14px;
}

.analytics-drawer-panel .window-switcher {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
  margin-top: 13px;
  padding: 4px;
  border: 1px solid rgba(65, 113, 179, .11);
  border-radius: 12px;
  background: rgba(231, 239, 250, .75);
}

.analytics-drawer-panel .window-switcher button {
  min-width: 0;
  height: 29px;
  padding: 0 2px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #68809f;
  font: inherit;
  font-size: 7px;
  font-weight: 820;
  cursor: pointer;
  transition: color .16s ease, background .16s ease, box-shadow .16s ease;
}

.analytics-drawer-panel .window-switcher button:hover {
  color: var(--hero-blue);
}

.analytics-drawer-panel .window-switcher button.active {
  background: #fff;
  color: var(--hero-blue);
  box-shadow: 0 5px 14px rgba(36, 75, 124, .1);
}

.overall-chart-card,
.momentum-quality-card {
  position: relative;
  margin-top: 11px;
  overflow: hidden;
  border: 1px solid rgba(62, 111, 178, .15);
  border-radius: 17px;
  background:
    radial-gradient(circle at 88% 18%, rgba(105, 81, 230, .09), transparent 34%),
    linear-gradient(145deg, rgba(252, 253, 255, .98), rgba(244, 249, 255, .94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92);
}

/* Current momentum gauge markup. The canvas owns the instrument and the
   DOM score sits in a separate column, matching asg-directory.js. */
.momentum-gauge-card {
  padding: 13px;
}

.momentum-gauge-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  align-items: center;
  gap: 10px;
  min-height: 150px;
}

#analyticsGauge {
  display: block;
  width: 100%;
  height: 150px;
  min-width: 0;
}

.momentum-gauge-score {
  min-width: 0;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 3px;
  padding: 12px 10px;
  border-left: 1px solid rgba(62, 111, 178, .12);
}

.momentum-gauge-score strong,
.momentum-gauge-score span,
.momentum-gauge-score small {
  display: block;
}

.momentum-gauge-score strong {
  color: var(--hero-blue);
  font-size: 31px;
  line-height: .95;
  letter-spacing: -.055em;
}

.momentum-gauge-score span {
  color: #31577f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .07em;
}

.momentum-gauge-score small {
  color: #8396af;
  font-size: 8px;
  line-height: 1.35;
}

.momentum-gauge-card[data-band="excellent"] .momentum-gauge-score strong { color: var(--hero-green); }
.momentum-gauge-card[data-band="strong"] .momentum-gauge-score strong { color: var(--hero-blue); }
.momentum-gauge-card[data-band="growing"] .momentum-gauge-score strong { color: var(--hero-amber); }
.momentum-gauge-card[data-band="early"] .momentum-gauge-score strong { color: #d93f4c; }

.gauge-change {
  width: max-content;
  max-width: 100%;
  margin: 5px 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(8, 154, 107, .08);
  color: var(--hero-green);
  font-size: 8px;
  font-weight: 850;
  line-height: 1.25;
  text-align: right;
}

.gauge-change.is-down {
  background: rgba(217, 63, 76, .07);
  color: #c93443;
}

.gauge-change.is-up {
  background: rgba(8, 154, 107, .08);
  color: var(--hero-green);
}

.overall-chart-card {
  padding: 13px;
}

.overall-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.overall-chart-head span {
  display: block;
  color: #7188a5;
  font-size: 8px;
}

.overall-chart-head strong {
  display: block;
  margin-top: 2px;
  color: var(--hero-ink);
  font-size: 11px;
}

.chart-key {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #6f86a4;
  font-size: 7px;
}

.chart-key i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hero-blue), var(--hero-violet));
  box-shadow: 0 0 0 4px rgba(20, 95, 255, .06);
}

#momentumSpectrum {
  display: block;
  width: 100%;
  height: 64px;
  margin-top: 8px;
}

#overallPerformanceChart {
  display: block;
  width: 100%;
  height: 112px;
  margin-top: 8px;
}

.momentum-quality-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 11px 12px;
}

.momentum-quality-copy span,
.momentum-quality-copy strong,
.momentum-quality-copy small {
  display: block;
}

.momentum-quality-copy span {
  color: #7188a5;
  font-size: 8px;
}

.momentum-quality-copy strong {
  margin-top: 2px;
  color: var(--hero-ink);
  font-size: 18px;
  line-height: 1;
}

.momentum-quality-copy small {
  margin-top: 3px;
  color: #8396af;
  font-size: 7px;
}

.momentum-quality-trend {
  display: grid;
  justify-items: end;
  min-width: 94px;
}

.momentum-quality-trend b {
  color: #4e6889;
  font-size: 8px;
}

.momentum-quality-trend canvas {
  display: block;
  width: 94px;
  height: 28px;
}

.analytics-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.analytics-mini-grid article {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(63, 112, 178, .14);
  border-radius: 13px;
  background: rgba(250, 253, 255, .9);
}

.analytics-mini-grid article::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(20, 95, 255, .72), transparent 82%);
}

.analytics-mini-grid .registry-mini-card {
  grid-column: 1 / -1;
}

.analytics-mini-grid .registry-mini-card::after {
  background: linear-gradient(90deg, rgba(8, 154, 107, .78), rgba(20, 95, 255, .42), transparent 88%);
}

.momentum-mini-heading {
  display: flex;
  align-items: center;
  gap: 7px;
}

.momentum-mini-icon {
  display: grid !important;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 8px;
  background: rgba(8, 154, 107, .08);
  color: var(--hero-green) !important;
}

.momentum-mini-icon svg {
  width: 13px;
  height: 13px;
}

.analytics-mini-grid span,
.analytics-mini-grid strong,
.analytics-mini-grid small {
  display: block;
}

.analytics-mini-grid span {
  color: #748ca8;
  font-size: 8px;
}

.analytics-mini-grid strong {
  margin-top: 2px;
  color: var(--hero-ink);
  font-size: 15px;
}

.analytics-mini-grid small {
  min-height: 12px;
  margin-top: 1px;
  color: #8498b1;
  font-size: 7px;
}

.analytics-mini-grid canvas {
  display: block;
  width: 100%;
  height: 27px;
  margin-top: 4px;
}

.drawer-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  margin-top: 12px;
  padding: 0 11px;
  border: 1px solid rgba(20, 95, 255, .16);
  border-radius: 10px;
  background: rgba(20, 95, 255, .055);
  color: var(--hero-blue);
  text-decoration: none;
  font-size: 9px;
  font-weight: 820;
  transition: gap .16s ease, background .16s ease;
}

.drawer-detail-link:hover {
  gap: 10px;
  background: rgba(20, 95, 255, .09);
}

.drawer-detail-link svg {
  width: 12px;
  height: 12px;
}

.drawer-status-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid rgba(61, 111, 180, .12);
  color: #7c91aa;
  font-size: 8px;
}

.drawer-status-line i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--hero-green);
  box-shadow: 0 0 0 4px rgba(8, 154, 107, .07);
}

/* =========================================================
   PREMIUM LIVE SIGNAL RAIL
   ========================================================= */

.hero-signal-rail {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: stretch;
  width: 100vw;
  max-width: none;
  min-height: 58px;

  /* full bleed */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;

  overflow: hidden;
  border-top: 1px solid rgba(102, 156, 225, .2);
  border-bottom: 1px solid rgba(102, 156, 225, .2);
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 22% 0%, rgba(37, 111, 255, .28), transparent 28%),
    radial-gradient(circle at 76% 100%, rgba(119, 70, 226, .23), transparent 30%),
    linear-gradient(105deg, #071b37 0%, #0b2c58 48%, #142653 100%);
  box-shadow:
    0 18px 44px rgba(8, 29, 59, .18),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

.hero-signal-rail::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, #1b67ff, #19b6d5 50%, #8d59ee);
}

.hero-signal-rail-brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  min-width: 170px;
  padding: 0 19px;
  border-right: 1px solid rgba(151, 190, 239, .14);
  background: rgba(5, 21, 44, .2);
}

.hero-signal-rail-brand .live-indicator {
  width: 8px;
  height: 8px;
  background: #21d69b;
  box-shadow: 0 0 0 5px rgba(33, 214, 155, .1), 0 0 18px rgba(33, 214, 155, .36);
}

.hero-signal-rail-brand small,
.hero-signal-rail-brand strong {
  display: block;
}

.hero-signal-rail-brand small {
  color: #89a9cf;
  font-size: 7px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-signal-rail-brand strong {
  margin-top: 2px;
  color: #fff;
  font-size: 11px;
}

.signal-rail-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-width: 100%;
  height: 100%;
  animation: asgSignalRail 64s linear infinite;
  will-change: transform;
}

.signal-item,
.signal-loading {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 56px;
  padding: 0 18px;
  border-right: 1px solid rgba(147, 188, 239, .1);
  background: transparent;
  color: #9eb7d6;
  white-space: nowrap;
  font-size: 8px;
}

.signal-item strong {
  color: #fff;
  font-size: 9px;
}

.signal-item i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #42d5ff;
  box-shadow: 0 0 12px rgba(66, 213, 255, .38);
}

.hero-signal-rail-action {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  align-self: stretch;
  min-width: 146px;
  padding: 0 18px;
  border-left: 1px solid rgba(151, 190, 239, .14);
  background: rgba(255, 255, 255, .045);
  color: #fff;
  text-decoration: none;
  font-size: 9px;
  font-weight: 820;
  transition: background .16s ease;
}

.hero-signal-rail-action:hover {
  background: rgba(255, 255, 255, .09);
}

.hero-signal-rail-action svg {
  width: 13px;
  height: 13px;
}

@keyframes asgSignalRail {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-33.333%, 0, 0); }
}

/* =========================================================
   TRUST PRINCIPLES
   ========================================================= */

.trust-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  width: 100vw;
  max-width: none;

  /* full bleed */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;

  border-top: 1px solid rgba(64, 111, 176, .13);
  border-bottom: 1px solid rgba(64, 111, 176, .16);
  border-left: 0;
  border-right: 0;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 16px 42px rgba(23, 61, 108, .055);
}

.trust-strip article {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-width: 0;
  min-height: 104px;
  padding: 18px clamp(18px, 2vw, 42px);
  border-right: 1px solid rgba(64, 111, 176, .13);
  background: transparent;
}

.trust-strip article:last-child {
  border-right: 0;
}

.trust-strip article > svg {
  width: 42px;
  height: 42px;
  padding: 11px;
  overflow: visible;
  border-radius: 13px;
  background: rgba(20, 95, 255, .075);
  color: var(--hero-blue);
  box-sizing: border-box;
}

.trust-strip .trust-registry-card > svg {
  background: rgba(8, 154, 107, .08);
  color: var(--hero-green);
}

.trust-strip article:nth-child(3) > svg {
  background: rgba(16, 173, 210, .09);
  color: #078eae;
}

.trust-strip article:nth-child(4) > svg {
  background: rgba(123, 76, 232, .08);
  color: var(--hero-violet);
}

.trust-strip strong,
.trust-strip span,
.trust-strip small {
  display: block;
}

.trust-strip strong {
  color: var(--hero-ink);
  font-size: 13px;
  line-height: 1.2;
}

.trust-strip span {
  margin-top: 4px;
  color: #7188a5;
  font-size: 9px;
  line-height: 1.45;
}

.trust-strip small {
  margin-top: 5px;
  color: var(--hero-blue);
  font-size: 8px;
  font-weight: 760;
}

/* =========================================================
   INTERACTION AND ACCESSIBILITY
   ========================================================= */

.hero-section button:focus-visible,
.hero-section a:focus-visible,
.hero-section input:focus-visible,
.trust-strip a:focus-visible {
  outline: 3px solid rgba(20, 95, 255, .28);
  outline-offset: 3px;
}

@media (pointer: fine) {
  #directoryGlobe {
    touch-action: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section *,
  .hero-section *::before,
  .hero-section *::after {
    scroll-behavior: auto;
    animation-duration: .01ms;
    animation-iteration-count: 1;
    transition-duration: .01ms;
  }

  .signal-rail-track {
    animation: none;
  }
}

/* =========================================================
   ULTRA-WIDE
   ========================================================= */

@media (min-width: 2400px) {
  .hero-intro {
    grid-template-columns: minmax(0, 1.18fr) minmax(760px, .82fr);
  }

  .hero-search-card {
    max-width: 1120px;
  }

  .map-rail-panel {
    width: clamp(470px, 19vw, 620px);
    max-height: min(calc(100% - 72px), 1080px);
  }

  #heroEntriesChart {
    height: 244px;
  }

  .trust-strip article {
    min-height: 118px;
  }
}

/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (max-width: 1500px) {
  .hero-intro {
    grid-template-columns: minmax(0, 1fr) minmax(500px, .86fr);
    gap: 30px;
  }

  .hero-intro h1 {
    font-size: clamp(66px, 6.5vw, 108px);
  }

  .hero-proof-grid {
    gap: 7px;
  }

  .hero-proof-card {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .hero-proof-trend {
    display: none;
  }

  .map-rail-panel {
    width: clamp(360px, 27vw, 470px);
  }

  .trust-strip article {
    padding-inline: 26px;
  }
}

@media (max-width: 1260px) {
  .hero-intro {
    grid-template-columns: minmax(0, 1fr) minmax(460px, .92fr);
    gap: 26px;
    padding-inline: 28px;
  }

  .hero-intro h1 {
    font-size: clamp(58px, 6.2vw, 86px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-intro-actions {
    margin-top: 22px;
  }

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

  .map-cockpit {
    min-height: clamp(760px, 67vw, 980px);
  }

  .globe-stage,
  #directoryGlobe {
    min-height: clamp(680px, 61vw, 900px);
  }

  .world-map-footer p {
    max-width: 52vw;
  }

  .map-rail-panel {
    width: min(430px, calc(100vw - 120px));
  }

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

  .trust-strip article:nth-child(2) {
    border-right: 0;
  }

  .trust-strip article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(64, 111, 176, .13);
  }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {
  .hero-intro {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 56px 24px 52px;
  }

  .hero-intro::before {
    top: 20px;
    left: 24px;
  }

  .hero-intro-copy,
  .hero-intro h1,
  .hero-lead,
  .hero-intro-search {
    max-width: 820px;
  }

  .hero-intro-search {
  justify-self: start;
  align-self: auto;
  margin-top: 0;
}

  .hero-intro h1 {
    font-size: clamp(60px, 10vw, 94px);
  }

  .map-cockpit {
    min-height: 760px;
    padding-inline: 14px;
	margin-top: 0;
  }

  .globe-stage,
  #directoryGlobe {
    min-height: 670px;
  }

  .world-map-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .world-map-footer p {
    max-width: none;
    text-align: left;
  }

  .map-rail-panel {
    width: min(430px, calc(100vw - 102px));
  }

  .hero-signal-rail {
  width: 100%;
}

  .hero-signal-rail-brand {
    min-width: 150px;
    padding-inline: 15px;
  }

  .hero-signal-rail-action {
    min-width: 126px;
    padding-inline: 13px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {
  .hero-intro {
    gap: 28px;
    padding: 48px 15px 38px;
  }

  .hero-intro::before {
    top: 16px;
    left: 15px;
  }

  .hero-kicker {
    margin-bottom: 17px;
    font-size: 9px;
  }

  .hero-intro h1 {
    font-size: clamp(46px, 14vw, 67px);
    line-height: .97;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-intro-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 21px;
  }

  .hero-section .hero-intro-actions .button {
    width: 100%;
  }

  .hero-system-note {
    align-items: flex-start;
    font-size: 9px;
  }

  .hero-search-card {
    padding: 17px;
    border-radius: 21px;
  }

  .hero-search-card-head {
    align-items: flex-start;
  }

  .hero-search-card-head strong {
    font-size: 17px;
  }

  .hero-search {
    grid-template-columns: auto minmax(0, 1fr);
    padding-right: 7px;
  }

  .hero-search button {
    grid-column: 1 / -1;
    width: 100%;
    margin: 3px 0 1px;
  }

  .hero-quick-links {
    gap: 6px;
  }

  .hero-quick-links button,
  .hero-quick-links a {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
    padding-inline: 8px;
  }

  .hero-proof-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof-card {
    min-height: 64px;
  }

  .hero-proof-trend {
    display: grid;
  }

  .map-cockpit {
    min-height: 620px;
    padding: 0 7px 18px;
  }

  .world-map-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    min-height: auto;
    padding: 7px 44px 12px;
  }

  .world-map-header > div:first-child {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }

  .world-map-header .panel-kicker {
    margin: 0;
    line-height: 1.2;
  }

  .world-map-header strong {
    display: block;
    width: 100%;
    font-size: 18px;
    line-height: 1.1;
  }

  .world-map-header-actions {
    justify-content: flex-start;
  }

  .globe-stage,
  #directoryGlobe {
    min-height: 510px;
  }

  .globe-orbit-a { width: 145vw; }
  .globe-orbit-b { width: 104vw; }

  .map-rail {
    top: 0;
    bottom: 0;
    width: 40px;
  }

  .map-rail-left {
    left: 0;
    right: auto;
  }

  .map-rail-right {
    right: 0;
    left: auto;
  }

  .map-rail-toggle {
    top: 50%;
    width: 40px;
    height: 112px;
    gap: 6px;
    transform: translateY(-50%);
  }

  .map-rail-toggle:hover {
    width: 40px;
  }

  .map-rail-toggle span {
    font-size: 8px;
  }

  .map-rail-toggle svg {
    width: 14px;
    height: 14px;
  }

  .map-rail-panel {
    position: fixed;
    z-index: 100;
    top: 50%;
    width: auto;
    max-height: calc(100dvh - 24px);
    padding: 15px;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px;
    transform: translateY(-50%) scale(.975);
  }

  .map-rail-left .map-rail-panel,
  .map-rail-right .map-rail-panel {
    left: 12px;
    right: 12px;
  }

  .map-rail.is-expanded {
    z-index: 1000;
  }

  .map-rail.is-expanded .map-rail-panel {
    transform: translateY(-50%) scale(1);
  }

  #heroEntriesChart {
    height: 190px;
  }

  .momentum-gauge-layout {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 8px;
    min-height: 132px;
  }

  #analyticsGauge {
    height: 132px;
  }

  .momentum-gauge-score {
    padding-inline: 8px 4px;
  }

  .momentum-gauge-score strong {
    font-size: 27px;
  }

  .world-map-footer {
    gap: 7px;
    padding: 8px 44px 3px;
  }

  .globe-legend {
    gap: 8px;
    white-space: normal;
  }

.hero-signal-rail {
  grid-template-columns: 1fr auto;
  width: 100%;
  min-height: 54px;
  margin-bottom: 0;
  border-radius: 0;
}

  .hero-signal-rail-brand {
    display: none;
  }

  .signal-item,
  .signal-loading {
    min-height: 52px;
    padding-inline: 13px;
  }

  .hero-signal-rail-action {
    min-width: 104px;
    padding-inline: 10px;
    font-size: 8px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip article,
  .trust-strip article:nth-child(2) {
    min-height: 92px;
    padding: 16px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(64, 111, 176, .13);
  }

  .trust-strip article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 430px) {
  .hero-search-card-head {
    display: block;
  }

  .hero-search-live-status {
    margin-top: 10px;
  }

  .hero-proof-trend {
    display: none;
  }

  .hero-entry-bar-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .analytics-mini-grid {
    grid-template-columns: 1fr;
  }

  .analytics-mini-grid .registry-mini-card {
    grid-column: auto;
  }

  .momentum-gauge-layout {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  #analyticsGauge {
    width: 100%;
    height: 132px;
  }

  .momentum-gauge-score {
    grid-template-columns: auto auto;
    align-items: baseline;
    justify-content: start;
    column-gap: 7px;
    padding: 8px 2px 2px;
    border-left: 0;
    border-top: 1px solid rgba(62, 111, 178, .12);
  }

  .momentum-gauge-score small {
    grid-column: 1 / -1;
  }

  .gauge-change {
    margin-top: 8px;
  }

  .metric-card-row {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .metric-trend {
    display: none;
  }
}
