:root {
  --bg: #08060e;
  --panel: rgba(20, 15, 31, 0.72);
  --line: rgba(211, 176, 255, 0.18);
  --ink: #f5efff;
  --muted: #a59bad;
  --purple: #9b5cff;
  --pink: #f163bf;
  --mono: "DM Mono", monospace;
  --sans: "Space Grotesk", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #030305;
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}
body.login-locked {
  overflow: hidden;
}
.dimension-field {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 48% 43%,
      rgba(59, 27, 82, 0.16),
      transparent 48%
    ),
    #030305;
}
.dimension-field:before,
.dimension-field:after {
  content: none;
}
.app,
.boot-screen {
  position: relative;
  z-index: 1;
}
.app {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.app.awake {
  opacity: 1;
  transform: none;
}
.noise,
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 10;
}
.noise {
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.scanlines {
  background: repeating-linear-gradient(
    0deg,
    transparent 0 3px,
    rgba(255, 255, 255, 0.012) 4px
  );
}
a {
  color: inherit;
  text-decoration: none;
}
.hidden {
  display: none;
}
.boot-screen.hidden {
  display: none;
}
.login-screen {
  position: fixed;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  background: #000;
  transition:
    opacity 0.36s ease,
    transform 0.36s cubic-bezier(0.6, 0, 0.3, 1);
}
.login-screen:before {
  content: "";
  position: absolute;
  width: min(420px, 84vw);
  height: min(280px, 56vw);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%);
  background: radial-gradient(
    ellipse,
    rgba(255, 83, 181, 0.11),
    rgba(119, 52, 183, 0.04) 32%,
    transparent 68%
  );
  filter: blur(18px);
  pointer-events: none;
}
.login-screen.leaving {
  opacity: 0;
  transform: scale(1.03);
  pointer-events: none;
}
.login-button {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 28px;
  border: 0;
  background: transparent;
  color: #ffd0e8;
  font: 12px var(--mono);
  letter-spacing: 0.2em;
  cursor: pointer;
}
.login-logo {
  width: min(280px, 58vw);
  height: min(280px, 58vw);
  fill: none;
  stroke: #ff69c4;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 13px rgba(255, 105, 196, 0.65))
    drop-shadow(0 0 42px rgba(164, 83, 255, 0.28));
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
  animation: login-logo-pulse 3.2s ease-in-out infinite;
}
.login-button span {
  color: #ffd0e8;
  text-shadow: 0 0 12px rgba(255, 124, 196, 0.55);
  animation: login-prompt-pulse 3.2s ease-in-out infinite;
}
@keyframes login-logo-pulse {
  50% {
    transform: scale(1.055);
    filter: drop-shadow(0 0 21px rgba(255, 105, 196, 0.9))
      drop-shadow(0 0 65px rgba(164, 83, 255, 0.42));
  }
}
@keyframes login-prompt-pulse {
  50% {
    opacity: 0.58;
  }
}
.login-button:hover .login-logo {
  transform: scale(1.06);
  filter: drop-shadow(0 0 18px rgba(255, 105, 196, 0.9))
    drop-shadow(0 0 62px rgba(164, 83, 255, 0.45));
}
.login-button:focus-visible {
  outline: 1px solid #ff93d1;
  outline-offset: 16px;
}
.boot-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 28px;
  padding: 24px;
  background: radial-gradient(circle at 50% 50%, #211135 0, var(--bg) 48%);
  transition: 0.55s cubic-bezier(0.7, 0, 0.3, 1);
}
.boot-screen.done {
  animation: terminal-collapse 0.8s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}
