/**
 * 0xNyx — /home premium dark brand (colder luxury)
 * Isolates landing from hacker-terminal overlay; dashboard routes untouched.
 * Accent: electric cyan #5EEAD4 on near-black #050505.
 */

html.route-home #ht-code-rain {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html.route-home,
html.route-home.dark {
  color-scheme: dark !important;
  background: #050505 !important;
}

html.route-home body,
html.route-home.dark body {
  background: #050505 !important;
  color: #e2e8f0 !important;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    'Noto Sans',
    'Noto Sans SC',
    sans-serif !important;
  text-shadow: none !important;
}

html.route-home #app {
  background: #050505 !important;
  color: #e2e8f0 !important;
  font-family: inherit !important;
  min-height: 100vh !important;
}

html.route-home body::after {
  display: none !important;
  content: none !important;
}

/* -------------------------------------------------------------------------- */
/* Brand surface                                                               */
/* -------------------------------------------------------------------------- */

.home-brand {
  --hb-bg: #050505;
  --hb-surface: #0f0f0f;
  --hb-surface-2: #141414;
  --hb-border: rgba(226, 232, 240, 0.12);
  --hb-border-strong: rgba(226, 232, 240, 0.22);
  --hb-text: #e2e8f0;
  --hb-muted: #94a3b8;
  --hb-dim: #64748b;
  --hb-cyan: #5eead4;
  --hb-cyan-ink: #042f2e;
  --hb-cyan-soft: rgba(94, 234, 212, 0.14);
  --hb-chrome: #e2e8f0;
  --hb-max: 1120px;
  --hb-radius: 0.75rem;
  --hb-btn-radius: 999px;
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--hb-bg);
  color: var(--hb-text);
  overflow-x: hidden;
  isolation: isolate;
}

/*
 * Pointer field + glow (0xNyx language, cyan brand).
 * Stage is fixed for cheap viewport canvas, but the lattice is drawn in
 * *page space* (scroll-offset) so dots ride with the document — not a
 * sticky HUD glued only to the cursor while content slides underneath.
 * Glow stays under the cursor as a soft flashlight.
 */
.home-brand .hb-pointer-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.home-brand .hb-pointer-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  display: block;
}

.home-brand .hb-pointer-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 38%),
    var(--hb-cyan-soft),
    transparent 60%
  );
  transition: opacity 0.35s ease;
}

/* Content sits above the field */
.home-brand > .hb-header,
.home-brand > main,
.home-brand > .hb-maker,
.home-brand > .hb-footer {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .home-brand .hb-pointer-glow {
    display: none;
  }
}

@media (pointer: coarse) {
  .home-brand .hb-pointer-glow {
    display: none;
  }
}

.home-brand a {
  color: inherit;
  text-decoration: none;
}

.home-brand * {
  box-shadow: none !important;
  text-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.home-brand .hb-wrap {
  width: 100%;
  max-width: var(--hb-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .home-brand .hb-wrap {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* Nav */
.home-brand .hb-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--hb-border);
}

.home-brand .hb-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.home-brand .hb-logo {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  border: 1px solid var(--hb-border);
  background: var(--hb-surface);
  border-radius: 0.5rem !important;
}

.home-brand .hb-wordmark {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hb-chrome);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-brand .hb-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.home-brand .hb-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  color: var(--hb-muted) !important;
  border: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.home-brand .hb-link:hover {
  color: var(--hb-chrome) !important;
}

/* Buttons — pill / rounded (keynote) */
.home-brand .hb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--hb-btn-radius) !important;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
  white-space: nowrap;
}

.home-brand .hb-btn:active {
  transform: scale(0.98);
}

.home-brand .hb-btn-lg {
  min-height: 2.85rem;
  padding: 0.7rem 1.6rem;
  font-size: 0.9rem;
}

.home-brand .hb-btn-primary {
  background: var(--hb-cyan) !important;
  color: var(--hb-cyan-ink) !important;
  border-color: var(--hb-cyan) !important;
}

.home-brand .hb-btn-primary:hover {
  filter: brightness(1.06);
}

