:root {
  --paper: #f5f7fa;
  --surface: #ffffff;
  --surface-tint: #f8fafc;
  --line: #dbe2eb;
  --line-strong: #c0ccd9;
  --ink: #112031;
  --ink-muted: #4b5d71;
  --ink-subtle: #607286;
  --blueprint: #144985;
  --blueprint-hover: #0e3969;
  --blueprint-soft: #edf4fc;
  --blueprint-line: #b7d0ec;
  --seal: #0d6847;
  --seal-soft: #ebf7f2;
  --seal-line: #a4d9c2;
  --amber: #8a4b00;
  --amber-soft: #fdf6ea;
  --amber-line: #e8cca2;
  --danger: #a62626;
  --danger-soft: #fdf2f2;
  --danger-line: #ebc1c1;
  --radius-sm: 6px;
  --radius-md: 10px;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

::selection {
  background-color: var(--blueprint);
  color: #ffffff;
}

input,
button {
  font-family: inherit;
  caret-color: var(--blueprint);
}

a {
  color: var(--blueprint);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blueprint-hover);
}

:focus-visible {
  outline: 2px solid var(--blueprint);
  outline-offset: 2px;
}

/* Custom thin scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
}

::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ink-subtle);
}

/* Header */
.site-header {
  background-color: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background-color: var(--blueprint);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
}

.brand-sub {
  font-size: 12px;
  color: var(--ink-subtle);
  line-height: 1.3;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 6px 2px;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--blueprint);
}

/* Main container */
.page-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 56px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background-color: var(--surface);
  color: var(--ink-subtle);
  font-size: 13px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

/* Track Ledger Layout */
.ledger-shell {
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.ledger-topbar {
  height: 4px;
  background-color: var(--blueprint);
}

.ledger-shell.is-completed .ledger-topbar {
  background-color: var(--seal);
}

.ledger-shell.is-paused .ledger-topbar {
  background-color: var(--amber);
}

.ledger-shell.is-cancelled .ledger-topbar {
  background-color: var(--danger);
}

.ledger-header {
  padding: 24px 28px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
}

.ledger-title-group {
  flex: 1 1 420px;
  min-width: 0;
}

.ledger-title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--ink);
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.commission-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  font-size: 14px;
  color: var(--ink-muted);
}

.commission-no {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink);
  background-color: var(--surface-tint);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}

.copy-btn {
  appearance: none;
  border: 1px solid var(--line);
  background-color: var(--surface);
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: border-color 140ms ease, color 140ms ease, background-color 140ms ease;
}

.copy-btn:hover {
  border-color: var(--blueprint);
  color: var(--blueprint);
  background-color: var(--blueprint-soft);
}

.status-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--blueprint-line);
  background-color: var(--blueprint-soft);
  color: var(--blueprint);
}

.ledger-shell.is-completed .status-pill {
  border-color: var(--seal-line);
  background-color: var(--seal-soft);
  color: var(--seal);
}

.ledger-shell.is-paused .status-pill {
  border-color: var(--amber-line);
  background-color: var(--amber-soft);
  color: var(--amber);
}

.ledger-shell.is-cancelled .status-pill {
  border-color: var(--danger-line);
  background-color: var(--danger-soft);
  color: var(--danger);
}

.status-updated {
  font-size: 13px;
  color: var(--ink-subtle);
}

/* 8-step calibrated scale bar */
.scale-strip {
  padding: 16px 28px;
  background-color: var(--surface-tint);
  border-bottom: 1px solid var(--line);
}

.scale-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 14px;
}

.scale-stage {
  font-weight: 600;
  color: var(--ink);
}

.scale-ratio {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--blueprint);
  white-space: nowrap;
  flex-shrink: 0;
}

.ledger-shell.is-completed .scale-ratio {
  color: var(--seal);
}

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

.scale-seg {
  height: 7px;
  border-radius: 2px;
  background-color: var(--line);
}

.scale-seg.done {
  background-color: var(--seal);
}

.scale-seg.active {
  background-color: var(--blueprint);
}

/* Completion pickup banner */
.pickup-banner {
  margin: 20px 28px 0;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--seal-line);
  background-color: var(--seal-soft);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pickup-seal-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--seal);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pickup-content {
  min-width: 0;
  flex: 1;
}

.pickup-headline {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--seal);
  line-height: 1.35;
}

.pickup-note {
  margin: 0 0 12px;
  font-size: 14px;
  color: #164432;
}

.pickup-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px 16px;
  padding-top: 10px;
  border-top: 1px solid var(--seal-line);
  font-size: 13px;
}

.pickup-detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pickup-detail-label {
  color: #2c624d;
  font-weight: 500;
}

.pickup-detail-value {
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.pickup-detail-value.is-pending {
  color: #3a6957;
  font-weight: 400;
}

/* Body 2-column grid (38% info / 62% timeline) */
.ledger-body {
  display: grid;
  grid-template-columns: minmax(280px, 38%) minmax(0, 1fr);
}

.ledger-aside {
  padding: 24px 28px;
  border-right: 1px solid var(--line);
  background-color: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.ledger-timeline-col {
  padding: 24px 28px 28px;
  min-width: 0;
}

.section-heading {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.section-count {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-subtle);
}

/* Test items list */
.item-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  background-color: var(--surface-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.item-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-subtle);
  padding-top: 2px;
  flex-shrink: 0;
}

/* Info definition list */
.meta-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 12px;
  background-color: var(--surface-tint);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.meta-row dt {
  color: var(--ink-subtle);
  flex-shrink: 0;
}

.meta-row dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  text-align: right;
  overflow-wrap: anywhere;
}

/* Reserved e-report download box */
.reserve-box {
  padding: 14px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background-color: var(--surface-tint);
}

.reserve-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

.reserve-desc {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* 8-step vertical precision timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 20px;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-step:not(:last-child) .timeline-rail::after {
  content: "";
  position: absolute;
  top: 30px;
  bottom: -20px;
  width: 2px;
  background-color: var(--line);
}

.timeline-step.is-done:not(:last-child) .timeline-rail::after {
  background-color: var(--seal-line);
}

.timeline-node {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background-color: var(--surface);
  color: var(--ink-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.timeline-step.is-done .timeline-node {
  border-color: var(--seal);
  background-color: var(--seal);
  color: #ffffff;
}

.timeline-step.is-active .timeline-node {
  border-color: var(--blueprint);
  background-color: var(--blueprint);
  color: #ffffff;
}

/* Single purposeful motion: subtle concentric ring on active step only */
.timeline-step.is-active .timeline-node::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--blueprint);
  opacity: 0;
  animation: active-ring 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes active-ring {
  0% {
    transform: scale(0.86);
    opacity: 0.55;
  }
  70% {
    transform: scale(1.16);
    opacity: 0;
  }
  100% {
    transform: scale(1.16);
    opacity: 0;
  }
}

.timeline-content {
  padding: 2px 0 0;
  min-width: 0;
}

.timeline-step.is-active .timeline-content {
  padding: 10px 14px;
  margin-top: -8px;
  background-color: var(--blueprint-soft);
  border: 1px solid var(--blueprint-line);
  border-radius: var(--radius-sm);
}

.timeline-step-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
}

.timeline-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.timeline-step.is-pending .timeline-label {
  color: var(--ink-subtle);
  font-weight: 500;
}

.timeline-step.is-active .timeline-label {
  color: var(--blueprint);
}

.timeline-state-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
}

.timeline-step.is-done .timeline-state-tag {
  background-color: var(--seal-soft);
  color: var(--seal);
}

.timeline-step.is-active .timeline-state-tag {
  background-color: var(--blueprint);
  color: #ffffff;
}

.timeline-step.is-pending .timeline-state-tag {
  background-color: var(--surface-tint);
  color: var(--ink-subtle);
}