@keyframes terminal-collapse {
  0% {
    opacity: 1;
    clip-path: inset(0);
    filter: brightness(1);
  }
  42% {
    opacity: 1;
    clip-path: inset(47% 0);
    filter: brightness(2.2) saturate(1.3);
  }
  58% {
    opacity: 1;
    clip-path: inset(49.5% 0);
    filter: brightness(3);
  }
  100% {
    opacity: 0;
    clip-path: inset(49.5% 50%);
    filter: brightness(5) blur(3px);
  }
}
.boot-mark {
  font: 700 38px var(--sans);
  color: #fff;
  text-shadow: 0 0 28px var(--purple);
}
.boot-mark span {
  color: var(--pink);
}
.boot-terminal {
  width: min(880px, 92vw);
  min-height: 390px;
  padding: 23px 25px;
  position: relative;
  border: 1px solid rgba(209, 159, 255, 0.42);
  background: linear-gradient(
    135deg,
    rgba(28, 15, 41, 0.94),
    rgba(5, 4, 9, 0.96) 48%,
    rgba(23, 10, 29, 0.92)
  );
  box-shadow:
    0 0 110px rgba(142, 71, 255, 0.2),
    inset 0 0 48px rgba(151, 82, 255, 0.08);
  font: 14px var(--mono);
  clip-path: polygon(
    0 18px,
    18px 0,
    calc(100% - 42px) 0,
    100% 42px,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    42px 100%,
    0 calc(100% - 42px)
  );
}
.boot-terminal:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.65;
  background:
    linear-gradient(
      90deg,
      transparent 0 9%,
      rgba(205, 138, 255, 0.09) 9.1% 9.3%,
      transparent 9.4% 100%
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 28px,
      rgba(224, 185, 255, 0.035) 29px 30px
    );
}
.boot-terminal:after {
  content: "SYSTEM // 01 · LINK // STANDBY · KERNEL // READY";
  position: absolute;
  left: 25px;
  bottom: 43px;
  font: 8px var(--mono);
  letter-spacing: 0.14em;
  color: rgba(215, 175, 240, 0.42);
}
.boot-terminal .terminal-corners:before,
.boot-terminal .terminal-corners:after {
  box-shadow: 0 0 18px rgba(190, 113, 255, 0.75);
}
.boot-terminal .terminal-corners:before {
  width: 54px;
  height: 54px;
}
.boot-terminal .terminal-corners:after {
  width: 54px;
  height: 54px;
}
.boot-terminal .boot-head:before {
  content: "● ● ●";
  display: inline-block;
  margin-right: 13px;
  color: #ff78bd;
  letter-spacing: 0.22em;
  text-shadow: 0 0 10px rgba(255, 120, 189, 0.8);
  animation: diagnostic-lights 2.2s steps(2) infinite;
}
.boot-terminal .boot-foot:before {
  content: "▰▰▰";
  color: #ac75ea;
  letter-spacing: 0.18em;
  font-size: 8px;
}
.boot-terminal .boot-foot {
  padding-top: 13px;
  border-top: 1px solid rgba(214, 166, 255, 0.13);
}
.boot-lines {
  position: relative;
  padding-left: 17px;
}
.boot-lines:before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 16px;
  width: 2px;
  background: linear-gradient(#ff71bf, rgba(176, 105, 241, 0.12));
  box-shadow: 0 0 10px rgba(255, 113, 191, 0.58);
}
.boot-lines p {
  position: relative;
}
.boot-lines p:after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 164, 255, 0.22));
}
@keyframes diagnostic-lights {
  50% {
    opacity: 0.34;
    filter: hue-rotate(40deg);
  }
}
.boot-terminal > :not(.terminal-corners) {
  position: relative;
  z-index: 1;
}
.terminal-corners:before,
.terminal-corners:after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--purple);
  border-style: solid;
}
.terminal-corners:before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}
.terminal-corners:after {
  right: -1px;
  bottom: -1px;
  border-width: 0 2px 2px 0;
}
.boot-head,
.boot-foot,
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #d8c4ff;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.boot-head {
  padding: 0 0 13px;
  border-bottom: 1px solid rgba(214, 166, 255, 0.21);
  color: #e9c8ff;
  text-shadow: 0 0 12px rgba(210, 134, 255, 0.38);
}
.boot-head span:last-child {
  padding: 4px 7px;
  color: #ff98d3;
  border: 1px solid rgba(255, 139, 204, 0.33);
  background: rgba(255, 103, 184, 0.08);
}
.boot-lines {
  min-height: 265px;
  padding-top: 22px;
}
.boot-lines p {
  margin: 0 0 12px;
  animation: line 0.18s ease both;
  color: #c4bdca;
}
.boot-lines b {
  color: var(--pink);
  font-weight: 500;
}
@keyframes line {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
  to {
    opacity: 1;
  }
}
.boot-progress {
  height: 4px;
  background: rgba(67, 42, 87, 0.8);
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 6px 100%);
}
.boot-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  box-shadow: 0 0 10px var(--pink);
  transition: 0.2s;
}
.text-button {
  border: 0;
  background: transparent;
  color: #e5d9fa;
  font: 11px var(--mono);
  cursor: pointer;
}
.text-button b {
  color: var(--pink);
}
.boot-tip {
  font: 10px var(--mono);
  letter-spacing: 0.12em;
  color: #71667c;
}
.topbar {
  height: 70px;
  position: fixed;
  z-index: 8;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 6, 14, 0.8);
  backdrop-filter: blur(14px);
}
.wordmark {
  display: flex;
  gap: 10px;
  align-items: center;
  font: 500 12px var(--mono);
  letter-spacing: 0.09em;
  white-space: nowrap;
}
.wordmark em {
  color: #847b8d;
  font-style: normal;
}
.logo {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--purple);
  color: #fff;
  font: 600 16px var(--sans);
  box-shadow: inset 0 0 13px #6d36b688;
}
.system-states {
  display: flex;
  gap: 18px;
  margin-left: auto;
  font: 10px var(--mono);
  color: #8f839b;
}
.system-states b {
  font-weight: 500;
  color: #ddd;
}
.live {
  color: #72e6b2 !important;
}
.offline {
  color: #f17c9d !important;
}
.waiting {
  color: #e5be6a !important;
}
.sound-toggle,
.index-toggle {
  border: 1px solid var(--line);
  background: #110c1b;
  color: #e6ddef;
  padding: 8px 10px;
  font: 10px var(--mono);
  cursor: pointer;
  white-space: nowrap;
}
.sound-toggle {
  color: #c9a6ff;
}
.index-toggle {
  display: none;
}
.sidebar {
  position: fixed;
  top: 70px;
  bottom: 0;
  width: 230px;
  border-right: 1px solid var(--line);
  padding: 37px 17px;
  z-index: 7;
  background: rgba(10, 7, 16, 0.72);
  backdrop-filter: blur(12px);
}
.index-label {
  font: 10px var(--mono);
  color: #82758e;
  letter-spacing: 0.1em;
  padding: 0 10px 18px;
}
.index-label i {
  display: inline-block;
  width: 23px;
  height: 1px;
  background: var(--purple);
  margin-left: 9px;
  vertical-align: middle;
}
#index-nav {
  display: flex;
  flex-direction: column;
}
#index-nav a {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 2px;
  padding: 11px 10px;
  color: #a69baa;
  font-size: 13px;
  border-left: 1px solid transparent;
  transition: 0.2s;
}
#index-nav a b {
  font: 10px var(--mono);
  color: #70637d;
}
#index-nav a small {
  grid-column: 2;
  font: 9px var(--mono);
  color: #5c5365;
}
#index-nav a:hover,
#index-nav a.active {
  background: linear-gradient(90deg, rgba(150, 80, 255, 0.13), transparent);
  border-left-color: var(--pink);
  color: #fff;
}
#index-nav a.active b {
  color: var(--pink);
}
.side-status {
  position: absolute;
  bottom: 27px;
  padding: 10px;
  font: 9px var(--mono);
  color: #746a7d;
  line-height: 1.7;
}
.side-status b {
  color: #bba7cf;
}
.content {
  margin-left: 230px;
  padding: 70px 5vw 0;
}
.section {
  min-height: 80vh;
  padding: 108px 0 75px;
  border-bottom: 1px solid rgba(211, 176, 255, 0.11);
  scroll-margin-top: 70px;
}
.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  position: relative;
}
.eyebrow,
.section-title > p {
  font: 10px var(--mono);
  letter-spacing: 0.15em;
  color: #bd93fa;
  margin: 0 0 19px;
}
.hero h1 {
  font-size: clamp(42px, 5.2vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 0;
}
.hero h1 strong {
  font-weight: 500;
  background: linear-gradient(90deg, #fff, #ceadff 70%, #ef8ecf);
  color: transparent;
  background-clip: text;
}
.lede {
  max-width: 480px;
  color: #b8afbf;
  line-height: 1.65;
  margin: 28px 0;
}
.actions {
  display: flex;
  gap: 10px;
}
.button {
  padding: 13px 17px;
  border: 1px solid var(--line);
  font: 11px var(--mono);
  letter-spacing: 0.06em;
}
.button.primary {
  background: linear-gradient(110deg, #773ddd, #b449b5);
  border-color: #b67bea;
  box-shadow: 0 0 30px #8d42bd48;
}
.button span {
  margin-left: 18px;
}
.core-orb {
  width: min(390px, 76vw);
  aspect-ratio: 1;
  justify-self: center;
  position: relative;
  display: grid;
  place-items: center;
}
.orb-center {
  z-index: 2;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  background: radial-gradient(
    circle at 35% 30%,
    #bca0ff,
    #55228d 52%,
    #180d28 72%
  );
  box-shadow:
    0 0 60px #9c4dff,
    0 0 130px #d735a859;
  font-size: 46px;
}
.orb-center small {
  font: 9px var(--mono);
  letter-spacing: 0.2em;
}
.orbit {
  position: absolute;
  border: 1px solid #bd82ff76;
  border-radius: 50%;
  animation: spin 16s linear infinite;
}
.o1 {
  inset: 36px 0;
  transform: rotate(-27deg);
}
.o2 {
  inset: 0 54px;
  transform: rotate(50deg);
  animation-duration: 24s;
  animation-direction: reverse;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.orb-data {
  position: absolute;
  font: 10px var(--mono);
  line-height: 1.5;
  color: #b9a1d1;
}
.d1 {
  top: 16%;
  left: 0;
}
.d2 {
  bottom: 18%;
  right: 0;
}
.d3 {
  top: 15%;
  right: 15%;
  color: var(--pink);
}
.hero-meta {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  display: flex;
  gap: 25px;
  font: 10px var(--mono);
  color: #81768c;
}
.hero-meta b {
  font-weight: 500;
  color: #ded3e9;
  margin-left: 4px;
}
.section-title {
  margin-bottom: 38px;
}
.section-title h2 {
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1;
  margin: 0;
  letter-spacing: -0.045em;
}
.section-title > span {
  display: inline-block;
  margin-top: 16px;
  font: 10px var(--mono);
  color: #8e8298;
}
.layer-grid,
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.layer-card,
.telemetry-panel,
.activity,
.profile-panel,
.contributor {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
  position: relative;
}
.layer-card:before,
.module-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 36px;
  background: var(--pink);
}
.layer-card span,
.contributor > span {
  font: 10px var(--mono);
  color: #bd93fa;
}
.layer-card h3 {
  font-size: 25px;
  margin: 25px 0 9px;
}
.layer-card p,
.contributor p,
.profile-panel p,
.verse-intro {
  color: #afa5b5;
  line-height: 1.6;
  margin: 0;
}
.roadmap-wrap {
  margin-top: 63px;
}
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.roadmap > div {
  padding: 18px 22px 0;
  border-right: 1px solid var(--line);
}
.roadmap > div:first-child {
  padding-left: 0;
}
.roadmap b {
  font: 12px var(--mono);
  color: var(--pink);
}
.roadmap p {
  color: #aaa0b1;
  line-height: 1.5;
  font-size: 14px;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.module-card {
  min-height: 190px;
  padding: 18px;
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(
    125deg,
    rgba(94, 50, 138, 0.2),
    rgba(15, 10, 23, 0.5)
  );
  transition: 0.25s;
}
.module-card:hover {
  border-color: #b07bea;
  transform: translateY(-3px);
  box-shadow: 0 10px 35px #5f269a27;
}
.module-code {
  font: 13px var(--mono);
  color: #d9c2fc;
}
.state {
  float: right;
  font: 9px var(--mono);
  letter-spacing: 0.08em;
}
.module-card h3 {
  margin: 53px 0 4px;
  font-size: 24px;
}
.module-card p {
  margin: 0;
  color: #9f94a9;
  font-size: 13px;
}
.module-card i {
  position: absolute;
  bottom: 17px;
  right: 17px;
  font: 10px var(--mono);
  color: #ba8dff;
  font-style: normal;
}
.camera {
  height: min(53vw, 520px);
  min-height: 320px;
  border: 1px solid var(--line);
  position: relative;
  background: radial-gradient(ellipse at center, #221334, #0b0811 60%);
  overflow: hidden;
}
.camera:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    transparent 48%,
    #9a5af20d 49%,
    transparent 50%
  );
}
.camera-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.camera-icon {
  font-size: 38px;
  color: var(--pink);
  text-shadow: 0 0 25px var(--pink);
}
.camera-empty h3 {
  font: 500 16px var(--mono);
  letter-spacing: 0.1em;
  margin: 18px 0 6px;
}
.camera-empty p {
  margin: 0;
  color: #aaa0b1;
}
.camera-empty span {
  margin-top: 20px;
  font: 9px var(--mono);
  color: #776c82;
}
.camera-hud {
  position: absolute;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  font: 10px var(--mono);
  color: #c1b3cd;
}
.camera-hud.top {
  top: 16px;
}
.camera-hud.bottom {
  bottom: 16px;
}
.heartbeat {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  font: 10px var(--mono);
  color: #9d91a8;
}
.heartbeat b {
  font-weight: 500;
  color: #ed80a9;
}
.heartbeat span {
  margin-left: auto;
}
.telemetry-grid {
  align-items: start;
}
.telemetry-panel {
  padding: 16px;
}
.panel-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.panel-head b,
.mock-label {
  font: 9px var(--mono);
  color: #e7c064;
  font-weight: 400;
}
.metric {
  padding: 12px 0 3px;
  font: 10px var(--mono);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  color: #8e8497;
}
.metric strong {
  color: #dcd3e4;
  font-weight: 400;
}
.metric i {
  grid-column: 1/-1;
  height: 3px;
  background: #30253a;
}
.metric i b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--pink));
  box-shadow: 0 0 8px var(--purple);
}
.activity {
  margin-top: 13px;
  padding: 16px;
}
.activity p {
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(211, 176, 255, 0.08);
  font: 12px var(--mono);
  color: #c9bfce;
}
.activity time {
  color: #9e70dc;
}
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.link-card {
  border: 1px solid var(--line);
  padding: 17px;
  display: grid;
  grid-template-columns: 43px 1fr auto;
  align-items: center;
  transition: 0.2s;
  background: rgba(23, 16, 33, 0.42);
}
.link-card:hover {
  border-color: #bd89f1;
  background: #241334;
}
.link-card > b {
  font: 13px var(--mono);
  color: #e698cb;
}
.link-card strong,
.link-card small {
  display: block;
}
.link-card small {
  margin-top: 3px;
  color: #988da2;
  font-size: 12px;
}
.link-card i {
  font-style: normal;
  color: #bd93fa;
}
.split-section {
  min-height: auto;
}
.profile-panel {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 25px;
  max-width: 800px;
}
.avatar {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border: 1px solid #bb87f0;
  background: radial-gradient(circle, #7546a9, #1e112d);
  font: 20px var(--mono);
  box-shadow: 0 0 20px #7b36ad45;
}
.profile-panel .avatar {
  width: 100px;
  height: 100px;
}
.profile-panel h3 {
  font-size: 28px;
  margin: 0 0 13px;
}
.profile-panel p + p {
  margin-top: 11px;
}
.verse-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}
.capability-list {
  margin-top: 23px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  font: 11px var(--mono);
  color: #bdacd0;
}
.node-map {
  height: 320px;
  position: relative;
  background: radial-gradient(circle, #2e1744 0, transparent 55%);
}
.node {
  position: absolute;
  border: 1px solid #b480eb;
  background: #150d22;
  padding: 9px 12px;
  font: 10px var(--mono);
  color: #e4d4f7;
  box-shadow: 0 0 17px #8f47bd36;
}
.root {
  top: 42%;
  left: 37%;
  background: #6c2da4;
  border-color: #e590cc;
}
.n1 {
  top: 7%;
  left: 39%;
}
.n2 {
  top: 24%;
  right: 4%;
}
.n3 {
  bottom: 11%;
  right: 7%;
}
.n4 {
  bottom: 5%;
  left: 14%;
}
.n5 {
  top: 27%;
  left: 4%;
}
.contributors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.contributor .avatar {
  margin-bottom: 20px;
}
.contributor-avatar {
  overflow: hidden;
}
.contributor-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contributor h3 {
  font-size: 22px;
  margin: 8px 0;
}
.contributor p {
  font-size: 14px;
}
footer {
  padding: 24px 0;
  display: flex;
  gap: 25px;
  justify-content: space-between;
  font: 9px var(--mono);
  letter-spacing: 0.08em;
  color: #746b7c;
}
@media (max-width: 850px) {
  .system-states span:nth-child(3),
  .system-states .clock {
    display: none;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: 0.25s;
    width: 270px;
    background: #0d0914;
  }
  .sidebar.open {
    transform: none;
  }
  .scrim {
    position: fixed;
    inset: 70px 0 0;
    z-index: 6;
    pointer-events: none;
  }
  .scrim.on {
    background: #0008;
    pointer-events: auto;
  }
  .index-toggle {
    display: block;
  }
  .content {
    margin: 0;
    padding: 70px 7vw 0;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 72px;
  }
  .hero-copy {
    z-index: 1;
  }
  .core-orb {
    grid-row: 1;
    width: 270px;
  }
  .hero-meta {
    position: static;
    grid-column: 1;
    flex-wrap: wrap;
  }
  .section {
    padding: 76px 0;
  }
  .layer-grid,
  .telemetry-grid {
    grid-template-columns: 1fr;
  }
  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .verse-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .node-map {
    max-width: 400px;
  }
  .topbar {
    padding: 0 14px;
    gap: 10px;
  }
  .wordmark em,
  .system-states {
    display: none;
  }
  .sound-toggle {
    margin-left: auto;
  }
  .profile-panel {
    grid-template-columns: 1fr;
  }
  .profile-panel .avatar {
    width: 66px;
    height: 66px;
  }
  .roadmap {
    grid-template-columns: 1fr;
  }
  .roadmap > div,
  .roadmap > div:first-child {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 520px) {
  .boot-terminal {
    min-height: 370px;
    padding: 18px;
    font-size: 12px;
  }
  .boot-lines {
    min-height: 253px;
  }
  .module-grid,
  .links-grid {
    grid-template-columns: 1fr;
  }
  .section-title h2 {
    font-size: 34px;
  }
  .hero h1 {
    font-size: 45px;
  }
  .hero-meta {
    gap: 12px;
    font-size: 9px;
  }
  .camera-hud {
    font-size: 8px;
  }
  .heartbeat {
    flex-wrap: wrap;
  }
  .heartbeat span {
    margin-left: 0;
    width: 100%;
  }
  .capability-list {
    grid-template-columns: 1fr;
  }
  .node-map {
    transform: scale(0.85);
    transform-origin: left center;
    width: 117%;
  }
  footer {
    display: block;
    line-height: 2.1;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.hero-meta {
  right: auto;
  width: 58%;
}
@media (max-width: 850px) {
  .hero:after {
    display: none;
  }
  .hero-meta {
    width: auto;
  }
}
@media (max-width: 520px) {
}

/* Live terminal substrate */
.hero {
  isolation: isolate;
}
.hero:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% -5% 12% 35%;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(181, 103, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 103, 255, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black, transparent 70%);
  animation: grid-drift 18s linear infinite;
}
@keyframes grid-drift {
  to {
    background-position:
      0 28px,
      28px 0;
  }
}
.live-terminal {
  margin-top: 30px;
  width: min(480px, 100%);
  position: relative;
  border: 1px solid rgba(170, 115, 234, 0.34);
  background: rgba(9, 6, 15, 0.68);
  box-shadow: inset 0 0 28px rgba(178, 76, 231, 0.07);
  font: 10px var(--mono);
  overflow: hidden;
}
.live-terminal:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(231, 145, 255, 0.06),
    transparent
  );
  transform: translateX(-100%);
  animation: terminal-sheen 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes terminal-sheen {
  45%,
  100% {
    transform: translateX(100%);
  }
}
.live-terminal-head {
  display: flex;
  justify-content: space-between;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  color: #a992bb;
  letter-spacing: 0.12em;
}
.live-terminal-head b {
  font-weight: 400;
  color: #8ef1c2;
  animation: signal-pulse 1.8s ease-in-out infinite;
}
@keyframes signal-pulse {
  50% {
    opacity: 0.35;
    text-shadow: 0 0 11px #8ef1c2;
  }
}
.live-readout {
  padding: 7px 12px;
}
.live-readout p {
  display: flex;
  justify-content: space-between;
  margin: 6px 0;
  color: #8f829c;
}
.live-readout p span:before {
  content: "› ";
  color: #e284c6;
}
.live-readout b {
  font-weight: 400;
  color: #d4c4df;
}
.terminal-prompt {
  padding: 9px 12px;
  border-top: 1px solid rgba(211, 176, 255, 0.11);
  color: #ca9cff;
}
.terminal-prompt i {
  display: inline-block;
  width: 7px;
  height: 12px;
  vertical-align: -2px;
  background: #f18ccc;
  animation: cursor 0.85s steps(1) infinite;
}
@keyframes cursor {
  50% {
    opacity: 0;
  }
}
.topbar:after {
  content: none;
}
.telemetry-panel {
  overflow: hidden;
}
.telemetry-panel:after {
  content: "";
  position: absolute;
  right: -17px;
  top: -17px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(241, 99, 191, 0.4);
  transform: rotate(45deg);
}
@media (max-width: 850px) {
  .hero:before {
    inset: 35% -18% 5% -18%;
  }
  .topbar:after {
    display: none;
  }
  .live-terminal {
    margin-top: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero:before,
  .live-terminal:after,
  .live-terminal-head b,
  .terminal-prompt i {
    animation: none;
  }
}

/* Command-deck layout: a horizontal system navigator replaces the dashboard rail. */
.topbar {
  height: 64px;
  padding: 0 clamp(16px, 3vw, 46px);
  background: rgba(7, 5, 12, 0.92);
}
.sidebar {
  top: 64px;
  left: 0;
  right: 0;
  bottom: auto;
  width: auto;
  height: 54px;
  padding: 0 clamp(16px, 3vw, 46px);
  display: flex;
  align-items: center;
  gap: 22px;
  border-right: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(12, 8, 18, 0.78);
}
.index-label {
  padding: 0;
  white-space: nowrap;
}
.sidebar #index-nav {
  display: flex;
  flex: 1;
  flex-direction: row;
  height: 100%;
  overflow: auto;
  scrollbar-width: none;
}
.sidebar #index-nav::-webkit-scrollbar {
  display: none;
}
.sidebar #index-nav a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border-left: 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.sidebar #index-nav a small {
  display: none;
}
.sidebar #index-nav a:hover,
.sidebar #index-nav a.active {
  border-left: 0;
  border-bottom-color: var(--pink);
  background: linear-gradient(180deg, transparent, rgba(150, 80, 255, 0.15));
}
.content {
  margin-left: 0;
  padding: 118px clamp(18px, 6vw, 100px) 0;
  max-width: 1600px;
  margin-inline: auto;
}
.section {
  min-height: auto;
  padding: 115px 0 100px;
}
.hero {
  min-height: calc(100vh - 118px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.84fr);
  gap: 7vw;
}
.hero-copy {
  padding: 38px 0;
}
.hero h1 {
  font-size: clamp(47px, 5vw, 86px);
}
.hero-meta {
  bottom: 0;
  width: auto;
  left: 0;
}
.hero:after {
  content: none;
  bottom: 0;
}
.section-title {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin-bottom: 30px;
}
.section-title > p {
  margin: 0;
}
.section-title > span {
  margin: 0;
}
.layer-grid {
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
  gap: 0;
}
.layer-card {
  min-height: 260px;
  border-right: 0;
}
.layer-card:first-child {
  background: linear-gradient(
    145deg,
    rgba(104, 49, 161, 0.34),
    rgba(20, 15, 31, 0.72)
  );
}
.module-grid {
  grid-template-columns: 1.5fr 0.75fr 0.75fr 0.75fr;
  grid-auto-rows: 180px;
  gap: 9px;
}
.module-card {
  min-height: 0;
}
.module-card:first-child {
  grid-row: span 2;
  background: linear-gradient(
    145deg,
    rgba(120, 53, 174, 0.43),
    rgba(13, 8, 22, 0.8)
  );
}
.module-card:first-child h3 {
  margin-top: 165px;
  font-size: 35px;
}
.module-card:nth-child(2) {
  grid-column: span 2;
}
.telemetry-grid {
  grid-template-columns: 1.2fr 1fr 0.8fr;
}
.camera {
  border-radius: 2px;
  box-shadow: 18px 18px 0 rgba(118, 52, 160, 0.1);
}
.links-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.link-card {
  min-height: 155px;
  grid-template-columns: 1fr;
  align-content: space-between;
  gap: 15px;
  border-right: 0;
}
.link-card i {
  position: absolute;
  right: 15px;
  bottom: 15px;
}
.contributors-grid {
  grid-template-columns: repeat(4, 1fr);
}
.split-section {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
}
.split-section .section-title {
  display: block;
  border-bottom: 0;
  padding-top: 5px;
}
.split-section .section-title h2 {
  margin-top: 13px;
}
.split-section .profile-panel,
.split-section .verse-layout {
  grid-column: 2;
}
.verse-layout {
  width: 100%;
}
@media (max-width: 850px) {
  .sidebar {
    height: calc(100vh - 64px);
    top: 64px;
    bottom: 0;
    right: auto;
    width: 280px;
    display: block;
    padding: 27px 17px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
  .sidebar #index-nav {
    display: flex;
    height: auto;
    flex-direction: column;
    overflow: visible;
  }
  .sidebar #index-nav a {
    display: grid;
    padding: 11px 10px;
    border-left: 1px solid transparent;
    border-bottom: 0;
    white-space: normal;
  }
  .sidebar #index-nav a small {
    display: block;
  }
  .sidebar #index-nav a:hover,
  .sidebar #index-nav a.active {
    border-left-color: var(--pink);
    border-bottom: 0;
  }
  .content {
    padding-top: 64px;
  }
  .scrim {
    inset: 64px 0 0;
  }
  .section-title {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .section-title > span {
    margin-top: 0;
  }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero-meta {
    position: static;
  }
  .module-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
  .module-card:first-child,
  .module-card:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }
  .module-card:first-child h3 {
    margin-top: 53px;
    font-size: 24px;
  }
  .links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }
  .link-card {
    border-right: 1px solid var(--line);
  }
  .contributors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-section {
    display: block;
  }
  .split-section .profile-panel,
  .split-section .verse-layout {
    width: 100%;
  }
}
@media (max-width: 520px) {
  .content {
    padding-inline: 18px;
  }
  .section {
    padding: 75px 0;
  }
  .links-grid,
  .contributors-grid {
    grid-template-columns: 1fr;
  }
  .section-title h2 {
    font-size: 32px;
  }
  .topbar {
    height: 60px;
  }
  .sidebar {
    top: 60px;
    height: calc(100vh - 60px);
  }
  .content {
    padding-top: 60px;
  }
  .scrim {
    inset: 60px 0 0;
  }
}

