@font-face {
  font-family: "Armagetron";
  src: url("../assets/textures/Armagetronad.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #050505;
  --bg-deep: #020202;
  --surface: #0c0c0e;
  --surface-2: #121216;
  --surface-3: #19191e;
  --line: #2c2c32;
  --line-strong: #46464f;
  --white: #f7f6f1;
  --muted: #a5a5a8;
  --muted-2: #727278;
  --red: #ed1b24;
  --red-dark: #a80f17;
  --red-soft: #ff4250;
  --yellow: #ffcf18;
  --yellow-hot: #ffe35a;
  --green: #4cde82;
  --blue: #4bc9f1;
  --max: 1320px;
  --header-height: 74px;
  --mono: "IBM Plex Mono", "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
  font-synthesis: none;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scrollbar-color: var(--red) var(--bg);
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(237, 27, 36, 0.09), transparent 27rem),
    var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  content: "";
  pointer-events: none;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

::selection {
  background: var(--yellow);
  color: #050505;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  border: 2px solid var(--bg);
  background: var(--red);
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

svg {
  overflow: visible;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.08;
}

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  transform: translateY(-160%);
  background: var(--yellow);
  color: #050505;
  font-weight: 800;
  text-decoration: none;
  transition: transform 100ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.site-noise {
  position: fixed;
  z-index: 100;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  pointer-events: none;
}

.route-progress {
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  box-shadow: 0 0 12px var(--yellow);
  opacity: 0;
  transition: width 180ms ease, opacity 120ms ease;
}

.route-progress.is-loading {
  width: 74%;
  opacity: 1;
}

.route-progress.is-complete {
  width: 100%;
  opacity: 0;
}

.announcement {
  min-height: 32px;
  border-bottom: 1px solid #321014;
  background: #140507;
  color: #d7d3d1;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.announcement__inner {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.announcement__inner > span:first-child {
  color: var(--white);
}

.announcement a {
  color: var(--yellow);
  text-decoration: none;
}

.announcement a:hover {
  text-decoration: underline;
}

.status-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(237, 27, 36, 0.18);
  vertical-align: 1px;
}

.site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 5, 5, 0.93);
  backdrop-filter: blur(14px);
  transition: box-shadow 150ms ease, background 150ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.98);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.site-header__inner {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 30px;
}

.brand {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  color: var(--white);
  text-decoration: none;
}

.brand img {
  grid-row: 1 / 3;
  image-rendering: crisp-edges;
}

.brand__word {
  align-self: end;
  font-family: "Armagetron", var(--mono);
  font-size: 20px;
  line-height: 0.95;
  letter-spacing: 0.12em;
}

.brand__tag {
  align-self: start;
  margin-top: 3px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
}

.primary-nav {
  display: flex;
  height: 100%;
  align-items: stretch;
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 15px;
  color: #b5b5b8;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 100ms ease, background 100ms ease;
}

.primary-nav a::after {
  position: absolute;
  right: 14px;
  bottom: -1px;
  left: 14px;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--yellow);
  content: "";
  transition: transform 120ms ease;
}

.primary-nav a:hover {
  background: rgba(255, 255, 255, 0.035);
  color: var(--white);
}

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

.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.backend-badge {
  display: inline-flex;
  height: 30px;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  padding: 0 9px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.backend-badge i {
  width: 6px;
  height: 6px;
  background: var(--muted-2);
}

.backend-badge.is-live i {
  background: var(--green);
  box-shadow: 0 0 8px rgba(76, 222, 130, 0.8);
}

.backend-badge.is-demo i {
  background: var(--yellow);
}

.button,
.icon-button,
.text-button,
.vote-button,
.sort-button,
.chip {
  cursor: pointer;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 0 20px;
  background: var(--surface-2);
  color: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 #000;
  transition: background 90ms ease, border-color 90ms ease, color 90ms ease, transform 70ms ease, box-shadow 70ms ease;
}

.button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.button:hover {
  border-color: var(--white);
  background: var(--surface-3);
}

.button:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 #000;
}

.button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.7);
  opacity: 0.55;
}

.button--primary {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #080808;
}

.button--primary:hover {
  border-color: var(--yellow-hot);
  background: var(--yellow-hot);
  color: #050505;
}

.button--red {
  border-color: var(--red);
  background: var(--red);
  color: white;
}

.button--red:hover {
  border-color: var(--red-soft);
  background: var(--red-soft);
}

.button--quiet {
  border-color: var(--line);
  background: transparent;
  box-shadow: none;
}

.button--quiet:active {
  transform: translateY(2px);
  box-shadow: none;
}

.button--danger {
  border-color: var(--red);
  background: var(--red);
}

.button--small {
  min-height: 38px;
  padding: 0 13px;
  font-size: 10px;
  box-shadow: none;
}

.button--small:active {
  transform: translateY(2px);
}

.button--wide {
  width: 100%;
}

.button--google {
  width: 100%;
  border-color: var(--line-strong);
  background: var(--white);
  color: #111;
  box-shadow: none;
}