.home-brand .hb-btn-ghost {
  background: transparent !important;
  color: var(--hb-chrome) !important;
  border-color: var(--hb-border-strong) !important;
}

.home-brand .hb-btn-ghost:hover {
  border-color: var(--hb-cyan) !important;
  color: var(--hb-cyan) !important;
}

.home-brand .hb-btn-chrome {
  background: var(--hb-chrome) !important;
  color: #050505 !important;
  border-color: var(--hb-chrome) !important;
}

.home-brand .hb-btn-chrome:hover {
  background: #fff !important;
}

/* Hero */
.home-brand .hb-hero {
  display: grid;
  gap: 2.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .home-brand .hb-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
    min-height: min(72vh, 640px);
    padding-top: 4.5rem;
    padding-bottom: 4rem;
  }
}

.home-brand .hb-kicker {
  font-family: ui-monospace, 'JetBrains Mono', SFMono-Regular, Menlo, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hb-cyan);
  margin-bottom: 1rem;
}

.home-brand .hb-title {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #f8fafc !important;
  max-width: 14ch;
}

.home-brand .hb-sub {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--hb-muted) !important;
}

.home-brand .hb-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Console mock */
.home-brand .hb-console {
  position: relative;
  border: 1px solid var(--hb-border);
  background: linear-gradient(180deg, #0c0c0c 0%, #090909 100%);
  padding: 1rem;
  border-radius: var(--hb-radius) !important;
  transform-origin: center center;
  will-change: transform;
  transition: none;
}

.home-brand .hb-console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--hb-border);
}

.home-brand .hb-console-title {
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hb-dim);
}

.home-brand .hb-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: var(--hb-muted);
}

.home-brand .hb-status-dot {
  width: 0.4rem;
  height: 0.4rem;
  background: var(--hb-cyan);
  border-radius: 999px !important;
}

.home-brand .hb-key-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--hb-border);
  background: #0a0a0a;
  margin-bottom: 0.75rem;
  border-radius: 0.5rem !important;
}

.home-brand .hb-key-meta {
  min-width: 0;
}

.home-brand .hb-key-label {
  display: block;
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hb-dim);
  margin-bottom: 0.25rem;
}

.home-brand .hb-key-value {
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  color: var(--hb-chrome);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-brand .hb-copy {
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--hb-border);
  border-radius: 999px !important;
  color: var(--hb-muted);
  font-size: 0.6875rem;
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  background: transparent;
}

.home-brand .hb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.home-brand .hb-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--hb-border);
  border-radius: 999px !important;
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: var(--hb-muted);
  background: transparent;
}

.home-brand .hb-chip.is-active {
  border-color: rgba(94, 234, 212, 0.55);
  color: var(--hb-cyan);
}

.home-brand .hb-chip-pip {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px !important;
  background: var(--hb-dim);
}

.home-brand .hb-chip.is-active .hb-chip-pip {
  background: var(--hb-cyan);
}

.home-brand .hb-chart {
  border: 1px solid var(--hb-border);
  padding: 0.75rem;
  background: #080808;
  border-radius: 0.5rem !important;
}

.home-brand .hb-bar {
  border-radius: 2px !important;
  transition: background 0.25s ease, opacity 0.25s ease;
}

.home-brand .hb-bar.is-lit {
  background: rgba(94, 234, 212, 0.35);
}

.home-brand .hb-bar.is-lit.is-peak,
.home-brand .hb-bar.is-peak.is-lit {
  background: var(--hb-cyan);
  opacity: 1;
}

.home-brand .hb-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.65rem;
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hb-dim);
}

.home-brand .hb-chart-bars {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 0.25rem;
  height: 4.5rem;
}

.home-brand .hb-bar {
  background: rgba(148, 163, 184, 0.28);
  min-height: 12%;
}

.home-brand .hb-bar.is-peak {
  background: var(--hb-cyan);
  opacity: 0.85;
}

.home-brand .hb-console-foot {
  margin-top: 0.75rem;
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: var(--hb-dim);
}

/* Sections */
.home-brand .hb-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  border-top: 1px solid var(--hb-border);
}

.home-brand .hb-section-head {
  margin-bottom: 1.75rem;
}