/* A world that remembers: slow celestial motion and persistent traces. */
.fullscreen-button {
  margin-left: auto;
  border: 1px solid rgba(212, 171, 255, 0.35);
  background: rgba(12, 7, 19, 0.72);
  color: #e2cff8;
  padding: 7px 9px;
  font: 9px var(--mono);
  letter-spacing: 0.08em;
  cursor: pointer;
  backdrop-filter: blur(5px);
}
.fullscreen-button:hover {
  border-color: var(--pink);
  color: #fff;
}
.camera:fullscreen {
  width: 100vw;
  height: 100vh;
  border: 0;
  background: #050308;
}
.camera:fullscreen .camera-empty {
  font-size: 1.25em;
}
.camera:fullscreen .camera-hud {
  left: 28px;
  right: 28px;
}
.camera:fullscreen .fullscreen-button {
  font-size: 11px;
}
.world-section {
  position: relative;
}
.world-section:before {
  content: "";
  position: absolute;
  inset: 8% -10% 5% 18%;
  z-index: -1;
  background:
    radial-gradient(
      ellipse at 72% 50%,
      rgba(151, 72, 227, 0.16),
      transparent 43%
    ),
    radial-gradient(
      circle at 44% 80%,
      rgba(241, 99, 191, 0.08),
      transparent 20%
    );
  filter: blur(18px);
}
.world-section .verse-layout {
  min-height: 430px;
  align-items: center;
}
.world-section #verse-copy {
  position: relative;
  z-index: 2;
}
.node-map {
  height: 430px;
  overflow: hidden;
  border: 1px solid rgba(195, 142, 243, 0.18);
  background: radial-gradient(
    circle at 50% 50%,
    #301545 0,
    #160c24 30%,
    #09060f 70%
  );
}
.starfield,
.starfield:before,
.starfield:after {
  position: absolute;
  inset: -35%;
  content: "";
  background-image:
    radial-gradient(circle, #e3c3ff 0 1px, transparent 1.5px),
    radial-gradient(circle, #f38fc9 0 1px, transparent 1.5px),
    radial-gradient(circle, #a76bff 0 1px, transparent 1.5px);
  background-size:
    79px 91px,
    123px 131px,
    173px 157px;
  background-position:
    12px 14px,
    43px 71px,
    95px 21px;
  opacity: 0.52;
  animation: star-drift 42s linear infinite;
}
.starfield:before {
  animation-duration: 67s;
  transform: rotate(29deg);
  opacity: 0.28;
}
.starfield:after {
  animation-duration: 91s;
  transform: rotate(-19deg);
  opacity: 0.38;
}
@keyframes star-drift {
  to {
    background-position:
      91px 178px,
      198px 231px,
      286px 312px;
  }
}
.memory-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(221, 152, 255, 0.29);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ring-a {
  width: 220px;
  height: 220px;
  animation: orbit-turn 18s linear infinite;
}
.ring-b {
  width: 340px;
  height: 190px;
  border-color: rgba(241, 99, 191, 0.24);
  animation: orbit-turn 26s linear infinite reverse;
}
.ring-c {
  width: 430px;
  height: 330px;
  border-color: rgba(158, 111, 255, 0.16);
  animation: orbit-turn 42s linear infinite;
}
.memory-ring:after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  right: 12%;
  top: 8%;
  border-radius: 50%;
  background: #f29bd4;
  box-shadow: 0 0 15px 5px rgba(242, 155, 212, 0.4);
}
@keyframes orbit-turn {
  from {
    transform: translate(-50%, -50%) rotate(0);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.node-map .node {
  z-index: 2;
}
.node-map .root {
  box-shadow:
    0 0 32px rgba(220, 105, 231, 0.58),
    inset 0 0 18px rgba(255, 192, 255, 0.2);
  animation: core-breathe 5s ease-in-out infinite;
}
.node-map .n1,
.node-map .n3,
.node-map .n5 {
  animation: node-float 6s ease-in-out infinite;
}
.node-map .n2,
.node-map .n4 {
  animation: node-float 7.5s ease-in-out -2s infinite;
}
@keyframes core-breathe {
  50% {
    transform: scale(1.08);
    filter: brightness(1.2);
  }
}
@keyframes node-float {
  50% {
    translate: 0 -9px;
    box-shadow: 0 0 25px rgba(184, 100, 235, 0.42);
  }
}
.memory-trace {
  position: absolute;
  z-index: 2;
  font: 8px var(--mono);
  letter-spacing: 0.08em;
  color: rgba(225, 194, 245, 0.58);
  white-space: nowrap;
}
.memory-trace:before {
  content: "+";
  color: #ee8ccc;
  margin-right: 5px;
}
.trace-1 {
  left: 7%;
  bottom: 17%;
  animation: trace-flicker 5s ease-in-out infinite;
}
.trace-2 {
  right: 5%;
  top: 14%;
  animation: trace-flicker 7s ease-in-out -2s infinite;
}
@keyframes trace-flicker {
  50% {
    opacity: 0.25;
    filter: blur(0.2px);
  }
}
@media (max-width: 850px) {
  .world-section .verse-layout {
    min-height: 0;
  }
  .node-map {
    height: 370px;
  }
  .memory-trace {
    font-size: 7px;
  }
  .camera-hud.top {
    gap: 8px;
  }
  .fullscreen-button {
    padding: 6px;
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .starfield,
  .starfield:before,
  .starfield:after,
  .memory-ring,
  .node-map .node,
  .memory-trace {
    animation: none !important;
  }
}

/* Startup companion art + neural core launch visual. */
.boot-terminal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(225px, 0.48fr);
  column-gap: 24px;
}
.boot-terminal .terminal-corners,
.boot-terminal .boot-head,
.boot-terminal .boot-progress,
.boot-terminal .boot-foot {
  grid-column: 1 / -1;
}
.boot-cat {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  margin: 0;
  padding: 8px;
  overflow: hidden;
  border-left: 1px solid rgba(211, 176, 255, 0.17);
  color: #ff5fbe;
  font: 7.4px/1.09 var(--mono);
  text-shadow:
    0 0 9px #ff5fbe,
    0 0 24px rgba(255, 95, 190, 0.94);
  opacity: 1;
  animation: cat-signal 4s ease-in-out infinite;
}
.boot-lines {
  grid-column: 1;
  min-height: 265px;
}
@keyframes cat-signal {
  50% {
    opacity: 0.72;
    filter: hue-rotate(18deg);
  }
}
.neural-core {
  width: min(455px, 84vw);
  aspect-ratio: 1;
  position: relative;
  justify-self: end;
  display: grid;
  place-items: center;
  overflow: visible;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(104, 43, 159, 0.3),
    transparent 61%
  );
}
.neural-core:before {
  content: none;
}
.neural-core:after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 16px 6px #ff60c0,
    180px 80px 0 -4px #a96aff,
    -160px -70px 0 -4px #ff60c0;
  animation: satellite-drift 8s ease-in-out infinite;
}
@keyframes satellite-drift {
  50% {
    transform: translate(22px, -14px);
  }
}
.core-grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(216, 174, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 174, 255, 0.11) 1px, transparent 1px);
  background-size: 25px 25px;
  transform: perspective(300px) rotateX(63deg) translateY(25%);
  mask-image: radial-gradient(circle, black 5%, transparent 69%);
  animation: grid-breathe 12s linear infinite;
}
@keyframes grid-breathe {
  to {
    background-position:
      0 50px,
      50px 0;
  }
}
.core-halo {
  position: absolute;
  border: 1px solid rgba(218, 155, 255, 0.38);
  border-radius: 50%;
  animation: halo-turn 18s linear infinite;
}
.halo-one {
  width: 76%;
  height: 30%;
  transform: rotate(22deg);
}
.halo-two {
  width: 72%;
  height: 68%;
  border-color: rgba(243, 105, 191, 0.26);
  animation-duration: 28s;
  animation-direction: reverse;
}
.halo-three {
  width: 32%;
  height: 82%;
  border-color: rgba(185, 128, 255, 0.22);
  animation-duration: 21s;
}
@keyframes halo-turn {
  to {
    transform: rotate(382deg);
  }
}
.core-prism {
  z-index: 2;
  width: 154px;
  height: 154px;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: #1b0e27;
  border: 1px solid #ff69c4;
  box-shadow: 0 0 32px rgba(255, 87, 185, 0.4);
  animation: prism-pulse 5.5s ease-in-out infinite;
}
.cat-power-logo {
  width: 82px;
  height: 82px;
  margin: 0 auto;
  fill: none;
  stroke: #ff69c4;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 7px rgba(255, 105, 196, 0.65));
}
.core-prism small {
  margin-top: 8px;
  font: 8px var(--mono);
  letter-spacing: 0.14em;
  color: #ffb6e2;
}
@keyframes prism-pulse {
  50% {
    transform: scale(1.09) rotate(2deg);
    filter: brightness(1.17);
  }
}
.core-pin {
  position: absolute;
  z-index: 3;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 14px 5px rgba(241, 99, 191, 0.45);
  animation: pin-flash 2.4s ease-in-out infinite;
}
.pin-a {
  top: 23%;
  left: 23%;
}
.pin-b {
  bottom: 21%;
  right: 18%;
  animation-delay: -0.8s;
  background: #b280ff;
}
.pin-c {
  top: 18%;
  right: 23%;
  animation-delay: -1.5s;
}
@keyframes pin-flash {
  50% {
    opacity: 0.2;
    transform: scale(0.65);
  }
}
.core-label {
  position: absolute;
  z-index: 3;
  font: 9px var(--mono);
  color: #cdb2df;
  letter-spacing: 0.08em;
}
.label-a {
  left: 7%;
  top: 18%;
}
.label-b {
  right: 5%;
  bottom: 19%;
}
.label-c {
  right: 7%;
  top: 12%;
  color: #e58bcc;
}
@media (max-width: 850px) {
  .boot-terminal {
    grid-template-columns: 1fr;
  }
  .boot-cat {
    display: none;
  }
  .boot-lines {
    grid-column: 1;
  }
  .neural-core {
    justify-self: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .boot-cat,
  .core-grid,
  .core-halo,
  .core-prism,
  .core-pin {
    animation: none;
  }
  .dimension-field:before,
  .dimension-field:after {
    animation: none;
  }
}

/* Dynamic canvas with stacked profile/world sections to prevent any overlap. */
.content {
  width: min(100%, 1760px);
  max-width: 1760px;
  padding-inline: clamp(20px, 3vw, 76px);
}
.hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(400px, 0.8fr);
  gap: clamp(36px, 4.5vw, 96px);
}
.section-title {
  grid-template-columns: 125px minmax(0, 1fr) auto;
}
.layer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.split-section {
  display: block;
}
.split-section .section-title {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin-bottom: 30px;
}
.split-section .section-title > p {
  grid-column: 1;
}
.split-section .section-title > h2 {
  grid-column: 2;
}
.split-section .profile-panel {
  max-width: 1080px;
  grid-template-columns: 90px minmax(0, 1fr);
}
.split-section .verse-layout {
  grid-template-columns: minmax(300px, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(24px, 3vw, 46px);
}
#live .camera {
  width: 100%;
  max-width: 1320px;
}
@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .content {
    width: 100%;
    padding-inline: clamp(18px, 6vw, 48px);
  }
  .split-section .verse-layout,
  .split-section .profile-panel {
    grid-template-columns: 1fr;
  }
  .layer-grid {
    grid-template-columns: 1fr;
  }
  .split-section .section-title {
    display: block;
  }
}