.button--google:hover {
  border-color: var(--white);
  background: #dddcd8;
}

.button--google svg {
  fill: currentColor;
  stroke: none;
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--white);
  transition: border-color 100ms ease, background 100ms ease, transform 70ms ease;
}

.icon-button:hover {
  border-color: var(--yellow);
  background: var(--surface-3);
}

.icon-button:active {
  transform: translateY(2px);
}

.icon-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.nav-toggle {
  position: relative;
  display: none;
  margin-left: auto;
}

.nav-toggle span:not(.sr-only) {
  position: absolute;
  left: 11px;
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  background: currentColor;
  transition: top 100ms ease, transform 100ms ease, opacity 100ms ease;
}

.nav-toggle span:nth-of-type(2) {
  top: 14px;
}

.nav-toggle span:nth-of-type(3) {
  top: 20px;
}

.nav-toggle span:nth-of-type(4) {
  top: 26px;
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(2) {
  top: 20px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(4) {
  top: 20px;
  transform: rotate(-45deg);
}

main {
  min-height: 70vh;
}

.route-skeleton {
  display: none;
  min-height: 65vh;
  padding: 100px 0;
}

.route-skeleton.is-visible {
  display: block;
}

.route-skeleton span {
  display: block;
  height: 28px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.3s infinite linear;
}

.route-skeleton span:nth-child(1) { width: 22%; }
.route-skeleton span:nth-child(2) { width: 68%; height: 72px; }
.route-skeleton span:nth-child(3) { width: 48%; }

@keyframes shimmer {
  to { background-position: -200% 0; }
}

.page {
  animation: page-in 180ms ease-out both;
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.section-heading h2 {
  max-width: 800px;
  margin: 8px 0 0;
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.section-heading p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
}

.section-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--yellow);
  padding: 7px 0;
  color: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.section-link:hover {
  color: var(--yellow);
}

.section-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 100ms ease;
}

.section-link:hover svg {
  transform: translateX(3px);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: clamp(70px, 9vw, 132px) 0 78px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.1), transparent);
  content: "";
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1.15fr);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 740px;
  margin: 18px 0 24px;
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 950;
  line-height: 0.82;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  color: var(--yellow);
}

.hero__lead {
  max-width: 610px;
  margin-bottom: 30px;
  color: #c1c1c4;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__meta span::before {
  width: 5px;
  height: 5px;
  background: var(--red);
  content: "";
}

.hero__visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero__visual::before {
  position: absolute;
  z-index: -1;
  top: -18px;
  right: -18px;
  width: 64%;
  height: 56%;
  border-top: 3px solid var(--red);
  border-right: 3px solid var(--red);
  content: "";
}

.hero__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid #404047;
  background: var(--surface);
  box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.45);
}

.hero__image::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.25), transparent 45%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.45), transparent 50%);
  content: "";
  pointer-events: none;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08);
}

.telemetry {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1px;
  font-family: var(--mono);
  text-transform: uppercase;
}

.telemetry span {
  display: flex;
  min-height: 40px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 5px 10px;
  background: rgba(5, 5, 5, 0.82);
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.telemetry strong {
  color: var(--yellow);
  font-size: 12px;
}

.hero__caption {
  position: absolute;
  z-index: 3;
  right: -12px;
  bottom: -20px;
  display: flex;
  min-width: 210px;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--yellow);
  padding: 13px 15px;
  background: var(--white);
  color: #090909;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__caption i {
  display: block;
  width: 9px;
  height: 9px;
  background: var(--red);
}

.signal-strip {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.signal-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.signal {
  min-height: 112px;
  border-left: 1px solid var(--line);
  padding: 24px 26px;
}

.signal:last-child {
  border-right: 1px solid var(--line);
}

.signal span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.signal strong {
  display: block;
  overflow: hidden;
  color: var(--white);
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signal strong em {
  color: var(--yellow);
  font-style: normal;
}

.feature-section,
.news-section,
.community-section,
.creator-section,
.open-source-section,
.page-section {
  padding: clamp(76px, 9vw, 130px) 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-card {
  position: relative;
  min-height: 295px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px;
  background: rgba(12, 12, 14, 0.72);
  transition: background 120ms ease, transform 120ms ease;
}

.feature-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--red);
  content: "";
  transition: height 160ms ease;
}

.feature-card:hover {
  background: var(--surface-2);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-card__number {
  display: block;
  margin-bottom: 52px;
  color: var(--red-soft);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
}

.feature-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 20px;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.5;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 21px;
  text-transform: uppercase;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.news-section {
  border-block: 1px solid var(--line);
  background: #08080a;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 18px;
}

.article-card {
  position: relative;
  display: flex;
  min-height: 245px;
  flex-direction: column;
  border: 1px solid var(--line);
  padding: 28px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 100ms ease, background 100ms ease, transform 100ms ease;
}

.article-card:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
  transform: translateY(-3px);
}

.article-card--lead {
  min-height: 508px;
  justify-content: end;
  overflow: hidden;
  padding: clamp(28px, 4vw, 52px);
  background:
    linear-gradient(to top, rgba(4, 4, 4, 0.98), rgba(4, 4, 4, 0.1) 80%),
    url("../assets/media/gameplay.webp") center / cover;
}

.article-card--lead::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 70%, rgba(237, 27, 36, 0.3));
  content: "";
}