.home-brand .hb-section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f8fafc !important;
}

.home-brand .hb-section-sub {
  margin: 0;
  color: var(--hb-muted) !important;
  font-size: 0.9375rem;
  max-width: 40rem;
}

/* Bento */
.home-brand .hb-bento {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .home-brand .hb-bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: minmax(7.5rem, auto);
  }

  .home-brand .hb-bento .hb-cell:nth-child(1) {
    grid-column: span 3;
    grid-row: span 2;
  }
  .home-brand .hb-bento .hb-cell:nth-child(2) {
    grid-column: span 3;
  }
  .home-brand .hb-bento .hb-cell:nth-child(3) {
    grid-column: span 3;
  }
  .home-brand .hb-bento .hb-cell:nth-child(4) {
    grid-column: span 2;
  }
  .home-brand .hb-bento .hb-cell:nth-child(5) {
    grid-column: span 4;
  }
}

.home-brand .hb-cell {
  border: 1px solid var(--hb-border);
  background: var(--hb-surface);
  padding: 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 7rem;
}

.home-brand .hb-cell-code {
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hb-dim);
}

.home-brand .hb-cell-title {
  margin: 0.35rem 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #f8fafc !important;
}

.home-brand .hb-cell-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--hb-muted) !important;
}

/* Comparison */
.home-brand .hb-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--hb-border);
}

.home-brand .hb-table th,
.home-brand .hb-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--hb-border);
  font-size: 0.875rem;
  vertical-align: top;
}

.home-brand .hb-table th {
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hb-dim);
  background: #0a0a0a;
  font-weight: 500;
}

.home-brand .hb-table th.hb-col-us {
  color: var(--hb-cyan);
}

.home-brand .hb-table tr:last-child td {
  border-bottom: none;
}

.home-brand .hb-table td {
  color: var(--hb-muted);
}

.home-brand .hb-table td:first-child {
  color: var(--hb-chrome);
  font-weight: 500;
}

.home-brand .hb-us {
  color: var(--hb-text) !important;
}

.home-brand .hb-check {
  color: var(--hb-cyan);
  margin-right: 0.35rem;
  font-family: ui-monospace, monospace;
}

/* Final CTA */
.home-brand .hb-final {
  border: 1px solid var(--hb-border);
  background: var(--hb-surface);
  padding: 2.25rem 1.5rem;
  text-align: center;
}

.home-brand .hb-final h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: -0.02em;
  color: #f8fafc !important;
}

.home-brand .hb-final p {
  margin: 0 auto 1.35rem;
  max-width: 32rem;
  color: var(--hb-muted) !important;
  font-size: 0.9375rem;
}

/* Maker credit — 0xNyx */
.home-brand .hb-maker {
  margin-top: auto;
  border-top: 1px solid var(--hb-border);
  padding: 2.5rem 0 1.5rem;
}

.home-brand .hb-maker-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .home-brand .hb-maker-inner {
    flex-direction: row;
    align-items: flex-end;
  }
}

.home-brand .hb-maker-copy {
  max-width: 40rem;
}

.home-brand .hb-maker-name {
  display: inline-block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f8fafc !important;
  line-height: 1.15;
}

.home-brand .hb-maker-name:hover {
  color: var(--hb-cyan) !important;
}

.home-brand .hb-maker-role {
  margin: 0.55rem 0 0;
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  font-style: normal;
  letter-spacing: 0.04em;
  color: var(--hb-cyan) !important;
}

.home-brand .hb-maker-bio {
  margin: 0.85rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--hb-muted) !important;
  max-width: 36rem;
}

.home-brand .hb-maker-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--hb-chrome) !important;
  border: 1px solid var(--hb-border-strong);
  border-radius: var(--hb-btn-radius) !important;
  white-space: nowrap;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

.home-brand .hb-maker-link:hover {
  color: var(--hb-cyan) !important;
  border-color: var(--hb-cyan) !important;
}

/* Footer */
.home-brand .hb-footer {
  border-top: 1px solid var(--hb-border);
  padding: 1.5rem 0 2rem;
}

