.neuron-atlas-page {
  --paper: #07101c;
  --paper-deep: #0d1928;
  --ink: #eef4f2;
  --muted: #8d9eaa;
  --line: rgba(225, 239, 242, .16);
  margin: 0;
  overflow: hidden;
  background: #07101c;
  color: var(--ink);
}
.neuron-atlas-page.dark { --paper: #07101c; --paper-deep: #0d1928; --ink: #eef4f2; --muted: #8d9eaa; --line: rgba(225,239,242,.16); }
.neuron-atlas-page .atlas-site-header { background: rgba(5, 12, 22, .74); border-color: rgba(255,255,255,.11); backdrop-filter: blur(22px); }
.neuron-atlas-page .brand-mark circle { fill: #07101c; }
.neuron-atlas-page .desktop-nav a, .neuron-atlas-page .brand { color: #dfe8e8; }
.neuron-atlas-page .desktop-nav a::after { background: var(--acid); }
.neuron-atlas-page .desktop-nav a.active { color: var(--acid); }
.neuron-atlas-page .icon-button { border-color: rgba(255,255,255,.18); color: #fff; }
.neuron-atlas-page .theme-toggle { display: none; }
.neuron-atlas-page .subscribe-button { background: var(--acid); color: #081018; }
.neuron-atlas-page .menu-toggle span { background: #fff; }

.atlas-stage { position: relative; width: 100vw; height: 100svh; min-height: 660px; isolation: isolate; overflow: hidden; background: radial-gradient(circle at 58% 43%, #183d57 0, #0b1f31 34%, #07111e 68%, #050a12 100%); }
#atlas-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; cursor: grab; outline: none; touch-action: none; }
#atlas-canvas:active { cursor: grabbing; }
#atlas-canvas:focus-visible { box-shadow: inset 0 0 0 2px var(--acid); }
.atlas-depth { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(circle at 50% 49%, transparent 27%, rgba(3,8,15,.13) 58%, rgba(3,8,15,.64) 110%), linear-gradient(90deg, rgba(4,9,16,.52), transparent 24%, transparent 74%, rgba(4,9,16,.35)); }
.atlas-depth::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(to bottom, black, transparent 72%); }

.atlas-title { position: absolute; z-index: 6; left: clamp(24px, 4vw, 68px); top: 104px; width: min(375px, calc(100vw - 48px)); pointer-events: none; }
.atlas-title .atlas-back { display: inline-block; margin-bottom: 28px; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.22); color: var(--muted); font: 400 8px var(--mono); letter-spacing: .09em; text-transform: uppercase; pointer-events: auto; }
.atlas-title .eyebrow { color: #b8c5cb; }
.atlas-title h1 { margin: 15px 0 13px; font-size: clamp(50px, 5.2vw, 83px); line-height: .85; letter-spacing: -.05em; }
.atlas-title h1 em { color: #ff9c73; font-weight: 400; }
.atlas-title > p:last-child { max-width: 330px; margin: 0; color: #94a6b1; font-size: 11px; line-height: 1.7; }

.atlas-annotations { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.atlas-annotation { position: absolute; left: 50%; top: 50%; opacity: 0; transition: opacity .25s ease; }
.atlas-connector { position: absolute; left: 0; top: 0; width: 100px; height: 1px; transform-origin: 0 50%; background: linear-gradient(90deg, rgba(215,255,99,.88), rgba(215,255,99,.18)); }
.atlas-connector::before { content: ""; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 14px rgba(215,255,99,.65); }
.atlas-label { position: absolute; width: max-content; min-width: 118px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 3px; background: rgba(7,16,28,.75); color: #edf3f1; box-shadow: 0 12px 35px rgba(0,0,0,.24); backdrop-filter: blur(12px); cursor: pointer; pointer-events: auto; text-align: left; font: 500 10px var(--sans); transition: border-color .2s, background .2s, transform .2s; }
.atlas-label:hover, .atlas-label.active { border-color: rgba(215,255,99,.7); background: rgba(15,31,46,.94); transform: translateY(-2px); }
.atlas-label small { margin-right: 9px; color: var(--acid); font: 400 7px var(--mono); }

.atlas-part-card { position: absolute; z-index: 6; left: clamp(24px, 4vw, 68px); bottom: 122px; width: 300px; padding: 16px 18px 18px; border: 1px solid rgba(255,255,255,.14); border-left: 2px solid #ff9c73; background: rgba(6,14,24,.72); box-shadow: 0 22px 50px rgba(0,0,0,.2); backdrop-filter: blur(16px); transition: opacity .28s ease; }
.atlas-part-card > span { color: var(--acid); font: 400 7px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.atlas-part-card h2 { margin: 8px 0 6px; font-size: 26px; line-height: 1; }
.atlas-part-card p { margin: 0; color: #9dafb7; font-size: 10px; line-height: 1.65; }
.atlas-focus-path { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 3px 9px; margin-top: 13px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.1); }
.atlas-focus-path span { color: #718591; font: 400 7px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.atlas-focus-path strong { overflow: hidden; color: #ffb18e; font: 500 9px var(--sans); text-overflow: ellipsis; white-space: nowrap; }
.atlas-focus-path small { grid-column: 1 / -1; color: #6f838e; font: 400 7px/1.45 var(--mono); letter-spacing: .035em; }

.atlas-guide { position: absolute; z-index: 6; right: clamp(24px, 3vw, 52px); top: 105px; display: flex; gap: 7px; }
.atlas-guide span { display: flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 100px; background: rgba(6,14,24,.56); color: #8fa1ac; font: 400 7px var(--mono); letter-spacing: .05em; text-transform: uppercase; backdrop-filter: blur(12px); }
.atlas-guide b { font: inherit; }
.atlas-guide i { display: inline-block; width: 9px; height: 9px; border: 1px solid #d8e2e2; border-radius: 50%; }
.atlas-guide .move-icon { border-radius: 1px; transform: rotate(45deg); }.atlas-guide .scroll-icon { width: 6px; height: 11px; border-radius: 5px; }

.atlas-levels { position: absolute; z-index: 6; right: clamp(24px, 3vw, 52px); top: 153px; width: 145px; margin: 0; padding: 14px 14px 13px; list-style: none; border: 1px solid rgba(255,255,255,.1); border-radius: 4px; background: rgba(6,14,24,.46); backdrop-filter: blur(13px); }
.atlas-levels::before { content: "Zoom layers"; display: block; margin-bottom: 10px; color: #607582; font: 400 7px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.atlas-levels li { position: relative; display: flex; gap: 8px; align-items: center; padding: 5px 0; color: #71848f; font: 400 7px var(--mono); letter-spacing: .06em; text-transform: uppercase; transition: color .25s, transform .25s; }
.atlas-levels li::after { content: ""; position: absolute; right: 0; width: 4px; height: 4px; border-radius: 50%; background: #526772; transition: .25s; }
.atlas-levels li span { color: #526772; }
.atlas-levels li.active { color: #f2f6f3; transform: translateX(3px); }
.atlas-levels li.active span { color: var(--acid); }
.atlas-levels li.active::after { background: var(--acid); box-shadow: 0 0 10px rgba(215,255,99,.7); transform: scale(1.5); }

.atlas-zoom { position: absolute; z-index: 8; left: 50%; bottom: 24px; width: min(610px, calc(100vw - 48px)); padding: 13px 16px 15px; border: 1px solid rgba(255,255,255,.15); border-radius: 5px; background: rgba(5,13,23,.8); box-shadow: 0 24px 70px rgba(0,0,0,.34); backdrop-filter: blur(20px); transform: translateX(-50%); }
.atlas-scale-copy { display: grid; grid-template-columns: 1fr auto 1fr; margin-bottom: 11px; color: #718591; font: 400 7px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.atlas-scale-copy strong { color: var(--acid); font-weight: 500; }.atlas-scale-copy output { text-align: right; }
.atlas-slider-row { display: grid; grid-template-columns: 28px auto 1fr auto 28px; align-items: center; gap: 11px; }
.atlas-slider-row > span { color: #91a2ad; font: 400 7px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.atlas-zoom-button { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: transparent; color: #f5f7f4; cursor: pointer; font-size: 16px; transition: .2s; }
.atlas-zoom-button:hover { border-color: var(--acid); color: var(--acid); }
#atlas-slider { width: 100%; height: 3px; margin: 0; appearance: none; border-radius: 10px; outline: none; background: linear-gradient(90deg, #295977 0 var(--progress), rgba(255,255,255,.15) var(--progress)); cursor: pointer; }
#atlas-slider::-webkit-slider-thumb { width: 16px; height: 16px; appearance: none; border: 3px solid var(--acid); border-radius: 50%; background: #0c1927; box-shadow: 0 0 0 4px rgba(215,255,99,.12); }
#atlas-slider::-moz-range-thumb { width: 11px; height: 11px; border: 3px solid var(--acid); border-radius: 50%; background: #0c1927; box-shadow: 0 0 0 4px rgba(215,255,99,.12); }

.atlas-reset { position: absolute; z-index: 7; right: clamp(24px, 3vw, 52px); bottom: 31px; padding: 10px 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 100px; background: rgba(5,13,23,.65); color: #a9b8be; cursor: pointer; font: 400 7px var(--mono); letter-spacing: .07em; text-transform: uppercase; backdrop-filter: blur(12px); }
.atlas-reset span { margin-right: 7px; color: var(--acid); }
.atlas-coordinate { position: absolute; z-index: 6; right: clamp(24px, 3vw, 52px); bottom: 83px; display: flex; align-items: center; gap: 10px; color: #607786; font: 400 7px var(--mono); letter-spacing: .08em; }
.atlas-coordinate i { width: 32px; height: 1px; background: #607786; }

@media(max-width: 1050px) {
  .neuron-atlas-page .mobile-nav { background: #07101c; }
  .atlas-guide, .atlas-coordinate, .atlas-levels { display: none; }
  .atlas-reset { bottom: 108px; }
}
@media(max-width: 720px) {
  .atlas-stage { min-height: 620px; }
  .atlas-title { top: 82px; left: 18px; }
  .atlas-title .atlas-back { margin-bottom: 19px; }
  .atlas-title h1 { max-width: 260px; font-size: 48px; }
  .atlas-title > p:last-child { display: none; }
  .atlas-part-card { left: 18px; right: 18px; bottom: 119px; width: auto; max-width: 290px; }
  .atlas-zoom { bottom: 14px; width: calc(100vw - 28px); }
  .atlas-slider-row { gap: 8px; }
  .atlas-reset { right: 16px; bottom: 126px; }
  .atlas-annotation-detail:not(.atlas-annotation-mobile) { display: none; }
  .atlas-label { min-width: 98px; padding: 7px 9px; font-size: 9px; }
}
@media(max-width: 480px) {
  .atlas-title .eyebrow { font-size: 7px; }
  .atlas-part-card { max-width: 235px; padding: 12px 14px; }
  .atlas-part-card p { display: none; }
  .atlas-part-card h2 { font-size: 21px; }
  .atlas-slider-row > span { display: none; }
  .atlas-slider-row { grid-template-columns: 28px 1fr 28px; }
}
@media(prefers-reduced-motion: reduce) { .atlas-annotation, .atlas-label { transition: none; } }