.timeline-time {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-subtle);
}

.timeline-step.is-active .timeline-time {
  color: var(--blueprint-hover);
}

/* Toolbar row under ledger */
.ledger-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-subtle);
}

/* ==========================================================================
   Shared Form, Button & 404 Utilities (for /track & 404 light pages)
   ========================================================================== */

.lookup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 560px;
}

.lookup-label {
  width: 100%;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.lookup-input {
  flex: 1 1 240px;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ink);
  background-color: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 150ms ease;
}

.lookup-input::placeholder {
  font-family: var(--font-sans);
  color: var(--ink-subtle);
  font-size: 14px;
}

.lookup-input:focus {
  border-color: var(--blueprint);
}

.btn-primary {
  appearance: none;
  height: 46px;
  padding: 0 22px;
  border: 1px solid var(--blueprint);
  border-radius: var(--radius-sm);
  background-color: var(--blueprint);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.btn-primary:hover {
  background-color: var(--blueprint-hover);
  border-color: var(--blueprint-hover);
  color: #ffffff;
}

.btn-secondary {
  appearance: none;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}

.btn-secondary:hover {
  border-color: var(--blueprint);
  color: var(--blueprint);
  background-color: var(--blueprint-soft);
}

.form-error {
  width: 100%;
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--danger);
}

.notfound-panel {
  max-width: 620px;
  margin: 24px auto 0;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.notfound-body {
  padding: 28px;
}

.notfound-title {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.notfound-desc {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--ink-muted);
}

.notfound-reasons {
  margin: 0 0 22px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-muted);
}

.notfound-reasons li {
  margin-bottom: 6px;
}

.notfound-back {
  margin: 20px 0 0;
}

/* Light Ledger Mobile Responsive (/track & 404) */
@media (max-width: 900px) {
  .ledger-body {
    grid-template-columns: 1fr;
  }

  .ledger-aside {
    order: 2;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .ledger-timeline-col {
    order: 1;
  }
}

@media (max-width: 560px) {
  .header-inner {
    padding: 12px 16px;
  }

  .brand-sub {
    display: none;
  }

  .header-nav {
    gap: 12px;
  }

  .nav-link {
    font-size: 13px;
  }

  .page-main {
    padding: 16px 14px 40px;
  }

  .ledger-header {
    padding: 18px 16px 16px;
  }

  .ledger-title {
    font-size: 20px;
  }

  .status-block {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .scale-strip {
    padding: 14px 16px;
  }

  .scale-meta {
    flex-wrap: wrap;
    gap: 4px 12px;
  }

  .pickup-banner {
    margin: 16px 16px 0;
    padding: 15px 14px;
    flex-direction: column;
    gap: 10px;
  }

  .pickup-headline {
    font-size: 16px;
  }

  .ledger-aside,
  .ledger-timeline-col {
    padding: 18px 16px;
  }

  .lookup-form .btn-primary {
    width: 100%;
  }

  .footer-inner {
    padding: 16px;
  }
}

/* ==========================================================================
   JIUZHENG SCI-FI INTERACTIVE HOMEPAGE (ai-design-skills Part B System)
   ========================================================================== */

html.sci-html {
  color-scheme: dark;
  background-color: #040711;
}

body.page-home {
  --sp-0: 0;
  --sp-25: 2px;
  --sp-50: 4px;
  --sp-75: 8px;
  --sp-100: 12px;
  --sp-200: 16px;
  --sp-300: 24px;
  --sp-400: 32px;
  --sp-500: 40px;
  --sp-600: 48px;
  --sp-700: 64px;
  --sp-800: 80px;
  --sp-900: 96px;

  /* Deep Cosmic Obsidian palette (rich space black + luminous starlight & nebula accents) */
  --sci-bg: #040711;
  --sci-bg-deep: #03050c;
  --sci-surface: #080f1e;
  --sci-surface-hi: #0e1930;
  --sci-glass: rgba(8, 15, 30, 0.74);
  --sci-glass-strong: rgba(4, 7, 17, 0.93);
  --sci-border: rgba(148, 189, 255, 0.16);
  --sci-border-strong: rgba(148, 189, 255, 0.28);
  --sci-border-cyan: rgba(34, 211, 238, 0.56);
  --sci-specular-top: rgba(226, 244, 255, 0.18);

  --sci-cyan: #22d3ee;
  --sci-cyan-soft: rgba(34, 211, 238, 0.14);
  --sci-cobalt: #3b82f6;
  --sci-violet: #a78bfa;
  --sci-gold: #fbbf24;
  --sci-emerald: #10b981;
  --sci-emerald-soft: rgba(16, 185, 129, 0.15);
  --sci-danger: #f87171;
  --sci-danger-soft: rgba(248, 113, 113, 0.14);

  --sci-ink: #f8fafc;
  --sci-ink-soft: #d5e4f7;
  --sci-ink-muted: #8fa7c6;

  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);

  background:
    radial-gradient(900px 440px at 14% 26%, rgba(34, 211, 238, 0.06), transparent 68%),
    radial-gradient(840px 480px at 86% 68%, rgba(139, 92, 246, 0.07), transparent 70%),
    linear-gradient(180deg, #040711 0%, #060c1b 50%, #040711 100%);
  color: var(--sci-ink);
  font-size: 16px;
  line-height: 24px;
  font-style: normal;
  overflow-x: clip;
}

body.page-home ::selection {
  background-color: var(--sci-cyan);
  color: #040711;
}

body.page-home :focus-visible {
  outline: 2px solid var(--sci-cyan);
  outline-offset: 2px;
}

body.page-home ::-webkit-scrollbar-track {
  background: #040711;
}

body.page-home ::-webkit-scrollbar-thumb {
  background: rgba(148, 189, 255, 0.24);
  border-radius: 4px;
}

body.page-home ::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 211, 238, 0.54);
}