.article-card__content {
  position: relative;
  z-index: 1;
}

.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-card__tag {
  padding: 4px 7px;
  background: var(--red);
  color: white;
}

.article-card h3 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(25px, 3vw, 44px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.article-card:not(.article-card--lead) h3 {
  font-size: clamp(21px, 2vw, 28px);
}

.article-card p {
  max-width: 660px;
  margin-bottom: 0;
  color: #b4b4b7;
}

.news-stack {
  display: grid;
  gap: 18px;
}

.article-card__arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 28px;
  height: 28px;
  color: var(--yellow);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  transition: transform 100ms ease;
}

.article-card:hover .article-card__arrow {
  transform: translateX(4px);
}

.community-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 24px;
}

.post-list {
  display: grid;
  gap: 8px;
}

.post-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 100ms ease, background 100ms ease, transform 100ms ease;
}

.post-card:hover {
  border-color: var(--line-strong);
  background: #101013;
}

.post-card.is-pinned {
  border-left: 3px solid var(--yellow);
}

.vote-column {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-right: 1px solid var(--line);
  padding: 15px 8px;
  background: rgba(0, 0, 0, 0.18);
}

.vote-button {
  display: grid;
  width: 32px;
  height: 29px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted-2);
  transition: color 80ms ease, background 80ms ease, transform 60ms ease;
}

.vote-button:hover {
  background: var(--surface-3);
  color: var(--white);
}

.vote-button:active {
  transform: translateY(2px);
}

.vote-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.vote-button[data-vote="1"][aria-pressed="true"] {
  color: var(--yellow);
}

.vote-button[data-vote="-1"][aria-pressed="true"] {
  color: var(--red-soft);
}

.vote-score {
  min-width: 44px;
  padding: 2px 0;
  color: var(--white);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.post-card__body {
  min-width: 0;
  padding: 18px 20px 15px;
}

.post-card__meta,
.topic-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
}

.post-card__meta a,
.topic-meta a {
  color: var(--muted);
  text-decoration: none;
}

.post-card__meta a:hover,
.topic-meta a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.post-card__flair,
.flair {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  border: 1px solid #463d18;
  padding: 2px 7px;
  background: rgba(255, 207, 24, 0.07);
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-card__pin {
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
}

.post-card h3 {
  margin: 0 0 8px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.25;
}

.post-card h3 a {
  text-decoration: none;
}

.post-card h3 a:hover {
  color: var(--yellow);
}

.post-card__excerpt {
  display: -webkit-box;
  max-width: 920px;
  margin-bottom: 12px;
  overflow: hidden;
  color: #aaaab0;
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.post-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.post-action {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 0 8px;
  background: transparent;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 80ms ease, color 80ms ease;
}

button.post-action {
  cursor: pointer;
}

.post-action:hover {
  background: var(--surface-3);
  color: var(--white);
}

.post-action.is-saved {
  color: var(--yellow);
}

.post-action svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.post-action.is-saved svg {
  fill: currentColor;
}

.sidebar-card {
  border: 1px solid var(--line);
  background: var(--surface);
}

.sidebar-card + .sidebar-card {
  margin-top: 14px;
}

.sidebar-card__header {
  border-bottom: 1px solid var(--line);
  padding: 14px 17px;
  background: var(--surface-2);
  color: var(--white);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.sidebar-card__header::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--red);
  content: "";
  vertical-align: 1px;
}

.sidebar-card__body {
  padding: 18px;
}

.sidebar-card__body > :last-child {
  margin-bottom: 0;
}

.sidebar-card p {
  color: var(--muted);
  font-size: 13px;
}

.sidebar-card .button {
  width: 100%;
}

.sidebar-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.sidebar-stat {
  padding: 13px;
  background: var(--bg);
}

.sidebar-stat strong {
  display: block;
  color: var(--white);
  font-size: 20px;
}

.sidebar-stat span {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rule-list,
.link-list,
.requirement-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rule-list {
  counter-reset: rule;
}

.rule-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  counter-increment: rule;
}

.rule-list li::before {
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  content: "0" counter(rule);
}

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

.link-list a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.link-list a:hover {
  color: var(--yellow);
}

.link-list svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.creator-section {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(237, 27, 36, 0.06), transparent 35%),
    #08080a;
}

.creator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: clamp(45px, 8vw, 110px);
}

.creator-visual {
  position: relative;
}

.creator-visual::after {
  position: absolute;
  z-index: 2;
  right: -16px;
  bottom: -16px;
  width: 36%;
  height: 38%;
  border-right: 4px solid var(--yellow);
  border-bottom: 4px solid var(--yellow);
  content: "";
  pointer-events: none;
}

