html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
.masthead nav {
  display: flex;
  align-items: center;
  gap: 30px;
  letter-spacing: 0;
  font-size: 12px;
}
.masthead nav a {
  color: #aab39f;
}
.masthead nav .nav-cta {
  color: var(--text);
  border: 1px solid var(--line);
  padding: 13px 17px;
  border-radius: 4px;
}
.nav-cta span {
  color: var(--green);
  margin-left: 18px;
}
.wordmark {
  gap: 10px;
  letter-spacing: 2px;
}
.landing-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 62px 0 48px;
  align-items: center;
}
.landing-hero h1 {
  font-size: clamp(58px, 6.2vw, 88px);
  line-height: 0.99;
  letter-spacing: -3.9px;
}
.landing-hero h1 em {
  letter-spacing: -3px;
}
.landing-hero .eyebrow {
  font-size: 8px;
  letter-spacing: 1.6px;
  margin-bottom: 27px;
}
.landing-hero .lede {
  position: static;
  max-width: 350px;
  margin-top: 27px;
  font-size: 14px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 31px;
}
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 23px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 3px;
  background: var(--green);
  color: #1c2811;
  font-size: 12px;
  font-weight: 600;
}
.primary-button:hover {
  background: #d5f49d;
}
.quiet-link {
  color: #b5bea8;
  font-size: 10px;
}
.quiet-link span {
  margin-left: 8px;
}
.hero-footnote {
  font: 7px monospace;
  letter-spacing: 1px;
  color: #75836a;
  margin: 25px 0 0;
}
.hero-footnote span {
  padding: 0 8px;
}
.hero-figure {
  margin: 0;
  min-width: 0;
  position: relative;
}
.hero-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #8e9e7f;
  font: 7px monospace;
  letter-spacing: 0.5px;
  margin-top: 0;
}
.hero-figure figcaption > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.data-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.3fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
  gap: 25px;
}
.data-strip > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.data-strip strong {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -1.3px;
  color: #dfe7d2;
}
.data-strip span {
  font: 8px monospace;
  line-height: 1.7;
  letter-spacing: 1px;
  max-width: 100px;
  color: #849276;
}
.data-strip p {
  margin: 0;
  font-size: 11px;
  line-height: 1.8;
  color: #929e86;
  justify-self: end;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin: 62px 0 25px;
}
.section-heading .eyebrow {
  font-size: 8px;
  letter-spacing: 1.4px;
  margin: 0 0 14px;
}
.section-heading h2 {
  font-size: 32px;
  letter-spacing: -1px;
  margin: 0;
}
.section-heading > p {
  margin: 0;
  font-size: 12px;
  line-height: 1.75;
  color: #89977d;
}
.view-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 19px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.view-switch {
  display: flex;
  gap: 4px;
}
.view-switch button {
  min-height: 42px;
  background: transparent;
  color: #94a387;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  padding: 0 17px;
}
.view-switch button[aria-pressed='true'] {
  background: #28321f;
  border-color: #465539;
  color: #d9edc1;
}
.view-bar-note {
  font: 7px monospace;
  letter-spacing: 1px;
  color: #75836a;
}
.lab-body {
  grid-template-columns: minmax(0, 1fr) 330px;
}
.visualization {
  min-height: 590px;
}
.is-3d {
  background: radial-gradient(ellipse at 50% 43%, #202a19 0%, #121711 70%);
}
#scene3d {
  touch-action: none;
  cursor: grab;
  outline-offset: -5px;
}
#scene3d:active {
  cursor: grabbing;
}
.is-3d .canvas-center {
  top: auto;
  bottom: 53px;
  left: 23px;
  transform: none;
  text-align: left;
  min-width: 0;
  max-width: 170px;
}
.is-3d .center-label {
  font-size: 6px;
  letter-spacing: 1px;
}
.is-3d #heading {
  font-size: 29px;
  margin: 3px 0;
  letter-spacing: -1px;
}
.is-3d #heading small {
  font-size: 15px;
  margin-top: 3px;
}
.is-3d .center-foot {
  font-size: 8px;
}
.orbit-tools {
  position: absolute;
  right: 20px;
  bottom: 59px;
  display: flex;
  gap: 6px;
}
.orbit-tools button {
  width: 42px;
  height: 42px;
  border: 1px solid #3b4931;
  background: #172011e6;
  border-radius: 5px;
  color: #c6d9b1;
  font-size: 20px;
  display: grid;
  place-items: center;
}
.orbit-tools button:hover {
  background: #303e23;
}
.orbit-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 108px;
  text-align: center;
  color: #768c63;
  font-size: 9px;
  pointer-events: none;
}
.orbit-hint span {
  padding: 0 7px;
  color: #57674c;
}
.anatomy-filter {
  position: absolute;
  top: 52px;
  left: 23px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.anatomy-filter label {
  font-size: 9px;
  color: #8b9c7c;
}
.anatomy-filter select {
  background: #172012;
  color: #c3d7ab;
  border: 1px solid #3b4931;
  min-height: 38px;
  border-radius: 4px;
  font-size: 10px;
  padding: 0 9px;
  max-width: 180px;
}
.anatomy-status {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 40%;
  background: #151f10ed;
  border: 1px solid #3e4e32;
  border-radius: 5px;
  padding: 20px;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
  color: #c5dbae;
}
.anatomy-status button {
  display: block;
  min-height: 44px;
  margin: 12px auto 0;
  background: #c4e884;
  color: #1b2712;
  border: 0;
  border-radius: 3px;
  padding: 0 20px;
}
.neuron-inspector {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 101px;
  pointer-events: none;
  font: 9px monospace;
  line-height: 1.7;
  color: #cadab9;
}
.neuron-inspector strong {
  color: var(--green);
}
.neuron-inspector span {
  color: #829575;
  font-size: 8px;
}
.controls {
  padding-top: 30px;
}
.control-section .center-button {
  min-height: 36px;
}
.secondary-actions button {
  min-height: 38px;
}
.legend {
  font-size: 9px;
  gap: 16px;
}
.how-it-works {
  margin-top: 60px;
}
.how-it-works .section-heading {
  margin-top: 0;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}
.guide-grid article {
  padding: 29px;
  border-right: 1px solid var(--line);
  background: #141813;
}
.guide-grid article:last-child {
  border: 0;
}
.guide-index {
  font: 8px monospace;
  letter-spacing: 1px;
  color: #76886a;
}
.guide-symbol {
  font-size: 30px;
  color: #b6d58a;
  margin: 22px 0 17px;
}
.guide-grid h3 {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.3px;
  margin: 0 0 12px;
}
.guide-grid p {
  font-size: 12px;
  line-height: 1.85;
  color: #8e9b82;
  margin: 0;
}
.understory {
  margin-top: 30px;
  margin-bottom: 40px;
}
.understory details {
  scroll-margin-top: 30px;
}
.notes-content p {
  font-size: 12px;
}
.page-footer {
  margin-top: 40px;
}
.noscript {
  position: relative;
}
.primary-button:focus-visible,
.view-switch button:focus-visible,
.orbit-tools button:focus-visible {
  outline: 2px solid #e7fccd;
  outline-offset: 3px;
}
@media (max-width: 1050px) {
  .landing-hero {
    gap: 10px;
  }
  .landing-hero h1 {
    font-size: 66px;
  }
  .hero-actions {
    gap: 15px;
    flex-wrap: wrap;
  }
  .hero-figure figcaption {
    font-size: 6px;
  }
  .data-strip {
    gap: 16px;
  }
  .data-strip > div {
    gap: 10px;
  }
  .data-strip strong {
    font-size: 29px;
  }
  .data-strip span {
    font-size: 7px;
  }
  .lab-body {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .view-bar-note {
    display: none;
  }
  .figure-label {
    font-size: 7px;
  }
  .is-3d .canvas-center {
    left: 18px;
  }
  .orbit-tools {
    right: 16px;
  }
  .legend .activity-key {
    display: none;
  }
  .guide-grid article {
    padding: 22px;
  }
  .masthead nav {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 15px;
  }
  .masthead {
    height: 76px;
  }
  .wordmark {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .wordmark img {
    width: 28px;
    height: 28px;
  }
  .masthead nav > a:not(.nav-cta) {
    display: none;
  }
  .masthead nav .nav-cta {
    padding: 12px 11px;
    font-size: 10px;
  }
  .nav-cta span {
    margin-left: 8px;
  }
  .landing-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 39px 0 28px;
    gap: 8px;
  }
  .landing-hero .eyebrow {
    font-size: 7px;
    letter-spacing: 0.95px;
    margin-bottom: 22px;
  }
  .landing-hero h1 {
    font-size: 65px;
    letter-spacing: -3.5px;
  }
  .landing-hero .lede {
    font-size: 13px;
    max-width: 310px;
    margin-top: 23px;
  }
  .hero-actions {
    margin-top: 25px;
    gap: 21px;
  }
  .primary-button {
    padding: 0 17px;
    min-height: 48px;
    font-size: 11px;
    gap: 20px;
  }
  .quiet-link {
    font-size: 10px;
  }
  .hero-footnote {
    font-size: 6px;
    letter-spacing: 0.65px;
    margin-top: 21px;
  }
  .hero-footnote span {
    padding: 0 5px;
  }
  .hero-figure {
    max-width: 450px;
    width: 100%;
    align-self: center;
    margin-top: -1px;
  }
  .hero-figure img {
    max-height: 305px;
  }
  .hero-figure figcaption {
    font-size: 6px;
    gap: 6px;
  }
  .hero-figure figcaption > span:first-child {
    gap: 5px;
  }
  .data-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 22px 0;
  }
  .data-strip > div {
    display: block;
  }
  .data-strip strong {
    display: block;
    font-size: 29px;
    margin-bottom: 8px;
  }
  .data-strip span {
    display: block;
    font-size: 7px;
    max-width: 90px;
    letter-spacing: 0.8px;
  }
  .data-strip p {
    display: none;
  }
  .section-heading {
    display: block;
    margin: 39px 0 21px;
  }
  .section-heading h2 {
    font-size: 28px;
  }
  .section-heading > p {
    font-size: 11px;
    margin-top: 14px;
  }
  .section-heading .eyebrow {
    font-size: 7px;
    margin-bottom: 12px;
  }
  .view-bar {
    padding: 10px;
  }
  .view-switch {
    width: 100%;
    gap: 3px;
  }
  .view-switch button {
    flex: 1;
    padding: 0 5px;
    font-size: 11px;
    min-height: 44px;
  }
  .lab-body {
    grid-template-columns: 1fr;
  }
  .visualization {
    min-height: 470px;
  }
  .figure-label {
    left: 15px;
    right: 15px;
    top: 19px;
    font-size: 6px;
    letter-spacing: 0.5px;
  }
  .figure-label span:last-child {
    font-size: 6px;
  }
  .is-3d .canvas-center {
    left: 15px;
    bottom: 54px;
  }
  .is-3d .center-label {
    font-size: 5.5px;
    letter-spacing: 0.6px;
  }
  .is-3d #heading {
    font-size: 27px;
  }
  .is-3d .center-foot {
    font-size: 7px;
  }
  .orbit-tools {
    right: 13px;
    bottom: 54px;
    gap: 5px;
  }
  .orbit-tools button {
    width: 44px;
    height: 44px;
  }
  .orbit-hint {
    font-size: 8px;
    bottom: 113px;
  }
  .orbit-hint span {
    padding: 0 4px;
  }
  .legend {
    left: 13px;
    right: 13px;
    bottom: 19px;
    gap: 19px;
    justify-content: center;
    font-size: 8px;
  }
  .legend .activity-key {
    display: none;
  }
  .anatomy-filter {
    left: 15px;
    top: 43px;
    gap: 8px;
  }
  .anatomy-filter select {
    min-height: 44px;
    font-size: 11px;
    max-width: 200px;
  }
  .anatomy-filter label {
    font-size: 8px;
  }
  .neuron-inspector {
    left: 15px;
    right: 15px;
    top: 93px;
    font-size: 8px;
  }
  .anatomy-status {
    font-size: 11px;
    left: 14px;
    right: 14px;
  }
  .controls {
    padding: 25px 22px;
  }
  .control-section .center-button {
    min-height: 44px;
  }
  .secondary-actions button {
    min-height: 44px;
  }
  .text-button {
    min-height: 38px;
  }
  input[type='range'] {
    height: 32px;
  }
  .range-labels {
    margin-top: 3px;
  }
  .lab-footer p {
    font-size: 9px;
  }
  .lab-footer > span {
    font-size: 7px;
  }
  .how-it-works {
    margin-top: 40px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-grid article {
    padding: 25px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 35px 1fr;
    column-gap: 16px;
  }
  .guide-index {
    grid-column: 1/-1;
    font-size: 8px;
    margin-bottom: 23px;
  }
  .guide-symbol {
    grid-column: 1;
    grid-row: 2/4;
    margin: 0;
    font-size: 28px;
  }
  .guide-grid h3 {
    grid-column: 2;
    font-size: 17px;
    margin: 0 0 10px;
  }
  .guide-grid p {
    grid-column: 2;
    font-size: 12px;
  }
  .understory > p {
    font-size: 11px;
    line-height: 1.6;
  }
  .understory summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
  }
  .notes-content p {
    font-size: 12px;
  }
  .page-footer {
    font-size: 6px;
    letter-spacing: 0.5px;
    gap: 20px;
    line-height: 1.6;
  }
}
@media (max-width: 360px) {
  .wordmark {
    font-size: 9px;
  }
  .masthead nav .nav-cta {
    font-size: 9px;
  }
  .landing-hero h1 {
    font-size: 59px;
  }
  .hero-actions {
    gap: 15px;
  }
  .quiet-link {
    font-size: 9px;
  }
  .visualization {
    min-height: 435px;
  }
  .orbit-hint {
    font-size: 7px;
  }
  .hero-figure figcaption {
    font-size: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