/* Screen-reader & skip-to-content (B10) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -64px;
  left: var(--sp-200);
  z-index: 100;
  padding: var(--sp-75) var(--sp-200);
  border-radius: 8px;
  background-color: var(--sci-cyan);
  color: #040711;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 300ms var(--ease-out-expo);
}

.skip-link:focus {
  transform: translateY(80px);
}

/* B1 Named Typography Styles (Tailwind exact scale steps, max weight 600/700, zero italics) */
.heading-1 {
  font-size: 60px;
  line-height: 60px;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.heading-2 {
  font-size: 48px;
  line-height: 56px;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.heading-3 {
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.heading-4 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.heading-5 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.title-2 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
}

.title-3 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.title-4 {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.body-3 {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  text-wrap: pretty;
}

.body-6 {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  text-wrap: pretty;
}

.button-md {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

.button-sm {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.button-xsm {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

.caption-2 {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.caption-3 {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

.caption-4 {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
}

.caption-5 {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
}

/* B7 Floating Centered Translucent Navigation Bar */
.sci-header {
  position: fixed;
  top: var(--sp-200);
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 0 var(--sp-200);
  pointer-events: none;
}

.sci-nav-pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-400);
  padding: var(--sp-75) var(--sp-100) var(--sp-75) var(--sp-200);
  border-radius: 9999px;
  background: linear-gradient(180deg, rgba(13, 23, 45, 0.80) 0%, rgba(7, 13, 27, 0.78) 100%);
  border: 1px solid var(--sci-border-strong);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  box-shadow:
    inset 0 1px 0 var(--sci-specular-top),
    0 14px 38px -14px rgba(0, 0, 0, 0.78);
}

.sci-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-75);
  color: var(--sci-ink);
  text-decoration: none;
  padding: var(--sp-50) 0;
}

.sci-brand:hover {
  color: var(--sci-cyan);
}

.sci-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.sci-brand-name {
  letter-spacing: 0.04em;
  color: var(--sci-ink);
}

.sci-nav-links {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-50);
}

.sci-nav-link {
  color: var(--sci-ink-soft);
  text-decoration: none;
  padding: var(--sp-75) var(--sp-100);
  border-radius: 9999px;
  transition: color 300ms var(--ease-out-expo), background-color 300ms var(--ease-out-expo);
}

.sci-nav-link:hover {
  color: var(--sci-ink);
  background-color: rgba(148, 189, 255, 0.1);
}

.sci-nav-link[aria-current="page"] {
  color: var(--sci-cyan);
  background-color: var(--sci-cyan-soft);
}

/* Mobile Menu Toggle (B7 animated 2-bar morph) */
.sci-menu-toggle {
  display: none;
  appearance: none;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid var(--sci-border);
  background-color: rgba(148, 189, 255, 0.06);
  cursor: pointer;
  position: relative;
  align-items: center;
  justify-content: center;
  transition: border-color 300ms var(--ease-out-expo), background-color 300ms var(--ease-out-expo);
}

.sci-menu-toggle:hover {
  border-color: var(--sci-border-cyan);
  background-color: var(--sci-cyan-soft);
}

.sci-menu-bar {
  position: absolute;
  width: 16px;
  height: 1.5px;
  background-color: var(--sci-ink);
  border-radius: 2px;
  transition: transform 500ms var(--ease-out-expo), opacity 300ms var(--ease-out-expo);
}

.sci-menu-bar-top {
  transform: translateY(-4px);
}

.sci-menu-bar-bottom {
  transform: translateY(4px);
}

.sci-menu-toggle.is-open .sci-menu-bar-top {
  transform: translateY(0) rotate(45deg);
}

.sci-menu-toggle.is-open .sci-menu-bar-bottom {
  transform: translateY(0) rotate(-45deg);
}

/* Full-Height Mobile Drawer (B7) */
.sci-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 55;
  background-color: var(--sci-glass-strong);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms var(--ease-out-expo);
}

.sci-mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.sci-drawer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-300);
}

.sci-drawer-link {
  color: var(--sci-ink);
  text-decoration: none;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 500ms var(--ease-out-expo),
    transform 500ms var(--ease-out-expo),
    color 300ms var(--ease-out-expo);
}

.sci-mobile-drawer.is-open .sci-drawer-link {
  opacity: 1;
  transform: translateY(0);
}

.sci-mobile-drawer.is-open .sci-drawer-link:nth-child(1) { transition-delay: 60ms; }
.sci-mobile-drawer.is-open .sci-drawer-link:nth-child(2) { transition-delay: 120ms; }
.sci-mobile-drawer.is-open .sci-drawer-link:nth-child(3) { transition-delay: 180ms; }
.sci-mobile-drawer.is-open .sci-drawer-link:nth-child(4) { transition-delay: 240ms; }

.sci-drawer-link:hover {
  color: var(--sci-cyan);
}

/* Main Full-Bleed Wrapper */
.sci-main {
  flex: 1 0 auto;
  width: 100%;
}

/* ==========================================================================
   Section 1: Full-Viewport Interactive 3D Spatial Stage
   ========================================================================== */

.spatial-stage {
  --stage-px: 0px;
  --stage-py: 0px;
  position: relative;
  width: 100%;
  min-height: max(100svh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--sp-900) var(--sp-300) 112px;
  background:
    radial-gradient(620px 380px at 18% 24%, rgba(56, 189, 248, 0.12), transparent 72%),
    radial-gradient(540px 360px at 80% 62%, rgba(139, 92, 246, 0.10), transparent 72%),
    #040711;
  overflow: hidden;
  border-bottom: 1px solid var(--sci-border);
  perspective: 1200px;
}

.spatial-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

.spatial-canvas-gl {
  opacity: 0;
  transition: opacity 360ms ease-out;
}

.spatial-canvas-gl.is-ready {
  opacity: 1;
}

.spatial-canvas.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Foreground Optical Reticle Frame (shifts opposite cursor for true 3D depth-of-field!) */
.spatial-reticle {
  position: absolute;
  inset: var(--sp-300);
  pointer-events: none;
  z-index: 2;
  transform: translate3d(calc(var(--stage-px) * -0.55), calc(var(--stage-py) * -0.55), 0);
  transition: transform 180ms ease-out;
}

.reticle-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0.72;
  filter: drop-shadow(0 0 8px rgba(56, 232, 255, 0.55));
}

.reticle-tl {
  top: 0;
  left: 0;
  border-top: 1px solid var(--sci-cyan);
  border-left: 1px solid var(--sci-cyan);
}

.reticle-tr {
  top: 0;
  right: 0;
  border-top: 1px solid var(--sci-cyan);
  border-right: 1px solid var(--sci-cyan);
}

.reticle-bl {
  bottom: 0;
  left: 0;
  border-bottom: 1px solid var(--sci-cyan);
  border-left: 1px solid var(--sci-cyan);
}

.reticle-br {
  bottom: 0;
  right: 0;
  border-bottom: 1px solid var(--sci-cyan);
  border-right: 1px solid var(--sci-cyan);
}

/* Hero Overlay (floats on focal plane with subtle 3D depth parallax) */
.hero-overlay {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: none;
  transform: translate3d(calc(var(--stage-px) * 0.25), calc(var(--stage-py) * 0.25), 0);
  transition: transform 180ms ease-out;
}

.hero-content {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-status-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-75);
  padding: var(--sp-50) var(--sp-200);
  margin-bottom: var(--sp-300);
  border-radius: 9999px;
  background: rgba(8, 16, 34, 0.74);
  border: 1px solid var(--sci-border-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 var(--sci-specular-top), 0 8px 24px -10px rgba(0, 0, 0, 0.65);
  color: var(--sci-ink-soft);
  letter-spacing: 0.04em;
}

.sci-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: var(--sci-cyan);
  box-shadow: 0 0 12px var(--sci-cyan);
  position: relative;
  flex-shrink: 0;
}

.sci-live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  border: 1.5px solid var(--sci-cyan);
  opacity: 0;
  animation: sci-pulse-ring 2.4s var(--ease-out-expo) infinite;
}

@keyframes sci-pulse-ring {
  0% {
    transform: scale(0.7);
    opacity: 0.7;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* B5 Hero Display Heading: #FFFFFF -> #9B9B9B text gradient only, max-width 680px */
.hero-display {
  margin: 0 0 var(--sp-200);
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-100);
}

.hero-brand-line {
  display: block;
  font-size: 72px;
  line-height: 72px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-shadow:
    0 2px 18px rgba(56, 232, 255, 0.45),
    0 0 42px rgba(96, 165, 250, 0.38);
}

.hero-tagline-line {
  display: block;
  font-size: 36px;
  line-height: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f0f8ff;
  text-shadow:
    0 2px 16px rgba(2, 5, 14, 0.92),
    0 0 28px rgba(2, 5, 14, 0.78);
}

.hero-subtitle {
  margin: 0 0 var(--sp-400);
  max-width: 680px;
  color: #e6f2ff;
  text-shadow:
    0 2px 12px rgba(2, 5, 14, 0.96),
    0 0 22px rgba(2, 5, 14, 0.88);
}

.hero-brand-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Floating Holographic Command Bar (Outer 16px, padding 8px -> Inner 8px per B3) */
.holo-command-wrap {
  width: 100%;
  max-width: 640px;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--sp-100);
}

.mobile-dock-trigger {
  display: none;
}

.holo-command-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--sp-100);
}