.creator-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-strong);
  object-fit: cover;
  box-shadow: 20px 20px 0 #020202;
}

.creator-copy h2 {
  margin: 12px 0 22px;
  font-size: clamp(42px, 5.5vw, 76px);
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.creator-copy h2 span {
  color: var(--yellow);
}

.creator-copy > p {
  max-width: 570px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
}

.creator-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 24px;
  margin-bottom: 32px;
}

.creator-points span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c8c8ca;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.creator-points span::before {
  width: 7px;
  height: 7px;
  background: var(--red);
  content: "";
}

.open-source-section {
  border-top: 1px solid var(--line);
}

.open-source-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  padding: clamp(28px, 4vw, 50px);
  background: var(--surface);
}

.open-source-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 23%;
  height: 5px;
  background: var(--red);
  content: "";
}

.open-source-card > svg {
  width: 54px;
  height: 54px;
  fill: var(--white);
}

.open-source-card h2 {
  margin-bottom: 8px;
  font-size: clamp(26px, 3vw, 40px);
  text-transform: uppercase;
}

.open-source-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: clamp(70px, 9vw, 122px) 0 68px;
  background:
    linear-gradient(90deg, rgba(237, 27, 36, 0.08), transparent 38%),
    #08080a;
}

.page-hero::after {
  position: absolute;
  right: -8vw;
  bottom: -11vw;
  width: 35vw;
  height: 35vw;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transform: rotate(45deg);
  content: "";
}

.page-hero h1 {
  max-width: 930px;
  margin: 15px 0 20px;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 950;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.page-hero h1 span {
  color: var(--yellow);
}

.page-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: #b7b7ba;
  font-size: clamp(17px, 2vw, 21px);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.download-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 20px;
  margin-top: -44px;
}

.release-panel,
.release-aside {
  position: relative;
  z-index: 2;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.32);
}

.release-panel {
  padding: clamp(26px, 4vw, 48px);
}

.release-panel__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.release-kicker {
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.release-panel h2 {
  margin: 9px 0 3px;
  font-size: clamp(32px, 4vw, 50px);
  text-transform: uppercase;
}

.release-panel__date {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.os-recommendation {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #4d4315;
  padding: 7px 9px;
  background: rgba(255, 207, 24, 0.07);
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.release-panel__copy {
  max-width: 690px;
  color: var(--muted);
}

.release-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 26px;
}

.release-aside {
  padding: 28px;
}

.release-aside h3 {
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-aside pre,
.code-block {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--line);
  margin: 0;
  padding: 17px;
  background: #050505;
  color: #d4d4d6;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.release-aside p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.platform-card {
  position: relative;
  display: flex;
  min-height: 290px;
  flex-direction: column;
  border: 1px solid var(--line);
  padding: 28px;
  background: var(--surface);
  transition: border-color 100ms ease, transform 100ms ease, background 100ms ease;
}

.platform-card:hover,
.platform-card.is-recommended {
  border-color: var(--line-strong);
  background: var(--surface-2);
  transform: translateY(-4px);
}

.platform-card.is-recommended::before {
  position: absolute;
  top: -1px;
  right: -1px;
  left: -1px;
  height: 4px;
  background: var(--yellow);
  content: "";
}

.platform-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 34px;
  background: var(--surface-3);
  color: var(--yellow);
}

.platform-card__icon svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.2;
}

.platform-card h3 {
  margin-bottom: 5px;
  font-size: 24px;
  text-transform: uppercase;
}

.platform-card__format {
  display: block;
  margin-bottom: 15px;
  color: var(--red-soft);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-card p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.platform-card .button {
  width: 100%;
  margin-top: auto;
}

.platform-card__pending {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line-strong);
  margin-top: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.requirement-card {
  border: 1px solid var(--line);
  padding: 28px;
  background: var(--surface);
}

.requirement-card h3 {
  margin-bottom: 18px;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.requirement-list li {
  position: relative;
  margin-bottom: 11px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
}

.requirement-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 2px;
  background: var(--red);
  content: "";
}

.editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.editor-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.editor-card__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 8.8;
  border-bottom: 1px solid var(--line);
  background: #071018;
}

.editor-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.8;
  filter: saturate(0.75);
  transition: opacity 180ms ease, transform 250ms ease, filter 180ms ease;
}

.editor-card:hover .editor-card__visual img {
  opacity: 0.95;
  filter: saturate(1);
  transform: scale(1.018);
}

.editor-card__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--surface), transparent 65%);
  content: "";
}

.editor-card__index {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 7px 9px;
  background: rgba(5, 5, 5, 0.8);
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
}

.map-schematic {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(65, 203, 238, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 203, 238, 0.11) 1px, transparent 1px),
    radial-gradient(circle at 32% 46%, transparent 0 46px, rgba(255, 207, 24, 0.7) 48px 51px, transparent 52px),
    #071018;
  background-size: 28px 28px, 28px 28px, auto, auto;
}

.map-schematic::before,
.map-schematic::after {
  position: absolute;
  border: 3px solid;
  content: "";
}