/* Interface-wide terminal chrome. */
.topbar {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.topbar:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 92px;
  height: 2px;
  background: linear-gradient(90deg, #ff70bf, #9a60ff, transparent);
  box-shadow: 0 0 13px rgba(225, 111, 255, 0.75);
}
.wordmark .logo {
  position: relative;
  overflow: hidden;
}
.wordmark .logo:after {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(
    120deg,
    transparent 44%,
    rgba(255, 255, 255, 0.65) 50%,
    transparent 56%
  );
  animation: logo-sweep 5s ease-in-out infinite;
}
@keyframes logo-sweep {
  0%,
  62% {
    transform: translateX(-74%);
  }
  78%,
  100% {
    transform: translateX(74%);
  }
}
.sidebar {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
.sidebar:after {
  content: "INDEX / 08";
  position: absolute;
  right: 18px;
  top: 18px;
  font: 8px var(--mono);
  color: rgba(207, 169, 235, 0.42);
  letter-spacing: 0.1em;
}
.section-title {
  position: relative;
}
.section-title:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: #f177ba;
  box-shadow: 0 0 12px rgba(241, 119, 186, 0.7);
}
.layer-card,
.module-card,
.telemetry-panel,
.activity,
.link-card,
.profile-panel,
.contributor {
  overflow: hidden;
}
.layer-card:after,
.module-card:after,
.telemetry-panel:before,
.link-card:before,
.contributor:before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(238, 150, 215, 0.5);
  border-style: solid;
  pointer-events: none;
}
.layer-card:after,
.module-card:after {
  right: 9px;
  bottom: 9px;
  border-width: 0 1px 1px 0;
}
.telemetry-panel:before {
  left: 9px;
  top: 9px;
  border-width: 1px 0 0 1px;
}
.link-card:before {
  right: 9px;
  top: 9px;
  border-width: 1px 1px 0 0;
}
.contributor:before {
  left: 9px;
  bottom: 9px;
  border-width: 0 0 1px 1px;
}
.layer-card:hover,
.module-card:hover,
.link-card:hover,
.contributor:hover {
  box-shadow:
    inset 0 0 28px rgba(177, 92, 222, 0.1),
    0 13px 30px rgba(33, 11, 50, 0.28);
}
.panel-head {
  position: relative;
}
.panel-head:before {
  content: "//";
  margin-right: 8px;
  color: #f083c2;
  text-shadow: 0 0 8px rgba(240, 131, 194, 0.6);
}
.metric {
  position: relative;
}
.metric:before {
  content: "";
  position: absolute;
  left: -16px;
  top: 16px;
  width: 5px;
  height: 1px;
  background: #9a61da;
  opacity: 0.55;
}
.camera {
  background: radial-gradient(ellipse at center, #301443, #09060f 62%);
}
.camera:after {
  content: "CAMERA / OPTICAL CHANNEL";
  position: absolute;
  right: 17px;
  top: 42px;
  font: 8px var(--mono);
  color: rgba(225, 186, 244, 0.38);
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}
.camera-hud.top,
.camera-hud.bottom {
  padding: 8px 10px;
  border: 1px solid rgba(209, 165, 242, 0.13);
  background: rgba(9, 6, 15, 0.38);
  backdrop-filter: blur(4px);
}
.camera-hud.bottom {
  border-top: 0;
}
.activity {
  background: linear-gradient(
    100deg,
    rgba(32, 17, 43, 0.72),
    rgba(17, 11, 26, 0.72)
  );
}
.activity p:before {
  content: "›";
  color: #f080bd;
}
.profile-panel {
  background: linear-gradient(
    125deg,
    rgba(47, 25, 66, 0.72),
    rgba(18, 12, 27, 0.62)
  );
}
.profile-panel:before {
  content: "CREATOR_RECORD";
  position: absolute;
  right: 17px;
  top: 16px;
  font: 8px var(--mono);
  letter-spacing: 0.12em;
  color: rgba(213, 178, 236, 0.38);
}
.contributor .avatar {
  position: relative;
}
.contributor .avatar:after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 166, 219, 0.3);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .wordmark .logo:after {
    animation: none;
  }
  .login-logo,
  .login-button span {
    animation: none;
  }
}