.holo-command-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-75);
  padding: var(--sp-75);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(12, 22, 44, 0.80) 0%, rgba(7, 13, 27, 0.82) 100%);
  border: 1px solid var(--sci-border-strong);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  box-shadow:
    inset 0 1px 0 var(--sci-specular-top),
    0 24px 56px -14px rgba(0, 0, 0, 0.82),
    0 0 32px -14px rgba(34, 211, 238, 0.25);
  transition: border-color 300ms var(--ease-out-expo), box-shadow 300ms var(--ease-out-expo), transform 300ms var(--ease-out-expo);
}

.holo-command-bar:focus-within {
  border-color: var(--sci-cyan);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(224, 247, 255, 0.32),
    0 0 0 3px rgba(34, 211, 238, 0.18),
    0 26px 64px -16px rgba(34, 211, 238, 0.32);
}

.holo-input-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: var(--sp-100);
  color: var(--sci-cyan);
  flex-shrink: 0;
}

.holo-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  padding: 0 var(--sp-75);
  border: 0;
  background-color: transparent;
  color: var(--sci-ink);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  caret-color: var(--sci-cyan);
}

.holo-input::placeholder {
  font-family: var(--font-sans);
  color: var(--sci-ink-muted);
  letter-spacing: 0;
}

.holo-input:focus {
  outline: none;
}

/* Primary CTA Button: B2 8px vertical / 12px+ horizontal, B3 inner radius 8px */
.holo-submit {
  appearance: none;
  flex-shrink: 0;
  height: 44px;
  padding: var(--sp-75) var(--sp-200);
  border: 1px solid var(--sci-cyan);
  border-radius: 8px;
  background-color: var(--sci-cyan);
  color: #040711;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-75);
  transition:
    background-color 300ms var(--ease-out-expo),
    transform 300ms var(--ease-out-expo),
    box-shadow 300ms var(--ease-out-expo);
}

.holo-submit:hover {
  background-color: #67e8f9;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.45);
}

.holo-submit:active {
  transform: scale(0.98);
}

.holo-inline-error {
  margin: 0;
  padding: var(--sp-75) var(--sp-200);
  border-radius: 8px;
  background-color: var(--sci-danger-soft);
  border: 1px solid rgba(248, 113, 113, 0.36);
  color: #fecaca;
  text-align: left;
}

/* Live Demo Chips Row */
.holo-demo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-75);
}

.holo-demo-hint {
  color: var(--sci-ink-muted);
  padding-right: var(--sp-50);
}

.holo-demo-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-75);
  padding: 6px var(--sp-100);
  border-radius: 9999px;
  background-color: var(--sci-glass);
  border: 1px solid var(--sci-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--sci-ink-soft);
  cursor: pointer;
  transition:
    border-color 300ms var(--ease-out-expo),
    background-color 300ms var(--ease-out-expo),
    transform 300ms var(--ease-out-expo),
    color 300ms var(--ease-out-expo);
}

.holo-demo-chip:hover {
  border-color: var(--sci-border-cyan);
  background-color: var(--sci-cyan-soft);
  color: var(--sci-ink);
  transform: translateY(-1px);
}

.holo-demo-chip:active {
  transform: scale(0.98);
}

.holo-demo-chip.is-active {
  border-color: var(--sci-cyan);
  background-color: rgba(34, 211, 238, 0.18);
  color: var(--sci-ink);
}

.demo-chip-code {
  font-family: var(--font-mono);
  color: var(--sci-cyan);
  font-weight: 600;
}

.demo-chip-meta {
  color: var(--sci-ink-muted);
}

/* Expandable Hologram Preview Drawer */
.holo-drawer {
  margin-top: var(--sp-75);
  padding: var(--sp-300);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(11, 20, 40, 0.90) 0%, rgba(6, 11, 24, 0.94) 100%);
  border: 1px solid var(--sci-border-cyan);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  box-shadow:
    inset 0 1px 0 var(--sci-specular-top),
    0 24px 64px -18px rgba(0, 0, 0, 0.88),
    0 0 32px -12px rgba(34, 211, 238, 0.22);
  text-align: left;
  opacity: 0;
  transform: translateY(12px) scale(0.99);
  transition: opacity 500ms var(--ease-out-expo), transform 500ms var(--ease-out-expo);
}

.holo-drawer.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Skeleton Loader (B9) */
.holo-drawer-skeleton {
  display: flex;
  flex-direction: column;
  gap: var(--sp-100);
}

.holo-drawer-skeleton[hidden],
.holo-drawer-error[hidden],
.holo-drawer-body[hidden] {
  display: none;
}

.skel-row,
.skel-beam {
  border-radius: 8px;
  background-color: rgba(148, 189, 255, 0.1);
  animation: skel-pulse 1.4s var(--ease-out-expo) infinite;
}

.skel-wide {
  height: 20px;
  width: 72%;
}

.skel-mid {
  height: 16px;
  width: 44%;
}

.skel-beam {
  height: 48px;
  width: 100%;
}

@keyframes skel-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

.holo-err-head,
.holo-drawer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-200);
}

.holo-err-msg {
  margin: var(--sp-75) 0 0;
  color: var(--sci-ink-soft);
}

.holo-close-btn {
  appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--sci-border);
  background-color: rgba(148, 189, 255, 0.06);
  color: var(--sci-ink-soft);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 300ms var(--ease-out-expo), color 300ms var(--ease-out-expo), transform 300ms var(--ease-out-expo);
}

.holo-close-btn:hover {
  border-color: var(--sci-border-cyan);
  color: var(--sci-ink);
}

.holo-close-btn:active {
  transform: scale(0.95);
}

.holo-meta-col {
  min-width: 0;
  flex: 1;
}

.holo-meta-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-75);
  margin-bottom: var(--sp-75);
}

.holo-status-tag {
  padding: var(--sp-25) var(--sp-100);
  border-radius: 9999px;
  border: 1px solid var(--sci-border-cyan);
  background-color: var(--sci-cyan-soft);
  color: var(--sci-cyan);
}

.holo-status-tag.is-completed {
  border-color: rgba(16, 185, 129, 0.45);
  background-color: var(--sci-emerald-soft);
  color: #34d399;
}

.holo-code-pill,
.holo-commission {
  font-family: var(--font-mono);
  color: var(--sci-ink-muted);
}

.holo-project-name {
  margin: 0;
  color: var(--sci-ink);
  overflow-wrap: anywhere;
}

/* Neon Progress Beam + 8 Orbital Nodes */
.holo-beam-wrap {
  margin: var(--sp-300) 0 var(--sp-200);
  display: flex;
  flex-direction: column;
  gap: var(--sp-200);
}

.holo-beam-track {
  height: 4px;
  width: 100%;
  border-radius: 9999px;
  background-color: rgba(148, 189, 255, 0.14);
  overflow: hidden;
}

.holo-beam-fill {
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  background-color: var(--sci-cyan);
  box-shadow: 0 0 16px var(--sci-cyan);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 600ms var(--ease-out-expo), background-color 300ms var(--ease-out-expo);
}

.holo-beam-fill[data-step-ratio="1"] { transform: scaleX(0.125); }
.holo-beam-fill[data-step-ratio="2"] { transform: scaleX(0.25); }
.holo-beam-fill[data-step-ratio="3"] { transform: scaleX(0.375); }
.holo-beam-fill[data-step-ratio="4"] { transform: scaleX(0.5); }
.holo-beam-fill[data-step-ratio="5"] { transform: scaleX(0.625); }
.holo-beam-fill[data-step-ratio="6"] { transform: scaleX(0.75); }
.holo-beam-fill[data-step-ratio="7"] { transform: scaleX(0.875); }
.holo-beam-fill[data-step-ratio="8"] {
  transform: scaleX(1);
  background-color: var(--sci-emerald);
  box-shadow: 0 0 16px var(--sci-emerald);
}

.holo-orbit-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: var(--sp-75);
}

