:root {
  --bg: #050607;
  --bg2: #0b0d10;
  --panel: #12161e;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f2f4f7;
  --muted: #8a93a0;
  --accent: #4a9eff;
  --ems: #3dd68c;
  --warn: #f0c14b;
  --fire: #e04545;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Barlow Condensed", "Manrope", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --wide: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem var(--pad);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(5, 6, 7, 0.35);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.25s ease;
}

.nav.is-scrolled {
  background: rgba(5, 6, 7, 0.88);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand img {
  border-radius: 5px;
}

.links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.links a:hover {
  color: var(--text);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-premium {
  min-width: 8.25rem;
  padding: 0.68rem 1.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
  background: #fff;
  color: #0a0a0a;
  border-color: transparent;
  box-shadow:
    0 0.5px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 30px rgba(0, 0, 0, 0.32);
}

.btn-premium:hover {
  background: #f7f8fa;
  box-shadow:
    0 0.5px 0 rgba(255, 255, 255, 1) inset,
    0 14px 34px rgba(0, 0, 0, 0.4);
}

.btn-ghost {
  min-width: 8.25rem;
  padding: 0.68rem 1.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* -- HERO -- */
.hero-scroll {
  position: relative;
  height: 280vh;
}

.hero {
  --hero-p: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0a0e14;
  overflow: hidden;
  transform: scale(calc(1 + var(--hero-p) * 0.06));
  transform-origin: center center;
}

.hero-video {
  position: absolute;
  left: -2%;
  top: -2%;
  width: 104%;
  height: 104%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 7, 0.4) 0%, rgba(5, 6, 7, 0.1) 28%, rgba(5, 6, 7, 0.28) 52%, rgba(5, 6, 7, 0.72) 74%, #050607 100%),
    radial-gradient(ellipse 70% 42% at 50% 90%, rgba(5, 6, 7, 0.7), transparent 70%);
}

.hero-dim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: #050607;
  opacity: calc(var(--hero-p) * 0.92);
  transition: opacity 0.05s linear;
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(7rem, 18vh, 12rem);
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 6, 7, 0.55) 45%, #050607 100%);
  opacity: calc(1 + var(--hero-p) * 0.35);
  transform: scaleY(calc(1 + var(--hero-p) * 1.4));
  transform-origin: bottom center;
}

.hero-bottom {
  position: relative;
  z-index: 3;
  width: min(100%, 34rem);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(3.5rem, 10vh, 5.5rem);
  text-align: center;
  animation: hero-rise 0.9s ease-out both;
  pointer-events: none;
}

.hero-bottom-motion {
  opacity: calc(1 - (var(--hero-p) * 1.35));
  transform: translate3d(0, calc(var(--hero-p) * -2.75rem), 0) scale(calc(1 - var(--hero-p) * 0.05));
  filter: blur(calc(var(--hero-p) * 5px));
  will-change: opacity, transform, filter;
}

.hero-bottom a {
  pointer-events: auto;
}

.hero[data-hero-p="done"] .hero-bottom a {
  pointer-events: none;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
  margin: 0 0 0.55rem;
}

.hero-note {
  margin: 0 auto 1.35rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.65);
}

.hero-actions {
  justify-content: center;
  gap: 0.65rem;
}

/* -- FEATURES -- */
.features {
  position: relative;
  padding: 0 0 1rem;
  background: var(--bg);
}

.feature {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 5.5rem) var(--pad);
}

.feature-lead {
  padding-top: clamp(1.5rem, 5vh, 3rem);
  padding-bottom: clamp(4rem, 10vh, 6.5rem);
}

.feature + .feature {
  border-top: 1px solid var(--line);
}