/* Dense boot output remains inside the terminal frame. */
.boot-lines {
  height: 290px;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(243, 120, 192, 0.55) transparent;
}
.boot-lines time {
  display: inline-block;
  min-width: 92px;
  margin-right: 7px;
  color: rgba(180, 145, 199, 0.62);
  font-size: 9px;
}

/* Cyberpunk frame system: angular shells, edge rails, and recessed panel depth. */
.module-card,
.layer-card,
.telemetry-panel,
.link-card,
.profile-panel,
.contributor,
.activity,
.camera,
.memory-archive {
  border-radius: 0;
  clip-path: polygon(
    0 10px,
    10px 0,
    calc(100% - 22px) 0,
    100% 22px,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    18px 100%,
    0 calc(100% - 18px)
  );
  box-shadow:
    inset 0 0 0 1px rgba(233, 177, 255, 0.055),
    inset 0 0 35px rgba(160, 74, 193, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.16);
}
.module-card,
.layer-card,
.link-card,
.contributor {
  background-image:
    linear-gradient(135deg, rgba(120, 59, 156, 0.12), transparent 36%),
    linear-gradient(315deg, rgba(244, 102, 183, 0.055), transparent 30%);
}
.module-card:hover,
.layer-card:hover,
.link-card:hover,
.contributor:hover {
  border-color: rgba(255, 130, 205, 0.74);
  box-shadow:
    inset 0 0 0 1px rgba(255, 190, 231, 0.14),
    inset 0 0 46px rgba(189, 74, 200, 0.14),
    0 15px 34px rgba(64, 19, 73, 0.35);
}
.module-grid,
.layer-grid,
.telemetry-grid,
.links-grid,
.contributors-grid {
  position: relative;
}
.module-grid:before,
.telemetry-grid:before {
  content: "";
  position: absolute;
  left: -8px;
  top: -8px;
  width: 34px;
  height: 34px;
  border-left: 1px solid #f273bc;
  border-top: 1px solid #f273bc;
  box-shadow: -3px -3px 15px rgba(242, 115, 188, 0.22);
  pointer-events: none;
}
.module-grid:after,
.telemetry-grid:after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 34px;
  height: 34px;
  border-right: 1px solid #a86cf1;
  border-bottom: 1px solid #a86cf1;
  box-shadow: 3px 3px 15px rgba(168, 108, 241, 0.22);
  pointer-events: none;
}
.module-card .module-code,
.layer-card > span {
  display: inline-block;
  padding: 4px 6px;
  border-left: 2px solid #ef78bc;
  background: rgba(238, 105, 187, 0.08);
}
.telemetry-panel {
  background: linear-gradient(
    140deg,
    rgba(43, 21, 57, 0.86),
    rgba(14, 10, 22, 0.74)
  );
}
.telemetry-panel .panel-head {
  margin: -2px -2px 0;
  padding: 9px 8px 13px;
  background: linear-gradient(90deg, rgba(180, 87, 212, 0.13), transparent);
}
.metric i {
  background: linear-gradient(
    90deg,
    rgba(76, 45, 96, 0.9),
    rgba(31, 19, 43, 0.55)
  );
}
.link-card > b {
  width: max-content;
  padding: 5px 6px;
  border: 1px solid rgba(239, 125, 191, 0.35);
  background: rgba(239, 125, 191, 0.08);
}
.camera {
  border-color: rgba(220, 161, 255, 0.42);
}
.camera:before {
  background:
    linear-gradient(
      130deg,
      transparent 42%,
      rgba(236, 102, 191, 0.08) 43%,
      transparent 44%
    ),
    linear-gradient(
      310deg,
      transparent 53%,
      rgba(167, 102, 240, 0.06) 54%,
      transparent 55%
    );
}
.camera-hud.top {
  border-left: 2px solid #f071ba;
}
.camera-hud.bottom {
  border-right: 2px solid #9c65e3;
}
.profile-panel,
.memory-archive {
  border-color: rgba(218, 159, 251, 0.34);
}