.holo-orb-item {
  appearance: none;
  border: 0;
  padding: var(--sp-50) var(--sp-25);
  border-radius: 8px;
  background-color: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-75);
  transition: background-color 300ms var(--ease-out-expo), transform 300ms var(--ease-out-expo);
}

.holo-orb-item:hover {
  background-color: rgba(148, 189, 255, 0.08);
  transform: translateY(-2px);
}

.holo-orb-dot {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  border: 1px solid var(--sci-border-strong);
  background-color: var(--sci-surface);
  color: var(--sci-ink-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 300ms var(--ease-out-expo), box-shadow 300ms var(--ease-out-expo);
}

.holo-orb-item.is-done .holo-orb-dot {
  border-color: var(--sci-emerald);
  background-color: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
}

.holo-orb-item.is-active .holo-orb-dot {
  border-color: var(--sci-cyan);
  background-color: rgba(34, 211, 238, 0.24);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.65);
}

.holo-orb-label {
  color: var(--sci-ink-muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.holo-orb-item.is-done .holo-orb-label {
  color: var(--sci-ink-soft);
}

.holo-orb-item.is-active .holo-orb-label {
  color: var(--sci-cyan);
}

.holo-drawer-foot {
  padding-top: var(--sp-200);
  border-top: 1px solid var(--sci-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-100);
}

.holo-step-readout {
  color: var(--sci-ink-soft);
  flex: 1 1 220px;
}

.holo-fullscreen-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-75) var(--sp-200);
  border-radius: 8px;
  border: 1px solid var(--sci-border-cyan);
  background-color: var(--sci-cyan-soft);
  color: var(--sci-cyan);
  text-decoration: none;
  flex-shrink: 0;
  transition: background-color 300ms var(--ease-out-expo), color 300ms var(--ease-out-expo), transform 300ms var(--ease-out-expo);
}

.holo-fullscreen-link:hover {
  background-color: var(--sci-cyan);
  color: #040711;
}

.holo-fullscreen-link:active {
  transform: scale(0.98);
}

/* Floating Interactive Spatial HUD Bar (Bottom of Hero Stage) */
.spatial-hud {
  position: absolute;
  bottom: var(--sp-300);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-100);
  width: max-content;
  max-width: calc(100% - 32px);
  padding: var(--sp-75) var(--sp-100);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(11, 20, 40, 0.82) 0%, rgba(6, 12, 25, 0.82) 100%);
  border: 1px solid var(--sci-border-strong);
  backdrop-filter: blur(20px) saturate(130%);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  box-shadow:
    inset 0 1px 0 var(--sci-specular-top),
    0 18px 44px -14px rgba(0, 0, 0, 0.84);
}

.hud-mode-group,
.hud-action-group {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-50);
}

.hud-mode-btn,
.hud-toggle-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-50);
  padding: var(--sp-75) var(--sp-100);
  border-radius: 8px;
  border: 1px solid transparent;
  background-color: transparent;
  color: var(--sci-ink-soft);
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 300ms var(--ease-out-expo),
    background-color 300ms var(--ease-out-expo),
    border-color 300ms var(--ease-out-expo),
    transform 300ms var(--ease-out-expo);
}

.hud-mode-btn:hover,
.hud-toggle-btn:hover {
  color: var(--sci-ink);
  background-color: rgba(148, 189, 255, 0.1);
}

.hud-mode-btn:active,
.hud-toggle-btn:active {
  transform: scale(0.97);
}

.hud-mode-btn.is-active {
  border-color: var(--sci-border-cyan);
  background-color: var(--sci-cyan-soft);
  color: var(--sci-cyan);
}

.hud-idx {
  font-family: var(--font-mono);
  opacity: 0.72;
}

.hud-divider {
  width: 1px;
  height: 20px;
  background-color: var(--sci-border-strong);
}

.hud-toggle-btn {
  border-color: var(--sci-border);
  background-color: rgba(148, 189, 255, 0.04);
}

.hud-toggle-btn[data-force="repel"] {
  border-color: rgba(59, 130, 246, 0.5);
  background-color: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
}

.hud-force-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background-color: var(--sci-cyan);
}

.hud-toggle-btn[data-force="repel"] .hud-force-dot {
  background-color: #60a5fa;
}

.hud-telemetry {
  font-family: var(--font-mono);
  color: var(--sci-ink-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-75);
  padding: 0 var(--sp-75);
  white-space: nowrap;
}

.hud-sep {
  opacity: 0.4;
}

/* ==========================================================================
   Section 2: Mandatory B11 Kinetic Tagline Reveal Section
   ========================================================================== */

.manifesto-section {
  background:
    radial-gradient(720px 300px at 50% 50%, rgba(34, 211, 238, 0.08), rgba(139, 92, 246, 0.05) 55%, transparent 78%),
    #040711;
  padding: var(--sp-900) var(--sp-300);
  border-bottom: 1px solid var(--sci-border);
}

.manifesto-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-text {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-200);
}

.reveal-line {
  display: block;
}

.reveal-token {
  display: inline-block;
  color: var(--sci-ink);
  opacity: 0.30;
  transform: translateY(6px);
  transition:
    opacity 600ms var(--ease-out-expo),
    transform 600ms var(--ease-out-expo),
    color 500ms var(--ease-out-expo),
    text-shadow 500ms var(--ease-out-expo);
}

.reveal-token.is-lit {
  opacity: 1;
  transform: translateY(0);
}

.reveal-token.is-accent.is-lit {
  color: var(--sci-cyan);
  text-shadow: 0 0 28px rgba(56, 232, 255, 0.48);
}

/* ==========================================================================
   Section 3: Interactive 3D-Tilt Tactile Tech Showcase & Client Download Pod
   ========================================================================== */

.showcase-section {
  background:
    radial-gradient(640px 340px at 18% 20%, rgba(34, 211, 238, 0.07), transparent 70%),
    radial-gradient(640px 340px at 84% 78%, rgba(139, 92, 246, 0.08), transparent 70%),
    transparent;
  padding: var(--sp-800) var(--sp-300) var(--sp-900);
}

.showcase-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-300);
  perspective: 1400px;
}

.tilt-pod {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 50%;
  position: relative;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(12, 22, 42, 0.90) 0%, rgba(7, 13, 27, 0.94) 100%);
  border: 1px solid var(--sci-border);
  overflow: hidden;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  box-shadow:
    inset 0 1px 0 var(--sci-specular-top),
    0 20px 48px -20px rgba(0, 0, 0, 0.78);
  transition:
    transform 450ms var(--ease-out-expo),
    border-color 300ms var(--ease-out-expo),
    box-shadow 300ms var(--ease-out-expo);
}

.tilt-pod:hover {
  border-color: var(--sci-border-cyan);
  box-shadow:
    inset 0 1px 0 rgba(224, 247, 255, 0.28),
    0 28px 64px -22px rgba(34, 211, 238, 0.28),
    0 0 36px -14px rgba(139, 92, 246, 0.22);
}

.tilt-pod-featured {
  border-color: rgba(34, 211, 238, 0.36);
  background: linear-gradient(165deg, rgba(14, 27, 52, 0.92) 0%, rgba(8, 15, 30, 0.96) 100%);
}

.pod-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  left: var(--mx);
  top: var(--my);
  transform: translate(-50%, -50%);
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.20) 0%, rgba(167, 139, 250, 0.10) 48%, transparent 72%);
  filter: blur(36px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out-expo);
}

.tilt-pod:hover .pod-glow {
  opacity: 1;
}

.pod-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: var(--sp-300);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-300);
  transform: translateZ(18px);
}

.pod-top {
  display: flex;
  flex-direction: column;
  gap: var(--sp-75);
}

.pod-index {
  font-family: var(--font-mono);
  color: var(--sci-cyan);
  letter-spacing: 0.06em;
}

.pod-title {
  margin: 0;
  color: var(--sci-ink);
}