.map-schematic::before {
  inset: 19% 22% 22% 13%;
  border-color: var(--red);
  transform: skew(-12deg);
}

.map-schematic::after {
  inset: 31% 15% 14% 32%;
  border-color: #24badf;
  transform: skew(13deg);
}

.editor-card__body {
  padding: clamp(26px, 4vw, 40px);
}

.editor-card__body h2 {
  margin: 8px 0 15px;
  font-size: clamp(30px, 3.5vw, 46px);
  text-transform: uppercase;
}

.editor-card__body > p {
  color: var(--muted);
}

.editor-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 24px 0 28px;
}

.editor-card__features span {
  border: 1px solid var(--line);
  padding: 6px 8px;
  color: #b4b4b7;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.editor-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.editor-notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid #493f16;
  margin-top: 24px;
  padding: 20px;
  background: rgba(255, 207, 24, 0.055);
}

.editor-notice svg {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.7;
}

.editor-notice strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.editor-notice p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.community-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 22px;
}

.community-toolbar {
  position: sticky;
  z-index: 10;
  top: calc(var(--header-height) - 1px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  margin-bottom: 13px;
  padding: 10px;
  background: rgba(12, 12, 14, 0.96);
  backdrop-filter: blur(12px);
}

.community-search {
  position: relative;
  flex: 1 1 210px;
}

.community-search svg {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.7;
  pointer-events: none;
}

.community-search input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 12px 0 38px;
  outline: none;
  background: #08080a;
  color: var(--white);
  font-size: 12px;
}

.community-search input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 1px var(--yellow);
}

.sort-group {
  display: flex;
  border: 1px solid var(--line);
  background: #08080a;
}

.sort-button {
  min-height: 38px;
  border-right: 1px solid var(--line);
  padding: 0 13px;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sort-button:last-child {
  border-right: 0;
}

.sort-button:hover {
  color: var(--white);
}

.sort-button[aria-pressed="true"] {
  background: var(--yellow);
  color: #060606;
}

.category-rail {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin-bottom: 14px;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}

.category-rail::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  min-height: 34px;
  border: 1px solid var(--line);
  padding: 0 13px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 90ms ease, color 90ms ease, background 90ms ease;
}

.chip:hover {
  border-color: var(--line-strong);
  color: var(--white);
}

.chip[aria-pressed="true"] {
  border-color: var(--red);
  background: var(--red);
  color: white;
}

.feed-state {
  border: 1px dashed var(--line-strong);
  padding: 46px 24px;
  color: var(--muted);
  text-align: center;
}

.feed-state svg {
  width: 34px;
  height: 34px;
  margin: 0 auto 15px;
  fill: none;
  stroke: var(--muted-2);
  stroke-width: 1.3;
}

.feed-state h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 19px;
}

.load-more {
  width: 100%;
  margin-top: 13px;
}

.community-mode-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #493f16;
  margin-bottom: 13px;
  padding: 12px 15px;
  background: rgba(255, 207, 24, 0.055);
  color: #c7c1a7;
  font-size: 12px;
}

.community-mode-banner strong {
  color: var(--yellow);
}

.community-mode-banner a {
  flex: 0 0 auto;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.topic-page {
  padding: 58px 0 100px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.back-link:hover {
  color: var(--yellow);
}

.back-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.topic-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 22px;
}

.topic-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  border: 1px solid var(--line);
  background: var(--surface);
}

.topic-content {
  min-width: 0;
  padding: clamp(24px, 4vw, 42px);
}

.topic-content h1 {
  max-width: 920px;
  margin: 12px 0 17px;
  overflow-wrap: anywhere;
  font-size: clamp(30px, 4.5vw, 50px);
  letter-spacing: -0.04em;
}

.topic-body {
  max-width: 780px;
  margin: 30px 0;
  color: #d0d0d2;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.topic-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line-strong);
  margin: 25px 0;
  padding: 18px;
  background: #08080a;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 11px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.topic-link-card svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.comments-panel {
  border: 1px solid var(--line);
  margin-top: 15px;
  background: var(--surface);
}

.comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 19px 22px;
}

.comments-header h2 {
  margin: 0;
  font-size: 18px;
  text-transform: uppercase;
}

.comment-composer {
  border-bottom: 1px solid var(--line);
  padding: 22px;
}

.comment-composer textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px;
  outline: 0;
  background: #08080a;
  color: var(--white);
  line-height: 1.55;
}

.comment-composer textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 1px var(--yellow);
}

.comment-composer__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 10px;
}

.comment-composer__actions span {
  color: var(--muted-2);
  font-size: 11px;
}

.comment-list {
  padding: 5px 22px 22px;
}

.comment {
  position: relative;
  border-left: 1px solid var(--line-strong);
  margin-top: 18px;
  padding-left: 16px;
}

.comment[data-depth="1"] { margin-left: 22px; }
.comment[data-depth="2"] { margin-left: 44px; }
.comment[data-depth="3"] { margin-left: 66px; }
.comment[data-depth="4"],
.comment[data-depth="5"],
.comment[data-depth="6"] { margin-left: 88px; }

