/* Vector Beacon — independent help/support visual system */

:root {
  --vb-ink: #14181F;
  --vb-mute: #667085;
  --vb-fog: #EEF1F6;
  --vb-panel: #FFFFFF;
  --vb-line: rgba(20, 24, 31, 0.1);
  --vb-cobalt: #2F5BFF;
  --vb-cyan: #0BA5A8;
  --vb-amber: #E89B12;
  --vb-lime: #6FB41E;
  --vb-void: #0C1017;
  --font-display: 'Unbounded', 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --vb-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --vb-dock-h: 7.5rem;
}

*, *::before, *::after { box-sizing: border-box; }

body.vb-body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--vb-ink);
  background:
    radial-gradient(900px 480px at 100% -10%, rgba(47, 91, 255, 0.12), transparent 55%),
    radial-gradient(700px 420px at -5% 40%, rgba(11, 165, 168, 0.1), transparent 50%),
    linear-gradient(180deg, #E6EAF2 0%, var(--vb-fog) 45%, #E0E6F0 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.vb-root { min-height: 100vh; display: flex; flex-direction: column; }
.page-main { flex: 1; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0);
}

.vb-deck {
  position: relative;
  width: min(100% - 1.4rem, 1120px);
  margin: 0 auto;
  padding: 1.2rem 0 calc(var(--vb-dock-h) + 2rem);
}

.vb-scan {
  position: absolute;
  inset: 0 -10% auto;
  height: 28rem;
  pointer-events: none;
  z-index: 0;
  background:
    repeating-linear-gradient(
      -28deg,
      transparent 0 14px,
      rgba(47, 91, 255, 0.03) 14px 15px
    );
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
  animation: vb-scan-drift 28s linear infinite;
}

@keyframes vb-scan-drift {
  from { background-position: 0 0; }
  to { background-position: 180px 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .vb-scan { animation: none; }
}

/* Mast */
.vb-mast {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.vb-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.vb-mark-ring {
  position: absolute;
  left: -0.35rem;
  top: 50%;
  width: 3.2rem;
  height: 3.2rem;
  margin-top: -1.6rem;
  border: 1.5px dashed rgba(47, 91, 255, 0.35);
  border-radius: 50%;
  animation: vb-spin 18s linear infinite;
}

@keyframes vb-spin { to { transform: rotate(360deg); } }

.vb-mark em {
  position: relative;
  z-index: 1;
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--vb-cobalt);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: transform 0.35s var(--vb-ease);
}

.vb-mark:hover em { transform: scale(1.08) rotate(-8deg); }

.vb-mark strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.vb-mast-links {
  display: flex;
  gap: 0.15rem;
}

.vb-mast-links a {
  text-decoration: none;
  color: var(--vb-ink);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.45rem 0.75rem;
  border-radius: 0.35rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.3s var(--vb-ease);
}

.vb-mast-links a:hover {
  background: rgba(47, 91, 255, 0.1);
  color: var(--vb-cobalt);
  transform: translateY(-1px);
}

/* Hero */
.vb-hero {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 800px) {
  .vb-hero {
    grid-template-columns: 1.4fr 0.6fr;
    align-items: end;
  }
}

.vb-kicker {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vb-cobalt);
}

.vb-kicker-invert { color: var(--vb-amber); }

.vb-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.5vw, 2.85rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 14ch;
}

.vb-lede {
  margin: 0;
  color: var(--vb-mute);
  line-height: 1.55;
  max-width: 38ch;
  font-size: 1.02rem;
}

.vb-hero-meter {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 0.45rem;
  height: 5.5rem;
  padding-bottom: 0.25rem;
}

.vb-hero-meter span {
  display: block;
  width: 0.55rem;
  border-radius: 999px 999px 0.15rem 0.15rem;
  background: linear-gradient(180deg, var(--vb-cobalt), var(--vb-cyan));
  transform-origin: bottom;
  animation: vb-meter 1.8s var(--vb-ease) infinite alternate;
}

.vb-hero-meter span:nth-child(1) { height: 35%; animation-delay: 0s; }
.vb-hero-meter span:nth-child(2) { height: 70%; animation-delay: 0.15s; }
.vb-hero-meter span:nth-child(3) { height: 48%; animation-delay: 0.3s; }
.vb-hero-meter span:nth-child(4) { height: 90%; animation-delay: 0.45s; }
.vb-hero-meter span:nth-child(5) { height: 55%; animation-delay: 0.6s; }