.pod-desc {
  margin: 0;
  color: var(--sci-ink-muted);
}

/* Pod 1: Interactive 8-Node Luminous Pulse Rail */
.pulse-console {
  padding: var(--sp-200);
  border-radius: 8px;
  background-color: rgba(4, 7, 17, 0.76);
  border: 1px solid var(--sci-border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-200);
}

.pulse-readout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-100);
}

.pulse-active-label {
  color: var(--sci-ink);
}

.pulse-active-freq {
  font-family: var(--font-mono);
  color: var(--sci-cyan);
}

.pulse-rail {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: var(--sp-50);
  align-items: end;
  height: 92px;
}

.pulse-node-btn {
  appearance: none;
  border: 0;
  padding: 0;
  background-color: transparent;
  height: 100%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: var(--sp-75);
}

.pulse-bar {
  width: 100%;
  height: 64px;
  border-radius: 4px;
  background-color: rgba(148, 189, 255, 0.16);
  transform-origin: bottom center;
  transform: scaleY(0.24);
  transition: transform 350ms var(--ease-out-expo), background-color 300ms var(--ease-out-expo), box-shadow 300ms var(--ease-out-expo);
}

.pulse-node-btn.is-mid .pulse-bar {
  background-color: rgba(59, 130, 246, 0.42);
  transform: scaleY(0.46);
}

.pulse-node-btn:hover .pulse-bar,
.pulse-node-btn.is-near .pulse-bar {
  background-color: rgba(59, 130, 246, 0.72);
  transform: scaleY(0.7);
}

.pulse-node-btn.is-active .pulse-bar {
  background-color: var(--sci-cyan);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.58);
  transform: scaleY(1);
}

.pulse-code {
  font-family: var(--font-mono);
  color: var(--sci-ink-muted);
}

.pulse-node-btn.is-active .pulse-code {
  color: var(--sci-cyan);
}

/* Pod 2: One-Way Crypto Sync & Privacy Shield Pod */
.shield-pod-specs {
  display: flex;
  flex-direction: column;
  gap: var(--sp-200);
}

.shield-matrix {
  display: flex;
  flex-direction: column;
  gap: var(--sp-75);
  padding: var(--sp-150, 12px);
  border-radius: 8px;
  background-color: rgba(4, 7, 17, 0.76);
  border: 1px solid var(--sci-border);
}

.shield-row {
  display: flex;
  align-items: center;
  gap: var(--sp-75);
  padding: 6px var(--sp-75);
  border-radius: 6px;
  background-color: rgba(148, 189, 255, 0.04);
}

.shield-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background-color: var(--sci-emerald);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.55);
  flex-shrink: 0;
}

.shield-key {
  font-family: var(--font-mono);
  color: var(--sci-cyan);
  flex-shrink: 0;
}

.shield-val {
  margin-left: auto;
  color: var(--sci-ink-soft);
  text-align: right;
}

.pod-primary-cta {
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-75);
  width: 100%;
  padding: var(--sp-100) var(--sp-200);
  border-radius: 8px;
  border: 1px solid var(--sci-cyan);
  background-color: var(--sci-cyan);
  color: #040711;
  text-decoration: none;
  transition: background-color 300ms var(--ease-out-expo), transform 300ms var(--ease-out-expo), box-shadow 300ms var(--ease-out-expo);
}

.pod-primary-cta:hover {
  background-color: #67e8f9;
  color: #040711;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.42);
}

.pod-primary-cta:active {
  transform: scale(0.98);
}

.pod-ghost-link {
  text-align: center;
  color: var(--sci-ink-muted);
  text-decoration: none;
  padding: var(--sp-50);
  transition: color 300ms var(--ease-out-expo);
}

.pod-ghost-link:hover {
  color: var(--sci-cyan);
}

/* Pod 3: Live Zero-Latency Ping Probe */
.ping-console {
  display: flex;
  flex-direction: column;
  gap: var(--sp-200);
}

.ping-radar-box {
  position: relative;
  padding: var(--sp-200);
  border-radius: 8px;
  background-color: rgba(4, 7, 17, 0.76);
  border: 1px solid var(--sci-border);
  display: flex;
  align-items: center;
  gap: var(--sp-200);
  overflow: hidden;
}

.ping-radar-ring {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  border: 1.5px solid var(--sci-cyan);
  background-color: var(--sci-cyan-soft);
  position: relative;
  flex-shrink: 0;
}

.ping-radar-ring::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 9999px;
  background-color: var(--sci-cyan);
}

.ping-radar-ring::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  border: 1.5px solid var(--sci-cyan);
  opacity: 0;
}

.ping-radar-ring.is-firing::after {
  animation: sci-pulse-ring 700ms var(--ease-out-expo) 1;
}

.ping-metrics {
  display: flex;
  flex-direction: column;
  gap: var(--sp-25);
  min-width: 0;
}

.ping-ms {
  font-family: var(--font-mono);
  color: var(--sci-ink);
}

.ping-sub {
  color: var(--sci-ink-muted);
}

.ping-fire-btn {
  appearance: none;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-75);
  padding: var(--sp-100) var(--sp-200);
  border-radius: 8px;
  border: 1px solid var(--sci-border-strong);
  background-color: var(--sci-surface-hi);
  color: var(--sci-ink);
  cursor: pointer;
  transition:
    border-color 300ms var(--ease-out-expo),
    background-color 300ms var(--ease-out-expo),
    transform 300ms var(--ease-out-expo),
    color 300ms var(--ease-out-expo);
}

.ping-fire-btn:hover {
  border-color: var(--sci-cyan);
  background-color: var(--sci-cyan-soft);
  color: var(--sci-cyan);
}

.ping-fire-btn:active {
  transform: scale(0.98);
}

.ping-btn-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: var(--sci-emerald);
}

/* ==========================================================================
   Section 4: Protected Dual-Platform Client Download Vault (#client-vault)
   ========================================================================== */

.vault-section {
  background:
    radial-gradient(720px 320px at 50% 42%, rgba(34, 211, 238, 0.07), rgba(139, 92, 246, 0.05) 55%, transparent 78%),
    transparent;
  padding: 0 var(--sp-300) var(--sp-900);
}

.vault-shell {
  --vmx: 20%;
  --vmy: 20%;
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--sp-500);
  border-radius: 16px;
  background:
    radial-gradient(520px 260px at var(--vmx) var(--vmy), rgba(34, 211, 238, 0.14), transparent 68%),
    radial-gradient(600px 260px at 14% 0%, rgba(34, 211, 238, 0.12), transparent 68%),
    radial-gradient(540px 240px at 88% 100%, rgba(139, 92, 246, 0.12), transparent 70%),
    linear-gradient(165deg, rgba(11, 20, 40, 0.92) 0%, rgba(6, 12, 25, 0.96) 100%);
  border: 1px solid var(--sci-border-strong);
  box-shadow:
    inset 0 1px 0 var(--sci-specular-top),
    0 28px 72px -24px rgba(0, 0, 0, 0.88);
  overflow: hidden;
}

.vault-reticle {
  position: absolute;
  inset: var(--sp-200);
  pointer-events: none;
}

.vault-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--sp-400);
  align-items: center;
}

.vault-intro {
  display: flex;
  flex-direction: column;
  gap: var(--sp-100);
}

.vault-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-75);
  font-family: var(--font-mono);
  color: var(--sci-cyan);
  letter-spacing: 0.06em;
}

.vault-shield-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: var(--sci-emerald);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
  flex-shrink: 0;
}

.vault-title {
  margin: 0;
  color: var(--sci-ink);
}

.vault-desc {
  margin: 0;
  color: var(--sci-ink-soft);
}

.vault-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-75);
  margin-top: var(--sp-50);
}