.feature-intro {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.feature h2,
.cta h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.feature-lede {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 32rem;
  line-height: 1.55;
}

.detail-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.detail-list li {
  position: relative;
  padding-left: 1.1rem;
  color: rgba(242, 244, 247, 0.86);
  font-size: 0.95rem;
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Multiplayer */
.mode-stack {
  display: grid;
  gap: clamp(2.75rem, 7vh, 4.5rem);
}

.mode-block {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.mode-block.reverse .mode-visual {
  order: 2;
}

.mode-block.reverse .mode-detail {
  order: 1;
}

.mode-detail h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.mode-detail > p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

/* Split features */
.feature-split {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.feature-split.reverse .feature-copy {
  order: 2;
}

.feature-split.reverse .feature-visual {
  order: 1;
}

.feature-visual {
  min-width: 0;
}

.media-frame {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  line-height: 0;
}

.media-frame img,
.media-frame video {
  display: block;
  width: 100%;
  height: auto;
}

/* UI elements */
.ui-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(10, 14, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242, 244, 247, 0.9);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.ui-chip .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(74, 158, 255, 0.55);
  animation: ping 1.8s ease-out infinite;
}

.ui-chip .pulse.amber {
  background: var(--warn);
  box-shadow: 0 0 0 0 rgba(240, 193, 75, 0.55);
}

.float-a {
  left: 1rem;
  bottom: 1rem;
  animation: floaty 5s ease-in-out infinite;
}

.float-b {
  right: 1rem;
  bottom: 1rem;
  animation: floaty 5.5s ease-in-out infinite 0.4s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 158, 255, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(74, 158, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 158, 255, 0);
  }
}

.ui-panel {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 16, 22, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.desk-mini {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: min(280px, calc(100% - 2rem));
  animation: floaty 6s ease-in-out infinite;
}

.media-frame-voice {
  border-color: rgba(255, 255, 255, 0.06);
  isolation: isolate;
}

.media-frame-voice img,
.media-frame-voice .desk-loop {
  display: block;
  width: 100%;
  height: auto;
  background: #050607;
}

.desk-loop {
  transform-origin: center center;
}

.ui-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ui-clock {
  margin-left: auto;
}

.status-open {
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(61, 214, 140, 0.15);
  color: var(--ems);
}

.nature {
  padding: 0.7rem 0.75rem 0.35rem;
  font-weight: 700;
  font-size: 0.86rem;
}

.mini-fields {
  margin: 0;
  padding: 0.2rem 0.75rem 0.8rem;
  display: grid;
  gap: 0.3rem;
}

.mini-fields div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.35rem;
  font-size: 0.8rem;
}

.mini-fields dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 0.15rem;
}

.mini-fields dd {
  margin: 0;
}

.map-legend-bar {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.75rem;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  background: rgba(12, 16, 22, 0.88);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  backdrop-filter: blur(8px);
}

.map-legend-bar span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.map-legend-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.lg-police {
  background: var(--accent);
}

.lg-fire {
  background: var(--fire);
  border-radius: 1px !important;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.lg-ems {
  background: #f08c3a;
}

/* CTA */
.cta {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 5rem) var(--pad);
  text-align: center;
}

.cta p {
  color: var(--muted);
  margin: 0.65rem 0 1.4rem;
}

.cta .actions {
  justify-content: center;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.25rem var(--pad) 2rem;
  color: var(--muted);
  font-size: 0.84rem;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.15rem;
  padding-left: 0.7rem;
  border-left: 1px solid var(--line);
}

.footer-legal a {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(138, 147, 160, 0.72);
  line-height: 1;
  padding: 0.2rem 0;
}

.footer-legal a:hover,
.footer-legal a[aria-current="page"] {
  color: var(--text);
}

.footer a:hover {
  color: var(--text);
}

.legal-meta {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.legal-pending {
  margin: 0.85rem 0;
  padding: 0.85rem 1rem;
  border: 1px dashed rgba(74, 158, 255, 0.35);
  border-radius: 8px;
  background: rgba(74, 158, 255, 0.06);
}

.legal-pending p,
.legal-pending ul {
  margin-bottom: 0.45rem;
  color: rgba(242, 244, 247, 0.8);
  font-size: 0.88rem;
}

.legal-pending ul:last-child,
.legal-pending p:last-child {
  margin-bottom: 0;
}

.docs-nav a[aria-current="page"] {
  color: var(--text);
}

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  filter: blur(2px);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.reveal-from-left {
  transform: translate3d(-2.75rem, 28px, 0);
}

.reveal-from-right {
  transform: translate3d(2.75rem, 28px, 0);
}

.reveal-from-left.is-in,
.reveal-from-right.is-in {
  transform: translate3d(0, 0, 0);
}

.reveal-media {
  transition-duration: 1s;
}

.reveal-media .media-frame,
.reveal-media.media-frame {
  transform: scale(0.94) translateY(12px);
  transition: transform 1.05s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 1.05s ease;
  transform-origin: center center;
}

.reveal-media.is-in .media-frame,
.mode-block.is-in .reveal-media .media-frame {
  transform: scale(1) translateY(0);
}

.reveal-delay {
  transition-delay: 0.16s;
}

.reveal-stagger > *:not(.reveal-list) {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.is-in > *:not(.reveal-list) {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-in > *:nth-child(1) {
  transition-delay: 0.04s;
}

.reveal-stagger.is-in > *:nth-child(2) {
  transition-delay: 0.14s;
}

.reveal-stagger.is-in > *:nth-child(3) {
  transition-delay: 0.24s;
}

.reveal-stagger.is-in > *:nth-child(4) {
  transition-delay: 0.34s;
}

.reveal-list > li {
  opacity: 0;
  transform: translateX(-0.65rem);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in .reveal-list > li,
.mode-block.is-in .reveal-list > li {
  opacity: 1;
  transform: translateX(0);
}

.reveal.is-in .reveal-list > li:nth-child(1),
.mode-block.is-in .reveal-list > li:nth-child(1) {
  transition-delay: 0.28s;
}

.reveal.is-in .reveal-list > li:nth-child(2),
.mode-block.is-in .reveal-list > li:nth-child(2) {
  transition-delay: 0.38s;
}

.reveal.is-in .reveal-list > li:nth-child(3),
.mode-block.is-in .reveal-list > li:nth-child(3) {
  transition-delay: 0.48s;
}

.reveal.is-in .reveal-list > li:nth-child(4),
.mode-block.is-in .reveal-list > li:nth-child(4) {
  transition-delay: 0.58s;
}

.feature-visual.reveal {
  transition-duration: 1s;
}

.feature-lead .feature-visual.reveal.is-in .media-frame,
.feature-visual.reveal.is-in .media-frame {
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

[data-parallax] {
  --para: 0;
  will-change: transform;
}

[data-parallax] img,
[data-parallax] video {
  /* Keep full frame visible - no scale/shift that would crop baked-in text */
  transform: none;
}

.mode-block.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.feature[data-feature] {
  --feature-p: 0;
}

@media (max-width: 900px) {
  .links a:not(.btn) {
    display: none;
  }

  .mode-block,
  .feature-split {
    grid-template-columns: 1fr;
  }

  .mode-block.reverse .mode-visual,
  .mode-block.reverse .mode-detail,
  .feature-split.reverse .feature-copy,
  .feature-split.reverse .feature-visual {
    order: initial;
  }

  .reveal-from-left {
    transform: translate3d(-1.25rem, 24px, 0);
  }

  .reveal-from-right {
    transform: translate3d(1.25rem, 24px, 0);
  }

}

/* -- DOCS -- */
.page-docs {
  background:
    linear-gradient(180deg, #0a0d11 0%, var(--bg) 28%),
    var(--bg);
}

.page-docs .nav {
  background: rgba(5, 6, 7, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.docs-shell {
  display: grid;
  grid-template-columns: 15.5rem minmax(0, 42rem);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  max-width: 64rem;
  margin: 0 auto;
  padding: calc(4.25rem + 1.25rem) var(--pad) 2.5rem;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 5rem;
  padding: 0.25rem 0 1rem;
}

.docs-sidebar-title {
  margin: 0 0 0.85rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.docs-nav {
  display: grid;
  gap: 0.15rem;
  border-left: 1px solid var(--line);
  padding-left: 0.85rem;
}

.docs-nav a {
  display: block;
  padding: 0.28rem 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.docs-nav a:hover {
  color: var(--text);
}

.docs-nav-sub {
  padding-left: 0.75rem !important;
  font-size: 0.82rem !important;
}

.docs-main {
  min-width: 0;
  padding-bottom: 1rem;
}

.docs-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.docs-breadcrumb a:hover {
  color: var(--text);
}

.docs-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.docs-header h1 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.docs-header p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 38rem;
}

.docs-section {
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 5.5rem;
}

.docs-section:last-of-type {
  border-bottom: 0;
}

.docs-section h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.7rem;
  line-height: 1.25;
}

.docs-section h3 {
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin: 1.35rem 0 0.55rem;
  scroll-margin-top: 5.5rem;
}

.docs-section p {
  color: rgba(242, 244, 247, 0.88);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.8rem;
}

.docs-section p:last-child {
  margin-bottom: 0;
}

.docs-section strong {
  color: #fff;
  font-weight: 600;
}

.docs-section ul,
.docs-section ol {
  margin: 0.2rem 0 0.9rem;
  padding: 0 0 0 1.15rem;
  display: grid;
  gap: 0.4rem;
  color: rgba(242, 244, 247, 0.86);
  font-size: 0.92rem;
  line-height: 1.5;
}

.docs-section li::marker {
  color: var(--accent);
}

.docs-dl {
  display: grid;
  gap: 0;
  margin: 1rem 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.docs-dl > div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.docs-dl > div:first-child {
  border-top: 0;
}

.docs-dl dt {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-self: center;
}

.docs-dl dd {
  margin: 0;
  color: rgba(242, 244, 247, 0.9);
  line-height: 1.45;
}

.docs-table-wrap {
  margin-top: 0.85rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 28rem;
}

.docs-table th,
.docs-table td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-top: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.45;
}

.docs-table thead th {
  border-top: 0;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.docs-table tbody th {
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.docs-table tbody td {
  color: rgba(242, 244, 247, 0.88);
}

.docs-link {
  color: var(--accent);
  font-weight: 600;
  word-break: break-all;
}

.docs-link:hover {
  text-decoration: underline;
}

.docs-updated {
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.links a[aria-current="page"] {
  color: var(--text);
}

@media (max-width: 900px) {
  .docs-shell {
    grid-template-columns: 1fr;
    padding-top: calc(4.25rem + 0.75rem);
  }

  .docs-sidebar {
    position: static;
    top: auto;
    padding: 0 0 0.5rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 0.5rem;
  }

  .docs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 0.85rem;
    border-left: 0;
    padding-left: 0;
  }

  .docs-nav-sub {
    padding-left: 0 !important;
  }

  .docs-dl > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

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

  .hero-scroll {
    height: auto;
  }

  .hero {
    position: relative;
    --hero-p: 0 !important;
  }

  .hero-bg,
  .hero-fade {
    transform: none !important;
  }

  .hero-dim {
    opacity: 0 !important;
  }

  .reveal,
  .reveal-stagger > *:not(.reveal-list),
  .reveal-list > li,
  .reveal-media .media-frame,
  .reveal-media.media-frame {
    opacity: 1;
    transform: none !important;
    filter: none;
    transition: none;
  }

  [data-parallax] img,
  [data-parallax] video {
    transform: none !important;
  }

  .hero-bottom,
  .float-a,
  .float-b,
  .ui-chip .pulse {
    animation: none !important;
  }

  .hero-bottom,
  .hero-bottom-motion {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    pointer-events: auto;
  }
}