@keyframes vb-meter {
  from { transform: scaleY(0.55); opacity: 0.55; }
  to { transform: scaleY(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .vb-hero-meter span,
  .vb-mark-ring { animation: none; }
}

[data-vb-rise] {
  opacity: 0;
  transform: translateY(14px);
  animation: vb-rise 0.7s var(--vb-ease) forwards;
}

@keyframes vb-rise {
  to { opacity: 1; transform: none; }
}

/* Horizontal radar sectors */
.vb-radar {
  position: relative;
  z-index: 2;
  margin: 0 -0.25rem 2rem;
}

.vb-radar-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(11.5rem, 1fr);
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0.25rem 0.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--vb-cobalt) transparent;
}

.vb-sector {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 7.5rem;
  padding: 1rem 1.05rem;
  text-decoration: none;
  color: inherit;
  background: var(--vb-panel);
  border: 1.5px solid var(--vb-line);
  border-radius: 0.35rem 1.35rem 0.35rem 1.35rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--vb-ease), border-color 0.25s ease, box-shadow 0.4s var(--vb-ease);
}

.vb-sector::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--vb-ease);
}

.vb-sector:hover,
.vb-sector.is-on {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(20, 24, 31, 0.1);
}

.vb-sector:hover::after,
.vb-sector.is-on::after { transform: scaleX(1); }

.vb-tone-cyan { color: var(--vb-cyan); }
.vb-tone-amber { color: var(--vb-amber); }
.vb-tone-lime { color: var(--vb-lime); }
.vb-tone-cobalt { color: var(--vb-cobalt); }

.vb-sector-code,
.vb-band-code {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.vb-sector strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--vb-ink);
}

.vb-sector em {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--vb-mute);
  line-height: 1.35;
}

/* Workspace: scrubber + stream */
.vb-workspace {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .vb-workspace {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
  }
}

.vb-scrub {
  display: none;
}

@media (min-width: 900px) {
  .vb-scrub {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    position: sticky;
    top: 1.25rem;
    padding-top: 0.5rem;
  }
}

.vb-scrub-rail {
  position: absolute;
  top: 1.6rem;
  bottom: 1.6rem;
  width: 2px;
  background: rgba(20, 24, 31, 0.1);
  border-radius: 999px;
  z-index: 0;
}

.vb-scrub-fill {
  display: block;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--vb-cobalt), var(--vb-cyan));
  border-radius: inherit;
  transition: height 0.25s ease;
}

.vb-scrub-dot {
  position: relative;
  z-index: 1;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--vb-mute);
  background: var(--vb-panel);
  border: 1.5px solid var(--vb-line);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 0.3s var(--vb-ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.vb-scrub-dot:hover,
.vb-scrub-dot.is-on {
  transform: scale(1.08);
  background: var(--vb-cobalt);
  border-color: var(--vb-cobalt);
  color: #fff;
}

.vb-stream {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  scroll-behavior: smooth;
}

.vb-band {
  scroll-margin-top: 1.25rem;
}

.vb-band-head {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.vb-band-code {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  background: var(--vb-panel);
  border: 1.5px solid currentColor;
  border-radius: 0.85rem 0.25rem;
}

.vb-band-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  letter-spacing: -0.03em;
  color: var(--vb-ink);
}

.vb-fold-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 720px) {
  .vb-fold-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(min-content, max-content);
  }
}

.vb-fold {
  background: var(--vb-panel);
  border: 1.5px solid var(--vb-line);
  border-radius: 1rem 0.3rem 1rem 0.3rem;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.35s var(--vb-ease), transform 0.35s var(--vb-ease);
}

.vb-fold:hover {
  border-color: rgba(47, 91, 255, 0.28);
  box-shadow: 0 12px 30px rgba(47, 91, 255, 0.08);
}

.vb-fold:has(.vb-fold-q[aria-expanded="true"]) {
  border-color: rgba(47, 91, 255, 0.4);
  transform: translateY(-2px);
  grid-column: 1 / -1;
}

.vb-fold-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.85rem;
  appearance: none;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 1rem 1.05rem;
  font: inherit;
  font-weight: 700;
  color: var(--vb-ink);
  cursor: pointer;
}

.vb-fold-q span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.vb-fold-q i {
  flex-shrink: 0;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.35rem;
  border: 1.5px solid var(--vb-line);
  position: relative;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.35s var(--vb-ease);
}

.vb-fold-q i::before,
.vb-fold-q i::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--vb-ink);
  transition: transform 0.35s var(--vb-ease), opacity 0.25s ease;
}

.vb-fold-q i::before {
  width: 0.55rem;
  height: 1.5px;
}

.vb-fold-q i::after {
  width: 1.5px;
  height: 0.55rem;
}

.vb-fold-q[aria-expanded="true"] i {
  background: var(--vb-cobalt);
  border-color: var(--vb-cobalt);
  transform: rotate(90deg);
}