.vault-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 9999px;
  border: 1px solid var(--sci-border);
  background-color: rgba(148, 189, 255, 0.06);
  color: var(--sci-ink-soft);
  font-family: var(--font-mono);
}

.vault-gate-panel {
  padding: var(--sp-300);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(8, 15, 30, 0.84) 0%, rgba(4, 8, 18, 0.90) 100%);
  border: 1px solid var(--sci-border-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(224, 247, 255, 0.12);
}

.vault-gate-panel[hidden] {
  display: none;
}

.vault-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-100);
}

.vault-label {
  color: var(--sci-ink-soft);
  letter-spacing: 0.04em;
}

.vault-input-row {
  display: flex;
  align-items: stretch;
  gap: var(--sp-100);
}

.vault-input-box {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--sp-75);
  padding: 0 var(--sp-100);
  border-radius: 8px;
  background-color: var(--sci-surface-hi);
  border: 1px solid var(--sci-border-strong);
  transition: border-color 250ms var(--ease-out-expo), box-shadow 250ms var(--ease-out-expo);
}

.vault-input-box:focus-within {
  border-color: var(--sci-cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16);
}

.vault-lock-icon {
  display: inline-flex;
  color: var(--sci-cyan);
  flex-shrink: 0;
}

.vault-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  border: 0;
  background: transparent;
  color: var(--sci-ink);
  font-size: 14px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  outline: none;
}

.vault-input::placeholder {
  color: var(--sci-ink-muted);
  letter-spacing: 0.02em;
  font-family: inherit;
}

.vault-vis-btn {
  appearance: none;
  border: 0;
  background: rgba(148, 189, 255, 0.08);
  color: var(--sci-ink-soft);
  padding: 4px 9px;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 200ms ease, color 200ms ease;
}

.vault-vis-btn:hover {
  background: rgba(34, 211, 238, 0.18);
  color: var(--sci-cyan);
}

.vault-submit-btn {
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--sp-300);
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--sci-cyan);
  background-color: var(--sci-cyan);
  color: #040711;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 250ms var(--ease-out-expo), transform 250ms var(--ease-out-expo), box-shadow 250ms var(--ease-out-expo);
}

.vault-submit-btn:hover:not(:disabled) {
  background-color: #67e8f9;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.42);
}

.vault-submit-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.vault-submit-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.vault-feedback {
  margin: 0;
  padding: 8px 12px;
  border-radius: 8px;
}

.vault-feedback.is-error {
  color: #fecaca;
  background-color: var(--sci-danger-soft);
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.vault-feedback.is-ok {
  color: #a7f3d0;
  background-color: var(--sci-emerald-soft);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.vault-unlocked {
  position: relative;
  z-index: 1;
  margin-top: var(--sp-400);
  padding-top: var(--sp-300);
  border-top: 1px solid var(--sci-border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-300);
}

.vault-unlocked[hidden] {
  display: none;
}

.vault-status-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-200);
  padding: 12px 16px;
  border-radius: 10px;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.32);
}

.vault-status-left,
.vault-status-right {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-100);
  flex-wrap: wrap;
}

.vault-ok-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: var(--sci-emerald);
  box-shadow: 0 0 10px var(--sci-emerald);
  flex-shrink: 0;
}

.vault-timer {
  color: var(--sci-ink-soft);
  font-family: var(--font-mono);
}

.vault-timer strong {
  color: var(--sci-cyan);
}

.vault-relock-btn {
  appearance: none;
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid var(--sci-border-strong);
  background-color: rgba(8, 15, 30, 0.8);
  color: var(--sci-ink-soft);
  transition: border-color 200ms ease, color 200ms ease;
}

.vault-relock-btn:hover {
  border-color: var(--sci-cyan);
  color: var(--sci-cyan);
}

.vault-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-300);
}

.vault-pkg-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-200);
  padding: var(--sp-300);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(10, 18, 36, 0.88) 0%, rgba(5, 10, 22, 0.94) 100%);
  border: 1px solid var(--sci-border-strong);
  box-shadow: inset 0 1px 0 rgba(224, 247, 255, 0.14), 0 14px 36px -18px rgba(0, 0, 0, 0.78);
  transition: border-color 250ms var(--ease-out-expo), transform 250ms var(--ease-out-expo), box-shadow 250ms var(--ease-out-expo);
}

.vault-pkg-card:hover {
  border-color: var(--sci-border-cyan);
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(224, 247, 255, 0.24), 0 22px 48px -18px rgba(34, 211, 238, 0.26);
}

.vault-pkg-top {
  display: flex;
  align-items: center;
  gap: var(--sp-200);
}

.vault-pkg-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--sci-cyan-soft);
  border: 1px solid rgba(34, 211, 238, 0.32);
  color: var(--sci-cyan);
  flex-shrink: 0;
}

.vault-pkg-android .vault-pkg-icon {
  background-color: var(--sci-emerald-soft);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.vault-pkg-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.vault-pkg-arch {
  font-family: var(--font-mono);
  color: var(--sci-cyan);
  letter-spacing: 0.05em;
}

.vault-pkg-android .vault-pkg-arch {
  color: #34d399;
}

.vault-pkg-title {
  margin: 0;
  color: var(--sci-ink);
}

.vault-pkg-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-75);
}

.vault-meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background-color: rgba(148, 189, 255, 0.07);
  border: 1px solid var(--sci-border);
  color: var(--sci-ink-soft);
  font-family: var(--font-mono);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vault-meta-pill.is-accent {
  background-color: var(--sci-cyan-soft);
  border-color: rgba(34, 211, 238, 0.35);
  color: var(--sci-cyan);
}

.vault-pkg-notes {
  margin: 0;
  color: var(--sci-ink-muted);
}

.vault-sha-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-100);
  padding: 8px 10px;
  border-radius: 8px;
  background-color: rgba(8, 15, 30, 0.9);
  border: 1px solid var(--sci-border);
}

.vault-sha-text {
  font-family: var(--font-mono);
  color: var(--sci-ink-muted);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vault-copy-btn {
  appearance: none;
  cursor: pointer;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid var(--sci-border-strong);
  background: transparent;
  color: var(--sci-ink-soft);
  flex-shrink: 0;
  transition: border-color 200ms ease, color 200ms ease;
}

.vault-copy-btn:hover {
  border-color: var(--sci-cyan);
  color: var(--sci-cyan);
}

.vault-pkg-actions {
  display: flex;
}

.vault-dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--sp-100) var(--sp-200);
  border-radius: 8px;
  border: 1px solid var(--sci-cyan);
  background-color: var(--sci-cyan);
  color: #040711;
  text-decoration: none;
  transition: background-color 250ms var(--ease-out-expo), box-shadow 250ms var(--ease-out-expo), transform 250ms var(--ease-out-expo);
}

.vault-dl-btn:hover {
  background-color: #67e8f9;
  color: #040711;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.42);
}

.vault-pkg-android .vault-dl-btn {
  border-color: #34d399;
  background-color: #34d399;
}

.vault-pkg-android .vault-dl-btn:hover {
  background-color: #6ee7b7;
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.42);
}

.vault-dl-btn:active {
  transform: scale(0.98);
}

/* ==========================================================================
   Minimalist Dark Hairline Footer
   ========================================================================== */

.sci-footer {
  background-color: #040711;
  border-top: 1px solid var(--sci-border);
  padding: var(--sp-300) var(--sp-300);
}

.sci-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-100);
  color: var(--sci-ink-muted);
}

.sci-footer-sep {
  opacity: 0.45;
}