.home-brand .hb-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .home-brand .hb-footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

.home-brand .hb-footer p,
.home-brand .hb-footer a {
  font-size: 0.8125rem;
  color: var(--hb-dim) !important;
}

.home-brand .hb-footer a:hover {
  color: var(--hb-chrome) !important;
}

.home-brand .hb-footer-links {
  display: flex;
  gap: 1rem;
}

/* Locale switcher on brand page — beat terminal attribute selectors
   (button class contains hover:bg-gray-100 / dark:hover:bg-dark-700 which
   match [class*="bg-gray-100"] and paint a green/black plate). */
html.route-home .home-brand .hb-nav-actions .locale-switcher,
html.route-home .home-brand .hb-nav-actions .locale-switcher > button,
html.route-home .home-brand .hb-nav-actions > .relative > button,
html.route-home .home-brand .locale-switcher button {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: var(--hb-muted) !important;
  border: 1px solid var(--hb-border) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  outline: none !important;
  -webkit-text-fill-color: var(--hb-muted) !important;
}

html.route-home .home-brand .hb-nav-actions .locale-switcher > button:hover,
html.route-home .home-brand .hb-nav-actions > .relative > button:hover,
html.route-home .home-brand .locale-switcher button:hover {
  background: transparent !important;
  background-color: transparent !important;
  border-color: var(--hb-border-strong) !important;
  color: var(--hb-chrome) !important;
  -webkit-text-fill-color: var(--hb-chrome) !important;
}

/* Kill black/green plate on flag emoji + ZH/EN label */
html.route-home .home-brand .hb-nav-actions .locale-switcher span,
html.route-home .home-brand .hb-nav-actions > .relative > button span,
html.route-home .home-brand .locale-switcher button span {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  filter: none !important;
  text-shadow: none !important;
  -webkit-text-fill-color: inherit !important;
  color: inherit !important;
  padding: 0 !important;
}

/* Dropdown panel under locale on /home */
html.route-home .home-brand .hb-nav-actions .locale-switcher .absolute,
html.route-home .home-brand .hb-nav-actions > .relative > .absolute {
  background: #0f0f0f !important;
  background-color: #0f0f0f !important;
  border: 1px solid var(--hb-border) !important;
  box-shadow: none !important;
  border-radius: 0.75rem !important;
  overflow: hidden;
}
html.route-home .home-brand .hb-nav-actions .locale-switcher .absolute button,
html.route-home .home-brand .hb-nav-actions > .relative > .absolute button {
  background: transparent !important;
  color: var(--hb-text) !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html.route-home .home-brand .hb-nav-actions .locale-switcher .absolute button:hover,
html.route-home .home-brand .hb-nav-actions > .relative > .absolute button:hover {
  background: rgba(94, 234, 212, 0.08) !important;
  color: var(--hb-chrome) !important;
}

/* -------------------------------------------------------------------------- */
/* Keynote camera / scroll                                                      */
/* -------------------------------------------------------------------------- */

.home-brand.home-keynote .hb-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 5, 5, 0.86);
  border-bottom: 1px solid var(--hb-border);
}

.home-brand.home-keynote .hb-header .hb-nav {
  border-bottom: none;
}

/* Dolly track: short runway only — long 220vh left a black empty void after
   the hero copy faded. Keep one compact hero; light parallax, no dead scroll. */
.home-brand .hb-dolly-track {
  position: relative;
  min-height: auto;
}

.home-brand .hb-dolly-sticky {
  position: relative;
  top: auto;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 1.5rem 0 2.5rem;
  overflow: visible;
}

.home-brand .hb-hero-copy {
  will-change: opacity, transform;
  transition: none;
}

.home-brand .hb-annos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.home-brand .hb-anno {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.home-brand .hb-anno-a {
  top: 18%;
  left: -0.5rem;
}

.home-brand .hb-anno-b {
  bottom: 22%;
  right: -0.25rem;
  flex-direction: row-reverse;
}

.home-brand .hb-anno-line {
  width: 2.25rem;
  height: 1px;
  background: rgba(94, 234, 212, 0.55);
}

.home-brand .hb-anno-label {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--hb-cyan);
  white-space: nowrap;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(94, 234, 212, 0.28);
  border-radius: 999px !important;
  background: rgba(5, 5, 5, 0.72);
}