.vb-fold-q[aria-expanded="true"] i::before,
.vb-fold-q[aria-expanded="true"] i::after {
  background: #fff;
}

.vb-fold-q[aria-expanded="true"] i::after {
  opacity: 0;
  transform: scaleY(0);
}

.vb-fold-a {
  padding: 0 1.05rem 1.1rem;
  color: var(--vb-mute);
  line-height: 1.55;
  font-size: 0.95rem;
  border-top: 1px dashed transparent;
  animation: vb-unfold 0.35s var(--vb-ease);
}

.vb-fold-a:not([hidden]) {
  border-top-color: var(--vb-line);
  padding-top: 0.85rem;
}

.vb-fold-a a {
  color: var(--vb-cobalt);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 91, 255, 0.35);
}

.vb-fold-a a:hover { color: var(--vb-cyan); }

@keyframes vb-unfold {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.vb-empty {
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  color: var(--vb-mute);
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px dashed var(--vb-line);
  border-radius: 1rem;
}

.vb-empty a { color: var(--vb-cobalt); font-weight: 700; }

/* Launch ribbon — skewed parallelograms */
.vb-launch {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 2.5rem 0 1.5rem;
}

@media (min-width: 720px) {
  .vb-launch { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.vb-launch-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 1rem;
  text-decoration: none;
  color: inherit;
  background: var(--vb-panel);
  border: 1.5px solid var(--vb-line);
  transform: skewX(-6deg);
  transition: transform 0.35s var(--vb-ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.vb-launch-item > * {
  transform: skewX(6deg);
}

.vb-launch-item span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vb-mute);
}

.vb-launch-item strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.vb-launch-item:hover {
  transform: skewX(-6deg) translateY(-4px);
  background: var(--vb-void);
  border-color: var(--vb-void);
  color: #fff;
}

.vb-launch-item:hover span { color: rgba(255, 255, 255, 0.55); }

/* Human channel */
.vb-human {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.5rem;
  background: var(--vb-void);
  color: #EEF1F6;
  border-radius: 1.5rem 0.4rem 1.5rem 0.4rem;
  margin-bottom: 1rem;
}

.vb-human h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  letter-spacing: -0.03em;
}

.vb-human p {
  margin: 0;
  color: rgba(238, 241, 246, 0.7);
  font-size: 0.92rem;
  line-height: 1.45;
}

.vb-human a { color: var(--vb-amber); }

.vb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0 1.35rem;
  border-radius: 0.35rem;
  background: var(--vb-amber);
  color: var(--vb-void);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.35s var(--vb-ease), background 0.25s ease, box-shadow 0.35s var(--vb-ease);
  box-shadow: 0 10px 26px rgba(232, 155, 18, 0.28);
}

.vb-btn:hover {
  transform: translateY(-2px) scale(1.02);
  background: #f5ad2e;
}

/* Fixed bottom search dock */
.vb-dock {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 90;
  width: min(94vw, 40rem);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.vb-dock-shell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.4rem 0.4rem 0.9rem;
  background: rgba(12, 16, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(12, 16, 23, 0.35);
}

.vb-dock-pulse {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--vb-lime);
  box-shadow: 0 0 0 0 rgba(111, 180, 30, 0.55);
  animation: vb-pulse 1.8s ease-out infinite;
}

@keyframes vb-pulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 180, 30, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(111, 180, 30, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 180, 30, 0); }
}

.vb-dock-shell input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  padding: 0.55rem 0.25rem;
}

.vb-dock-shell input::placeholder {
  color: rgba(238, 241, 246, 0.45);
}

.vb-dock-shell button {
  appearance: none;
  border: 0;
  min-height: 2.45rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  background: var(--vb-cobalt);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.3s var(--vb-ease);
}

.vb-dock-shell button:hover {
  background: #4a70ff;
  transform: scale(1.03);
}

.vb-suggest {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0 0.15rem;
  scrollbar-width: none;
}

.vb-suggest::-webkit-scrollbar { display: none; }

.vb-pill {
  appearance: none;
  flex-shrink: 0;
  border: 1px solid rgba(20, 24, 31, 0.12);
  background: rgba(255, 255, 255, 0.85);
  color: var(--vb-ink);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.3s var(--vb-ease);
}

.vb-pill:hover,
.vb-pill.is-on {
  background: var(--vb-cobalt);
  border-color: var(--vb-cobalt);
  color: #fff;
  transform: translateY(-1px);
}

.vb-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
  font-size: 0.82rem;
  color: var(--vb-mute);
  border-top: 1px solid var(--vb-line);
}

.vb-foot a {
  color: var(--vb-ink);
  font-weight: 700;
  text-decoration: none;
  margin-left: 0.75rem;
}

.vb-foot a:hover { color: var(--vb-cobalt); }