.sci-footer-link {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

.sci-footer-link:hover {
  color: var(--sci-cyan);
  text-decoration: underline;
}

/* ==========================================================================
   Homepage Responsive Breakpoints (Tablet 960px & Mobile 390px Zero-Overflow)
   ========================================================================== */

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

  .vault-shell {
    max-width: 680px;
    padding: var(--sp-400) var(--sp-300);
  }

  .vault-head {
    grid-template-columns: 1fr;
    gap: var(--sp-300);
  }

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

  .holo-orbit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .sci-header {
    padding: 10px 12px 0;
  }

  .sci-nav-pill {
    width: 100%;
    justify-content: space-between;
    gap: var(--sp-200);
    padding: 6px 8px 6px 14px;
    background: rgba(6, 12, 26, 0.62);
  }

  .sci-nav-links {
    display: none;
  }

  .sci-menu-toggle {
    display: inline-flex;
  }

  /* Mobile Full-Bleed Cosmos Cinema: keep center 60%+ completely unobstructed! */
  .spatial-stage {
    height: 100svh;
    min-height: 600px;
    max-height: 1040px;
    justify-content: flex-start;
    padding: 66px 14px 62px;
  }

  .spatial-reticle {
    inset: 10px;
  }

  .hero-overlay {
    flex: 1 1 auto;
    height: 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: space-between;
    align-items: stretch;
    transform: none;
  }

  .hero-content {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: space-between;
    align-items: center;
  }

  .hero-brand-head {
    padding-top: 6px;
  }

  .hero-status-chip {
    padding: 3px 11px;
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 16px;
    background: rgba(4, 9, 20, 0.46);
    border-color: rgba(148, 189, 255, 0.2);
  }

  .hero-display {
    margin: 0;
    gap: 4px;
  }

  .hero-brand-line {
    font-size: 36px;
    line-height: 38px;
    letter-spacing: 0.1em;
  }

  .hero-tagline-line {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: rgba(236, 246, 255, 0.9);
  }

  .hero-subtitle {
    display: none;
  }

  /* Bottom Collapsible Query Dock ("收口" capsule -> expands upward on tap) */
  .holo-command-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: auto;
    gap: 0;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(8, 16, 34, 0.72) 0%, rgba(4, 8, 18, 0.84) 100%);
    border: 1px solid rgba(148, 189, 255, 0.24);
    backdrop-filter: blur(20px) saturate(135%);
    -webkit-backdrop-filter: blur(20px) saturate(135%);
    box-shadow:
      inset 0 1px 0 rgba(224, 247, 255, 0.16),
      0 14px 36px -12px rgba(0, 0, 0, 0.84);
    overflow: hidden;
    transition:
      background 240ms var(--ease-out-expo),
      border-color 240ms var(--ease-out-expo),
      box-shadow 240ms var(--ease-out-expo);
  }

  .holo-command-wrap.is-mobile-open {
    background: linear-gradient(180deg, rgba(7, 14, 30, 0.92) 0%, rgba(4, 8, 18, 0.96) 100%);
    border-color: rgba(34, 211, 238, 0.48);
    box-shadow:
      inset 0 1px 0 rgba(224, 247, 255, 0.22),
      0 -12px 44px rgba(0, 0, 0, 0.76),
      0 0 28px -12px rgba(34, 211, 238, 0.36);
  }

  .mobile-dock-trigger {
    appearance: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 6px 12px 10px;
    border: 0;
    background: transparent;
    color: var(--sci-ink);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-dock-handle {
    width: 34px;
    height: 3px;
    border-radius: 9999px;
    background: rgba(148, 189, 255, 0.38);
    margin-bottom: 7px;
  }

  .holo-command-wrap.is-mobile-open .mobile-dock-handle {
    background: rgba(34, 211, 238, 0.65);
  }

  .mobile-dock-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .mobile-dock-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .mobile-dock-icon {
    width: 26px;
    height: 26px;
    border-radius: 9999px;
    background: rgba(34, 211, 238, 0.14);
    border: 1px solid rgba(34, 211, 238, 0.38);
    color: var(--sci-cyan);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .mobile-dock-title {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: var(--sci-ink);
    white-space: nowrap;
  }

  .mobile-dock-sub {
    color: var(--sci-ink-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-dock-pill {
    padding: 3px 10px;
    border-radius: 9999px;
    background: rgba(34, 211, 238, 0.14);
    border: 1px solid rgba(34, 211, 238, 0.38);
    color: var(--sci-cyan);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .holo-command-body {
    display: none;
  }

  .holo-command-wrap.is-mobile-open .holo-command-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 10px;
    padding: 0 12px 12px;
    max-height: 54svh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    animation: mobileDockReveal 220ms var(--ease-out-expo);
  }

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

  .holo-command-bar {
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 6px;
    padding: 5px;
    border-radius: 12px;
    background: rgba(4, 9, 20, 0.78);
    box-shadow: none;
  }

  .holo-input-icon {
    display: none;
  }

  .holo-input {
    width: 0;
    flex: 1 1 0;
    min-width: 0;
    height: 40px;
    padding: 0 10px;
    font-size: 13.5px;
    text-align: left;
  }

  .holo-submit {
    flex-shrink: 0;
    width: auto;
    height: 40px;
    padding: 0 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  .holo-submit svg {
    display: none;
  }

  .holo-demo-row {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
  }

  .holo-demo-hint {
    display: none;
  }

  .holo-demo-chip {
    padding: 4px 8px;
    gap: 4px;
    font-size: 11px;
    max-width: 100%;
  }

  .holo-drawer {
    width: 100%;
    max-width: 100%;
    padding: 12px;
  }

  .holo-fullscreen-link {
    width: 100%;
  }

  /* Ultra-slim 1-row floating cosmos pill at very bottom */
  .spatial-hud {
    bottom: 12px;
    width: calc(100% - 28px);
    max-width: 390px;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 4px 5px;
    gap: 3px;
    border-radius: 9999px;
    background: rgba(6, 12, 26, 0.68);
  }

  .hud-divider,
  .hud-telemetry,
  .hud-idx,
  #hud-shockwave-btn {
    display: none;
  }

  .hud-mode-group {
    flex: 1 1 0;
    min-width: 0;
    justify-content: space-between;
    gap: 2px;
  }

  .hud-mode-btn {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 6px 4px;
    font-size: 11px;
    border-radius: 9999px;
  }

  .hud-action-group {
    flex: 0 0 auto;
    gap: 0;
  }

  .hud-toggle-btn {
    justify-content: center;
    padding: 6px 8px;
    font-size: 11px;
    border-radius: 9999px;
  }

  .manifesto-section {
    padding: var(--sp-700) var(--sp-200);
  }

  .manifesto-text.heading-2 {
    font-size: 30px;
    line-height: 40px;
  }

  .showcase-section {
    padding: var(--sp-600) var(--sp-200) var(--sp-700);
  }

  .vault-section {
    padding: 0 var(--sp-200) var(--sp-700);
  }

  .vault-shell {
    padding: var(--sp-300) var(--sp-200);
  }

  .vault-reticle {
    inset: var(--sp-100);
  }

  .vault-title.heading-3 {
    font-size: 26px;
    line-height: 32px;
  }

  .vault-gate-panel {
    padding: var(--sp-200);
  }

  .vault-input-row {
    flex-direction: column;
  }

  .vault-submit-btn {
    width: 100%;
  }

  .vault-pkg-card {
    padding: var(--sp-200);
  }
}

/* ==========================================================================
   Reduced Motion Support (B7 & B11)
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .timeline-step.is-active .timeline-node::after,
  .sci-live-dot::after,
  .ping-radar-ring.is-firing::after,
  .skel-row,
  .skel-beam {
    animation: none;
    opacity: 0;
  }

  .reveal-token {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal-token.is-accent {
    color: var(--sci-cyan);
  }

  .tilt-pod,
  .holo-drawer,
  .holo-beam-fill,
  .sci-drawer-link,
  .spatial-reticle,
  .hero-overlay {
    transition: opacity 250ms ease;
    transform: none;
  }
}