@media (max-width: 1023px) {
  .home-brand .hb-dolly-sticky {
    padding-top: 2rem;
  }
  .home-brand .hb-console {
    transform: none !important;
  }
  .home-brand .hb-hero-copy {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .home-brand .hb-annos {
    display: none;
  }
}

/* Sticky feature stack */
.home-brand .hb-stack {
  position: relative;
  display: grid;
  gap: 1.25rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  /* Compact stack — avoid another tall empty black runway between cards */
  .home-brand .hb-stack {
    min-height: auto;
    gap: 1rem;
  }

  .home-brand .hb-stack-card {
    position: relative;
    top: auto !important;
    margin-bottom: 0;
  }
}

.home-brand .hb-stack-card {
  border: 1px solid var(--hb-border);
  background: var(--hb-surface);
  padding: 1.5rem 1.35rem;
  border-radius: var(--hb-radius) !important;
  min-height: 9rem;
}

.home-brand .hb-stack-num {
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--hb-dim);
  margin-bottom: 0.65rem;
}

/* Finale */
.home-brand .hb-finale {
  border-top: 1px solid var(--hb-border);
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.home-brand .hb-finale-inner {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.home-brand .hb-finale-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f8fafc !important;
}

.home-brand .hb-finale-sub {
  margin: 0 auto 2rem;
  color: var(--hb-muted) !important;
  font-size: 1rem;
  line-height: 1.6;
}

.home-brand .hb-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .home-brand .hb-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.home-brand .hb-metric {
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-radius) !important;
  padding: 1.15rem 0.85rem;
  background: var(--hb-surface);
}

.home-brand .hb-metric-val {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--hb-cyan);
  margin-bottom: 0.35rem;
}

.home-brand .hb-metric-lab {
  font-size: 0.75rem;
  color: var(--hb-dim);
  letter-spacing: 0.02em;
}

.home-brand .hb-cta-center {
  justify-content: center;
}

/* Scroll reveals */
.home-brand .hb-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-brand .hb-reveal.is-in {
  opacity: 1;
  transform: none;
}

.home-brand .hb-table {
  border-radius: var(--hb-radius) !important;
  overflow: hidden;
}

.home-brand .hb-final {
  border-radius: var(--hb-radius) !important;
}

.home-brand .hb-cell {
  border-radius: var(--hb-radius) !important;
}

@media (prefers-reduced-motion: reduce) {
  .home-brand .hb-btn,
  .home-brand .hb-link,
  .home-brand .hb-reveal,
  .home-brand .hb-bar {
    transition: none !important;
  }
  .home-brand .hb-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .home-brand .hb-console {
    transform: none !important;
  }
  .home-brand .hb-hero-copy {
    opacity: 1 !important;
    transform: none !important;
  }
  .home-brand .hb-dolly-track {
    min-height: auto !important;
  }
}


/* -------------------------------------------------------------------------- */
/* Manifesto section + AI icon marquee                                         */
/* Structure inspired by multi-provider landings; original brand copy.         */
/* -------------------------------------------------------------------------- */