/* Persistent-world archive: layered records instead of orbital/cyber animation. */
.memory-archive {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(198, 142, 244, 0.2);
  background: linear-gradient(
    145deg,
    rgba(47, 23, 67, 0.58),
    rgba(10, 7, 15, 0.78)
  );
  box-shadow: inset 0 0 70px rgba(172, 77, 178, 0.06);
}
.memory-archive:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 72% 25%,
      rgba(242, 99, 184, 0.13),
      transparent 21%
    ),
    radial-gradient(
      circle at 23% 84%,
      rgba(148, 83, 227, 0.13),
      transparent 27%
    );
  pointer-events: none;
}
.archive-head {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  top: 16px;
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font: 9px var(--mono);
  letter-spacing: 0.12em;
  color: #bba7ca;
}
.archive-head b {
  color: #f091c7;
  font-weight: 400;
}
.memory-window {
  position: absolute;
  z-index: 2;
  left: 12%;
  top: 25%;
  width: 55%;
  height: 46%;
  padding: 17px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(238, 152, 214, 0.48);
  background: rgba(18, 10, 29, 0.52);
  box-shadow: 12px 13px 0 rgba(156, 76, 178, 0.16);
  animation: archive-breathe 7s ease-in-out infinite;
}
.memory-window:before,
.memory-window:after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: #f38ac8;
  border-style: solid;
}
.memory-window:before {
  left: -1px;
  top: -1px;
  border-width: 1px 0 0 1px;
}
.memory-window:after {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}
.memory-window span {
  font: 9px var(--mono);
  color: #c9aed6;
}
.memory-window strong {
  font: 500 38px var(--sans);
  letter-spacing: -0.06em;
  color: #f5d9ef;
}
.memory-window i {
  width: 48%;
  height: 1px;
  background: linear-gradient(90deg, #f26dc0, transparent);
}
.archive-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 3px;
  padding: 11px 13px;
  min-width: 142px;
  border: 1px solid rgba(204, 165, 237, 0.24);
  background: rgba(15, 9, 23, 0.86);
  font: 9px var(--mono);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}
