.category-body {
  background: #071116;
}

.category-nav .nav {
  gap: 18px;
}

.category-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding: 142px clamp(20px, 5vw, 72px) 76px;
}

.category-hero .hero-media,
.category-hero .hero-shade {
  position: absolute;
  inset: 0;
}

.category-hero .hero-media {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.category-hero .hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 17, 22, 0.97), rgba(7, 17, 22, 0.75) 48%, rgba(7, 17, 22, 0.28)),
    linear-gradient(180deg, rgba(7, 17, 22, 0.18), #071116 100%);
}

.category-hero::after {
  content: attr(data-watermark);
  position: absolute;
  right: clamp(20px, 6vw, 90px);
  bottom: 44px;
  z-index: -1;
  color: rgba(255, 255, 255, 0.06);
  font-size: clamp(94px, 18vw, 260px);
  font-weight: 900;
  line-height: 0.8;
}

.category-hero-content {
  width: min(820px, 100%);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a:hover {
  color: var(--cyan);
}

.category-hero h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 76px);
}

.category-body[data-category="video"] .category-hero h1 {
  max-width: 940px;
  font-size: 68px;
}

.category-hero .hero-lead {
  max-width: 740px;
}

.category-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0a171d;
}

.category-stat {
  min-height: 118px;
  padding: 28px clamp(20px, 4vw, 52px);
  border-right: 1px solid var(--line);
}

.category-stat:last-child {
  border-right: 0;
}

.category-stat strong,
.category-stat span {
  display: block;
}

.category-stat strong {
  color: var(--cyan);
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.2;
}

.category-stat span {
  color: var(--muted);
  font-size: 14px;
}

.category-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: clamp(28px, 6vw, 84px);
  background: var(--paper);
  color: var(--paper-text);
}

.category-intro-copy p:not(.eyebrow) {
  max-width: 820px;
  color: #4b626b;
  font-size: 18px;
}

.release-card {
  align-self: stretch;
  padding: 28px;
  border-radius: 8px;
  background: #0d1b22;
  color: var(--text);
  box-shadow: var(--shadow);
}

.release-card strong,
.release-card span,
.release-card code {
  display: block;
}

.release-card strong {
  margin-bottom: 8px;
  font-size: 20px;
}

.release-card span {
  margin-bottom: 24px;
  color: var(--amber);
  font-size: 14px;
}

.release-card span.online {
  color: var(--cyan);
}

.release-card code {
  margin-bottom: 20px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  word-break: break-all;
}

.scope-section {
  background: #eaf0f1;
  color: var(--paper-text);
}

.scope-section .centered,
.feature-section .centered {
  max-width: 850px;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1260px;
  margin: 0 auto;
}

.scope-card {
  padding: 26px;
  border: 1px solid rgba(7, 17, 22, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(13, 27, 34, 0.07);
}

.scope-card h3 {
  margin-bottom: 18px;
}

.scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scope-tags span {
  padding: 8px 10px;
  border: 1px solid rgba(11, 141, 163, 0.18);
  border-radius: 6px;
  background: rgba(24, 215, 239, 0.07);
  color: #294650;
  font-size: 13px;
}

.feature-section {
  background: #071116;
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 42px;
  max-width: 1180px;
  margin: 0 auto;
}

.feature-list,
.scenario-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feature-list li {
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.feature-list li span {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.scenario-panel {
  padding: 26px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(240, 184, 80, 0.14), rgba(255, 255, 255, 0.05));
  border: 1px solid var(--line);
}

.scenario-list {
  display: grid;
  gap: 10px;
}

.scenario-list li {
  position: relative;
  padding: 10px 0 10px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(236, 247, 250, 0.84);
}

.scenario-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #f8fbfb;
  color: var(--paper-text);
}

.download-band p {
  max-width: 720px;
  color: #50646d;
}

.btn.disabled,
.btn[aria-disabled="true"] {
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.missing-page {
  min-height: 100vh;
  display: grid;
  place-content: center;
  padding: 24px;
  text-align: center;
}

@media (max-width: 900px) {
  .category-nav .nav {
    gap: 0;
  }

  .category-metrics,
  .category-intro,
  .scope-grid,
  .feature-layout {
    grid-template-columns: 1fr;
  }

  .category-stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .category-stat:last-child {
    border-bottom: 0;
  }

  .download-band {
    display: grid;
  }
}

@media (max-width: 560px) {
  .category-hero {
    min-height: 78vh;
    padding: 112px 18px 56px;
  }

  .category-hero h1 {
    font-size: 34px;
  }

  .category-body[data-category="video"] .category-hero h1 {
    font-size: 34px;
  }

  .category-hero::after {
    right: 12px;
    bottom: 24px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}