.home-brand .hb-manifesto {
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.home-brand .hb-manifesto-head {
  max-width: 44rem;
  margin: 0 auto 1.5rem;
}

.home-brand .hb-manifesto-title {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #f8fafc !important;
}

.home-brand .hb-manifesto-copy {
  margin: 0 auto;
  max-width: 36rem;
  font-size: clamp(0.95rem, 1.5vw, 1.125rem);
  line-height: 1.75;
  color: var(--hb-muted) !important;
  font-weight: 500;
}

/* Soft orbital ornament (not matrix) */
.home-brand .hb-crystal-stage {
  position: relative;
  width: min(280px, 70vw);
  height: min(280px, 70vw);
  margin: 1.75rem auto 2.25rem;
}

.home-brand .hb-orbit {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(94, 234, 212, 0.14);
  border-radius: 50% !important;
}

.home-brand .hb-orbit-b {
  inset: 26%;
  border-color: rgba(94, 234, 212, 0.22);
}

.home-brand .hb-crystal {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28%;
  height: 34%;
  transform: translate(-50%, -50%) rotate(18deg);
  border: 1px solid rgba(94, 234, 212, 0.35);
  background: linear-gradient(145deg, rgba(94, 234, 212, 0.18), rgba(94, 234, 212, 0.02));
  border-radius: 0.35rem !important;
}

.home-brand .hb-crystal-core {
  position: absolute;
  inset: 28%;
  background: radial-gradient(circle at 40% 30%, #99f6e4, #14b8a6 70%, transparent 75%);
  opacity: 0.85;
  border-radius: 0.2rem !important;
}

@media (prefers-reduced-motion: no-preference) {
  .home-brand .hb-orbit-a {
    animation: hb-spin 48s linear infinite;
  }
  .home-brand .hb-orbit-b {
    animation: hb-spin 36s linear infinite reverse;
  }
  .home-brand .hb-crystal {
    animation: hb-float 5s ease-in-out infinite;
  }
}

@keyframes hb-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes hb-float {
  0%, 100% { transform: translate(-50%, -50%) rotate(18deg) translateY(0); }
  50% { transform: translate(-50%, -50%) rotate(18deg) translateY(-6px); }
}

.home-brand .hb-cap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 1.25rem;
  text-align: left;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 720px) {
  .home-brand .hb-cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .home-brand .hb-cap-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
  }
}

.home-brand .hb-cap-card {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.25rem;
}

.home-brand .hb-cap-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem !important;
  border: 1px solid rgba(94, 234, 212, 0.22);
  background: rgba(94, 234, 212, 0.06);
  display: grid;
  place-items: center;
}

.home-brand .hb-cap-icon span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px !important;
  background: var(--hb-cyan);
  opacity: 0.85;
}

.home-brand .hb-cap-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f8fafc !important;
  font-style: normal;
  margin-bottom: 0.15rem;
}

.home-brand .hb-cap-desc {
  display: block;
  font-size: 0.75rem;
  font-style: normal;
  color: var(--hb-dim) !important;
  line-height: 1.45;
}

/* Closing + marquee */
.home-brand .hb-closing {
  text-align: center;
  padding-top: 3.5rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--hb-border);
}

.home-brand .hb-closing-head {
  max-width: 40rem;
  margin: 0 auto;
}

.home-brand .hb-closing-title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #f8fafc !important;
}

.home-brand .hb-closing-copy {
  margin: 1rem auto 0;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--hb-muted) !important;
  font-weight: 500;
}

.home-brand .hb-provider-window {
  width: 100%;
  margin-top: 2.75rem;
  padding: 1.75rem 0;
  border-block: 1px solid var(--hb-border);
  overflow: hidden;
}

.home-brand .hb-provider-mask {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.home-brand .hb-provider-track {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  width: max-content;
  padding-inline: 1.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  .home-brand .hb-provider-track {
    animation: hb-marquee 42s linear infinite;
  }
  .home-brand .hb-provider-window:hover .hb-provider-track {
    animation-play-state: paused;
  }
}

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

.home-brand .hb-provider-item {
  display: grid;
  place-items: center;
  min-width: 4.25rem;
  height: 4.25rem;
  flex-shrink: 0;
  border: none !important;
  background: transparent !important;
}

.home-brand .hb-provider-item img {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  /* Recolor logos toward cyan on dark (SVGs often brand-colored) */
  filter: brightness(0) saturate(100%) invert(86%) sepia(18%) saturate(700%) hue-rotate(113deg) brightness(1.05);
  opacity: 0.78;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.home-brand .hb-provider-item:hover img {
  opacity: 1;
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .home-brand .hb-orbit-a,
  .home-brand .hb-orbit-b,
  .home-brand .hb-crystal,
  .home-brand .hb-provider-track {
    animation: none !important;
  }
  .home-brand .hb-provider-track {
    flex-wrap: wrap;
    width: 100%;
    max-width: 48rem;
    margin: 0 auto;
    justify-content: center;
    transform: none !important;
  }
}