.archive-card small {
  color: #897494;
}
.archive-card b {
  font-size: 14px;
  color: #e7d5ec;
}
.archive-card span {
  color: #d68abc;
  font-size: 8px;
}
.card-one {
  right: 8%;
  top: 19%;
  animation: record-shift 9s ease-in-out infinite;
}
.card-two {
  right: 18%;
  bottom: 13%;
  animation: record-shift 11s ease-in-out -3s infinite;
}
.card-three {
  left: 5%;
  bottom: 10%;
  animation: record-shift 10s ease-in-out -5s infinite;
}
.memory-cursor {
  position: absolute;
  left: 12%;
  bottom: 8%;
  z-index: 2;
  font: 9px var(--mono);
  letter-spacing: 0.1em;
  color: #bf93d9;
  animation: cursor-soft 3s ease-in-out infinite;
}
@keyframes archive-breathe {
  50% {
    filter: brightness(1.14);
    transform: translateY(-4px);
  }
}
@keyframes record-shift {
  50% {
    transform: translateY(-7px);
    border-color: rgba(242, 139, 203, 0.5);
  }
}
@keyframes cursor-soft {
  50% {
    opacity: 0.32;
  }
}
@media (max-width: 650px) {
  .memory-archive {
    min-height: 330px;
  }
  .memory-window {
    left: 8%;
    width: 63%;
  }
  .card-one {
    right: 4%;
    top: 16%;
  }
  .card-two {
    right: 7%;
    bottom: 10%;
  }
  .card-three {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .memory-window,
  .archive-card,
  .memory-cursor {
    animation: none;
  }
}