.comment__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
}

.comment__meta strong {
  color: var(--white);
}

.comment__body {
  margin-bottom: 8px;
  color: #c8c8ca;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.comment__actions {
  display: flex;
  align-items: center;
  gap: 3px;
}

.comment__actions button {
  min-height: 29px;
  border: 0;
  padding: 0 7px;
  background: transparent;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.comment__actions button:hover {
  background: var(--surface-3);
  color: var(--white);
}

.comment-vote {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  margin-right: 5px;
}

.comment-vote button {
  width: 29px;
  padding: 0;
}

.comment-vote strong {
  min-width: 26px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-align: center;
}

.inline-reply {
  display: none;
  margin-top: 10px;
}

.inline-reply.is-open {
  display: block;
}

.inline-reply textarea {
  width: 100%;
  min-height: 82px;
  resize: vertical;
  border: 1px solid var(--line);
  padding: 10px;
  outline: 0;
  background: #08080a;
  color: var(--white);
  font-size: 13px;
}

.inline-reply textarea:focus {
  border-color: var(--yellow);
}

.inline-reply__actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 7px;
}

.profile-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  align-items: center;
  gap: 25px;
  border: 1px solid var(--line);
  margin-bottom: 25px;
  padding: 30px;
  background: var(--surface);
}

.profile-avatar {
  display: grid;
  width: 100px;
  height: 100px;
  place-items: center;
  border: 2px solid var(--red);
  background: var(--surface-3);
  color: var(--yellow);
  font-family: "Armagetron", var(--mono);
  font-size: 32px;
  font-weight: 900;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card h1 {
  margin: 0 0 5px;
  font-size: clamp(30px, 4vw, 46px);
}

.profile-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 14px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.profile-verification {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  border-left: 3px solid var(--yellow);
  margin-top: 16px;
  padding: 10px 12px;
  background: rgba(255, 207, 24, 0.055);
  color: #d2cba8;
  font-size: 11px;
}

.profile-verification span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.profile-verification svg {
  width: 15px;
  height: 15px;
  color: var(--yellow);
}

.profile-verification button {
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 2px 0;
  background: transparent;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-verification button:disabled {
  color: var(--muted-2);
}

.profile-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}

.profile-tabs button {
  min-height: 44px;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 0 18px;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-tabs button[aria-selected="true"] {
  border-color: var(--yellow);
  color: var(--white);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.roadmap-column {
  border: 1px solid var(--line);
  background: var(--surface);
}

.roadmap-column__head {
  border-bottom: 1px solid var(--line);
  padding: 21px;
  background: var(--surface-2);
}

.roadmap-column__head span {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.roadmap-column__head h2 {
  margin: 6px 0 0;
  font-size: 22px;
  text-transform: uppercase;
}

.roadmap-column:nth-child(1) .roadmap-column__head { border-top: 4px solid var(--green); }
.roadmap-column:nth-child(2) .roadmap-column__head { border-top: 4px solid var(--yellow); }
.roadmap-column:nth-child(3) .roadmap-column__head { border-top: 4px solid var(--red); }

.roadmap-items {
  padding: 8px 20px 20px;
}

.roadmap-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}

.roadmap-item:last-child {
  border-bottom: 0;
}

.roadmap-item i {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border: 2px solid var(--muted-2);
}

.roadmap-column:nth-child(1) .roadmap-item i {
  border-color: var(--green);
  background: var(--green);
}

.roadmap-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.roadmap-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.content-narrow {
  max-width: 820px;
}

.prose {
  color: #c8c8ca;
  font-size: 16px;
  line-height: 1.8;
}

.prose h2 {
  margin: 52px 0 15px;
  color: var(--white);
  font-size: 30px;
  text-transform: uppercase;
}

.prose h3 {
  margin: 32px 0 12px;
  color: var(--white);
  font-size: 19px;
}

.prose a {
  color: var(--yellow);
}

.prose ul,
.prose ol {
  padding-left: 23px;
}

.prose li {
  margin-bottom: 8px;
}

.prose code {
  border: 1px solid var(--line);
  padding: 2px 5px;
  background: var(--surface);
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 0.86em;
}

.legal-note {
  border-left: 4px solid var(--yellow);
  margin: 28px 0;
  padding: 17px 20px;
  background: rgba(255, 207, 24, 0.055);
  color: #c8c2a6;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #030303;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: clamp(24px, 5vw, 70px);
  padding-top: 66px;
  padding-bottom: 58px;
}

.footer-brand p {
  margin: 20px 0 7px;
  color: var(--muted);
}

.footer-license {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-column h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

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

.site-footer__bottom {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.site-footer__bottom span:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-footer__bottom i {
  width: 7px;
  height: 7px;
  background: var(--red);
}

.modal {
  width: min(100% - 32px, 520px);
  max-height: min(90vh, 780px);
  overflow: visible;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 0;
  background: var(--surface);
  color: var(--white);
  box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.7);
}

.modal--wide {
  width: min(100% - 32px, 700px);
}

.modal--compact {
  width: min(100% - 32px, 450px);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(5px);
}

.modal__frame {
  margin: 0;
}

.modal__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 24px 26px;
  background: var(--surface-2);
}

.modal__header h2 {
  margin: 7px 0 0;
  font-size: 28px;
  text-transform: uppercase;
}

.modal__close {
  flex: 0 0 auto;
}

.modal__body {
  max-height: calc(90vh - 110px);
  overflow-y: auto;
  padding: 26px;
}

.auth-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.auth-mode-tabs button {
  min-height: 42px;
  border-right: 1px solid var(--line);
  background: #08080a;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-mode-tabs button:last-child {
  border-right: 0;
}

.auth-mode-tabs button[aria-selected="true"] {
  background: var(--yellow);
  color: #050505;
}

.or-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.or-rule::before,
.or-rule::after {
  flex: 1;
  height: 1px;
  background: var(--line);
  content: "";
}

.field {
  display: block;
  margin-bottom: 16px;
}

.field > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  color: #c7c7c9;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field small {
  color: var(--muted-2);
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 13px;
  outline: 0;
  background: #08080a;
  color: var(--white);
  font-size: 14px;
  transition: border-color 90ms ease, box-shadow 90ms ease;
}

.field input {
  height: 46px;
}

.field select {
  height: 46px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 20px,
    calc(100% - 12px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field textarea {
  resize: vertical;
  line-height: 1.55;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 1px var(--yellow);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5f5f65;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.check-field {
  display: flex;
  align-items: start;
  gap: 10px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 12px;
}

.check-field input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--yellow);
}

.check-field a {
  color: var(--yellow);
}

.form-error {
  min-height: 1.4em;
  margin: 4px 0 12px;
  color: var(--red-soft);
  font-size: 12px;
}

.text-button {
  display: block;
  margin: 14px auto 0;
  border: 0;
  padding: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
}

.text-button:hover {
  color: var(--yellow);
}

.demo-note {
  border-left: 3px solid var(--yellow);
  margin: 20px 0 0;
  padding: 12px 14px;
  background: rgba(255, 207, 24, 0.055);
  color: #bbb69f;
  font-size: 11px;
}

.modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.toast-stack {
  position: fixed;
  z-index: 1100;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: min(calc(100% - 40px), 390px);
  gap: 9px;
  pointer-events: none;
}

.toast {
  position: relative;
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line-strong);
  padding: 14px;
  background: #141418;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.5);
  animation: toast-in 170ms ease both;
  pointer-events: auto;
}

.toast.is-leaving {
  animation: toast-out 130ms ease both;
}

.toast__mark {
  width: 8px;
  height: 8px;
  background: var(--green);
}

.toast--error .toast__mark {
  background: var(--red);
}

.toast--info .toast__mark {
  background: var(--yellow);
}

.toast p {
  margin: 0;
  color: #d5d5d7;
  font-size: 12px;
}

.toast button {
  width: 28px;
  height: 28px;
  background: transparent;
  color: var(--muted);
}

.toast button:hover {
  color: var(--white);
}

.toast button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateX(20px); }
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

@media (max-width: 1160px) {
  .backend-badge {
    display: none;
  }

  .primary-nav a {
    padding-inline: 10px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-card {
    min-height: 260px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 66px;
  }

  .site-header__inner {
    gap: 12px;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .primary-nav {
    position: fixed;
    z-index: 80;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 22px;
    background: #08080a;
    box-shadow: 0 22px 30px rgba(0, 0, 0, 0.5);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    min-height: 52px;
    border-bottom: 1px solid var(--line);
    padding: 0 4px;
  }

  .primary-nav a::after {
    top: 12px;
    right: auto;
    bottom: 12px;
    left: -12px;
    width: 3px;
    height: auto;
    transform: scaleY(0);
  }

  .primary-nav a[aria-current="page"]::after {
    transform: scaleY(1);
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 800px;
  }

  .hero h1 {
    max-width: 780px;
  }

  .hero__visual {
    width: min(100%, 820px);
    margin-top: 10px;
  }

  .signal-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .signal:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .news-grid,
  .creator-grid,
  .download-lead {
    grid-template-columns: 1fr;
  }

  .article-card--lead {
    min-height: 460px;
  }

  .creator-visual {
    order: 2;
  }

  .community-preview,
  .community-shell,
  .topic-layout {
    grid-template-columns: 1fr;
  }

  .community-sidebar,
  .topic-sidebar {
    position: static;
  }

  .download-lead {
    margin-top: -32px;
  }

  .editor-grid {
    grid-template-columns: 1fr;
  }

  .editor-card__visual {
    aspect-ratio: 16 / 8;
  }

  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 2fr repeat(2, 1fr);
  }

  .footer-brand {
    grid-row: span 2;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 30px), var(--max));
  }

  .announcement__copy,
  .announcement a {
    display: none;
  }

  .announcement__inner {
    justify-content: flex-start;
  }

  .brand__tag {
    display: none;
  }

  .brand__word {
    align-self: center;
  }

  .brand img {
    grid-row: auto;
    width: 34px;
    height: 34px;
  }

  .header-actions #account-button span,
  .header-download {
    display: none;
  }

  .header-actions #account-button {
    display: inline-grid;
    width: 42px;
    padding: 0;
  }

  .header-actions #account-button svg {
    margin: auto;
  }

  .hero {
    padding-top: 64px;
  }

  .hero h1 {
    font-size: clamp(50px, 18vw, 80px);
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__meta {
    gap: 10px 14px;
  }

  .hero__visual::before {
    top: -10px;
    right: -8px;
  }

  .hero__image {
    aspect-ratio: 4 / 3;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.45);
  }

  .hero__image img {
    object-position: center;
  }

  .telemetry {
    top: 9px;
    left: 9px;
    grid-template-columns: repeat(2, auto);
  }

  .telemetry span:nth-child(3) {
    display: none;
  }

  .hero__caption {
    right: -4px;
    bottom: -16px;
    min-width: auto;
    padding: 10px 12px;
    font-size: 8px;
  }

  .signal {
    min-height: 95px;
    padding: 19px 16px;
  }

  .signal strong {
    font-size: 18px;
  }

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

  .feature-card {
    min-height: 245px;
  }

  .feature-card__number {
    margin-bottom: 30px;
  }

  .section-heading {
    display: block;
  }

  .section-heading .section-link {
    margin-top: 20px;
  }

  .news-grid {
    display: block;
  }

  .article-card--lead {
    min-height: 430px;
    margin-bottom: 12px;
  }

  .news-stack {
    gap: 12px;
  }

  .creator-points {
    grid-template-columns: 1fr;
  }

  .creator-visual img {
    box-shadow: 9px 9px 0 #020202;
  }

  .open-source-card {
    grid-template-columns: 1fr;
  }

  .open-source-card .button {
    width: 100%;
  }

  .page-hero h1 {
    font-size: clamp(44px, 15vw, 68px);
  }

  .release-panel__top {
    display: block;
  }

  .os-recommendation {
    margin-top: 15px;
  }

  .platform-grid,
  .requirements-grid {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: 245px;
  }

  .community-toolbar {
    top: calc(var(--header-height) - 1px);
  }

  .sort-group {
    order: 3;
    width: 100%;
  }

  .sort-button {
    flex: 1;
  }

  .community-mode-banner {
    display: block;
  }

  .community-mode-banner a {
    display: inline-block;
    margin-top: 8px;
  }

  .post-card {
    grid-template-columns: 1fr;
  }

  .vote-column {
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 4px 10px;
  }

  .post-card__body {
    padding: 16px;
  }

  .post-card__actions {
    margin-left: -6px;
  }

  .topic-card {
    grid-template-columns: 1fr;
  }

  .topic-card > .vote-column {
    justify-content: flex-start;
  }

  .topic-content {
    padding: 22px 18px;
  }

  .comment-list {
    padding-inline: 14px;
  }

  .comment[data-depth="1"] { margin-left: 10px; }
  .comment[data-depth="2"] { margin-left: 20px; }
  .comment[data-depth="3"],
  .comment[data-depth="4"],
  .comment[data-depth="5"],
  .comment[data-depth="6"] { margin-left: 30px; }

  .comment-composer__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .comment-composer__actions .button {
    width: 100%;
  }

  .profile-card {
    grid-template-columns: 72px 1fr;
    gap: 17px;
    padding: 20px;
  }

  .profile-avatar {
    width: 70px;
    height: 70px;
    font-size: 24px;
  }

  .profile-card > .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .profile-tabs {
    overflow-x: auto;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-bottom: 18px;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 15px;
  }

  .modal {
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.7);
  }

  .modal__header,
  .modal__body {
    padding: 20px;
  }

  .modal__actions {
    flex-direction: column-reverse;
  }

  .modal__actions .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .site-header__inner {
    gap: 7px;
  }

  .brand__word {
    font-size: 17px;
  }

  .nav-toggle,
  .header-actions #account-button {
    width: 38px;
    height: 38px;
  }

  .nav-toggle span:not(.sr-only) {
    left: 9px;
  }

  .nav-toggle span:nth-of-type(2) { top: 12px; }
  .nav-toggle span:nth-of-type(3) { top: 18px; }
  .nav-toggle span:nth-of-type(4) { top: 24px; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(2),
  .nav-toggle[aria-expanded="true"] span:nth-of-type(4) { top: 18px; }

  .hero__meta span:last-child {
    display: none;
  }

  .signal-strip__grid {
    grid-template-columns: 1fr;
  }

  .signal,
  .signal:nth-child(2),
  .signal:last-child {
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .signal:first-child {
    border-top: 0;
  }

  .editor-card__actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: #55555d;
    --muted: #c2c2c5;
    --muted-2: #a0a0a5;
  }
}
