:root {
  color-scheme: dark;
  --bg: #071019;
  --bg-deep: #040a10;
  --panel: #0c1823;
  --panel-strong: #101f2c;
  --panel-soft: #0a141e;
  --line: rgba(169, 205, 224, 0.14);
  --line-strong: rgba(169, 205, 224, 0.24);
  --text: #edf7fb;
  --muted: #93a9b7;
  --muted-strong: #b8c9d3;
  --accent: #56d7e5;
  --accent-soft: rgba(86, 215, 229, 0.13);
  --accent-strong: #21b9ca;
  --blue: #5e91ff;
  --success: #65dfa7;
  --warning: #f3c664;
  --danger: #ff6d79;
  --discord: #7b89ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shell: min(1180px, calc(100% - 48px));
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.is-hidden {
  display: none !important;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  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;
}

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

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

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

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

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

button {
  color: inherit;
}

::selection {
  background: rgba(86, 215, 229, 0.28);
  color: #fff;
}

.site-body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 75% 7%, rgba(40, 153, 182, 0.12), transparent 25rem),
    radial-gradient(circle at 8% 27%, rgba(54, 100, 179, 0.07), transparent 31rem),
    var(--bg);
}

.site-body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(145, 187, 208, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(145, 187, 208, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  font-weight: 750;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

:focus-visible {
  outline: 3px solid rgba(86, 215, 229, 0.8);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  background: rgba(7, 16, 25, 0.68);
  backdrop-filter: blur(18px);
  transition: background 200ms ease, border-color 200ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 16, 25, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(86, 215, 229, 0.3);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(86, 215, 229, 0.18), rgba(94, 145, 255, 0.05));
  box-shadow: inset 0 0 20px rgba(86, 215, 229, 0.06);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark > span {
  position: absolute;
  content: "";
}

.brand-mark::before {
  width: 5px;
  height: 24px;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 10px 0 0 rgba(86, 215, 229, 0.35);
  transform: translateX(-5px);
}

.brand-mark::after {
  width: 22px;
  height: 2px;
  background: var(--accent);
  transform: rotate(-35deg);
}

.brand-mark > span {
  right: 6px;
  bottom: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-copy strong {
  font-size: 14px;
  letter-spacing: 0.015em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 650;
  transition: color 150ms ease;
}

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

.site-nav .nav-discord {
  padding: 9px 15px;
  border: 1px solid rgba(123, 137, 255, 0.35);
  border-radius: 9px;
  background: rgba(123, 137, 255, 0.08);
  color: #dce0ff;
}

.site-nav .nav-portal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid rgba(86, 215, 229, 0.42);
  border-radius: 9px;
  background: var(--accent);
  color: #051116;
  box-shadow: 0 10px 28px rgba(45, 194, 210, 0.13);
}

.site-nav .nav-portal:hover {
  background: #79e7f1;
  color: #041014;
}

.nav-portal > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #08717d;
  box-shadow: 0 0 0 3px rgba(8, 113, 125, 0.13);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  cursor: pointer;
}

.nav-toggle i,
.nav-toggle i::before,
.nav-toggle i::after {
  display: block;
  width: 17px;
  height: 1px;
  background: var(--text);
  content: "";
  transition: transform 160ms ease;
}

.nav-toggle i {
  position: relative;
}

.nav-toggle i::before {
  position: absolute;
  top: -5px;
}

.nav-toggle i::after {
  position: absolute;
  top: 5px;
}

.hero {
  position: relative;
  padding: 162px 0 0;
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 72px;
  left: 50%;
  width: min(94vw, 1350px);
  height: 640px;
  border: 1px solid rgba(132, 187, 213, 0.04);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(520px, 1.04fr);
  align-items: center;
  gap: 70px;
}

.eyebrow,
.section-kicker {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 7px 10px;
  border: 1px solid rgba(86, 215, 229, 0.17);
  border-radius: 999px;
  background: rgba(86, 215, 229, 0.055);
}

.status-pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(86, 215, 229, 0.8);
}

.status-pulse::after {
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(86, 215, 229, 0.45);
  border-radius: inherit;
  content: "";
  animation: signal 2.2s infinite;
}

@keyframes signal {
  0%, 35% { opacity: 0; transform: scale(0.6); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.45); }
}

.hero h1 {
  margin-bottom: 26px;
  font-size: clamp(48px, 5.4vw, 78px);
  font-weight: 720;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, var(--accent) 5%, #8fc8ff 80%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.72;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: #061217;
  box-shadow: 0 12px 32px rgba(45, 194, 210, 0.16);
}

.button-primary:hover {
  background: #79e7f1;
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(12, 24, 35, 0.68);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(86, 215, 229, 0.4);
  background: var(--panel-strong);
}

.button-light {
  background: var(--text);
  color: #08131b;
}

.button-danger {
  border-color: rgba(255, 109, 121, 0.34);
  background: rgba(255, 109, 121, 0.1);
  color: #ffb3ba;
}

.button-small {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
}

.button-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--muted-strong);
}

.button-ghost:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 11px;
  list-style: none;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-facts li > span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--success);
}

.control-preview {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(152, 203, 226, 0.18);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(15, 32, 45, 0.96), rgba(7, 16, 25, 0.96));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.control-preview::before {
  position: absolute;
  top: -40%;
  left: 23%;
  width: 420px;
  height: 300px;
  border-radius: 50%;
  background: rgba(86, 215, 229, 0.07);
  content: "";
  filter: blur(45px);
}

.preview-topbar,
.preview-metrics,
.preview-board,
.connection-card {
  position: relative;
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.preview-topbar > div {
  display: flex;
  flex-direction: column;
}

.preview-topbar small,
.board-heading,
.preview-metrics span,
.preview-metrics small,
.connection-card small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.preview-topbar strong {
  margin-top: 3px;
  font-size: 14px;
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border: 1px solid rgba(101, 223, 167, 0.18);
  border-radius: 999px;
  background: rgba(101, 223, 167, 0.06);
  color: #9aecbf;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.live-chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(2, 9, 14, 0.3);
}

.preview-metrics > div {
  display: grid;
  gap: 2px;
  padding: 13px 15px;
  border-right: 1px solid var(--line);
}

.preview-metrics > div:last-child {
  border-right: 0;
}

.preview-metrics strong {
  margin: 3px 0 0;
  font-family: var(--mono);
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
}

.text-success { color: var(--success); }
.text-warning { color: var(--warning); }

.preview-board {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(3, 10, 16, 0.42);
}

.board-heading,
.board-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.board-heading {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
}

.board-row {
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 10px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
}

.board-row:last-child {
  border-bottom: 0;
}

.line-badge {
  display: grid;
  width: 34px;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  background: #e8eff2;
  color: #061019;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}

.line-badge-alt {
  background: var(--blue);
  color: #fff;
}

.line-badge-soft {
  background: #29495b;
  color: #dcf7ff;
}

.board-row > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.board-row strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-row small {
  overflow: hidden;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.delay {
  display: grid;
  width: 36px;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.delay-warning { background: rgba(243, 198, 100, 0.1); color: var(--warning); }
.delay-success { background: rgba(101, 223, 167, 0.1); color: var(--success); }
.delay-calm { background: rgba(86, 215, 229, 0.08); color: #8ee9f2; }

.connection-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  margin-top: 13px;
  padding: 12px;
  border: 1px solid rgba(101, 223, 167, 0.16);
  border-radius: 12px;
  background: rgba(101, 223, 167, 0.055);
}

.connection-icon {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: rgba(101, 223, 167, 0.12);
}

.connection-icon::before,
.connection-icon::after {
  width: 7px;
  height: 7px;
  border: 2px solid var(--success);
  border-radius: 50%;
  content: "";
}

.connection-icon::before { transform: translate(4px, -3px); }
.connection-icon::after { transform: translate(-4px, 3px); }
.connection-icon span { position: absolute; width: 13px; height: 2px; background: var(--success); transform: rotate(-42deg); }

.connection-card > div:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.connection-card strong {
  overflow: hidden;
  margin-top: 2px;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.connection-status {
  color: var(--success);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.release-strip {
  display: grid;
  grid-template-columns: auto auto minmax(120px, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-top: 80px;
  padding: 17px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.release-strip > span {
  color: var(--accent);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.release-strip strong {
  color: var(--text);
  font-size: 11px;
}

.release-progress {
  height: 3px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(145, 187, 208, 0.1);
}

.release-progress span {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}

.section {
  padding: 128px 0;
}

.section h2,
.discord-panel h2 {
  margin: 15px 0 0;
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.07;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 80px;
  align-items: end;
}

.intro-copy {
  color: var(--muted-strong);
  font-size: 17px;
}

.intro-copy p {
  margin-bottom: 12px;
}

.intro-copy .muted,
.muted {
  color: var(--muted);
  font-size: 14px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 62px;
}

.status-card {
  position: relative;
  min-height: 280px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 23, 33, 0.62);
}

.status-card-current {
  border-color: rgba(86, 215, 229, 0.32);
  background: linear-gradient(145deg, rgba(86, 215, 229, 0.11), rgba(11, 23, 33, 0.75));
}

.status-card-complete {
  background: linear-gradient(145deg, rgba(101, 223, 167, 0.07), rgba(11, 23, 33, 0.66));
}

.card-index {
  position: absolute;
  right: 15px;
  bottom: -19px;
  color: rgba(205, 235, 245, 0.035);
  font-family: var(--mono);
  font-size: 96px;
  font-weight: 800;
  line-height: 1;
}

.status-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 55px;
}

.status-card-top small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border: 1px solid var(--muted);
  border-radius: 50%;
}

.status-card-complete .status-dot { border: 0; background: var(--success); box-shadow: 0 0 8px rgba(101, 223, 167, 0.55); }
.status-card-current .status-dot { border: 0; background: var(--accent); box-shadow: 0 0 8px rgba(86, 215, 229, 0.55); }

.status-card h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.status-card p {
  position: relative;
  z-index: 1;
  max-width: 310px;
  color: var(--muted);
  font-size: 13px;
}

.status-card > strong {
  position: absolute;
  bottom: 24px;
  left: 25px;
  color: var(--muted-strong);
  font-family: var(--mono);
  font-size: 10px;
}

.status-card-current > strong { color: var(--accent); }
.status-card-complete > strong { color: var(--success); }

.features-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(3, 10, 16, 0.34);
}

.section-heading {
  max-width: 720px;
  text-align: center;
}

.section-heading p {
  max-width: 600px;
  margin: 20px auto 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 64px;
}

.feature-card {
  position: relative;
  min-height: 285px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 24, 35, 0.7);
  transition: border-color 180ms ease, transform 180ms ease;
}

.feature-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.feature-card-wide {
  grid-column: span 2;
}

.feature-number {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.feature-symbol {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  margin: 45px 0 24px;
  place-items: center;
  border: 1px solid rgba(86, 215, 229, 0.16);
  border-radius: 14px;
  background: var(--accent-soft);
}

.feature-symbol-grid {
  grid-template-columns: repeat(3, 6px);
  gap: 4px;
}

.feature-symbol-grid i {
  width: 6px;
  height: 22px;
  border-radius: 4px;
  background: var(--accent);
}

.feature-symbol-grid i:nth-child(2) { height: 13px; opacity: 0.55; }
.feature-symbol-grid i:nth-child(3) { height: 18px; opacity: 0.78; }

.feature-symbol-event i {
  width: 22px;
  height: 17px;
  border: 2px solid var(--accent);
  border-radius: 4px;
}

.feature-symbol-event i::after {
  display: block;
  width: 11px;
  height: 2px;
  margin: 5px auto;
  background: var(--accent);
  box-shadow: 0 5px 0 rgba(86, 215, 229, 0.5);
  content: "";
}

.feature-symbol-clock i {
  position: relative;
  width: 23px;
  height: 23px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.feature-symbol-clock i::before,
.feature-symbol-clock i::after {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 7px;
  height: 2px;
  background: var(--accent);
  content: "";
  transform-origin: 0 50%;
}

.feature-symbol-clock i::after { width: 6px; transform: rotate(-90deg); }
.feature-symbol-clock i::before { transform: rotate(30deg); }

.feature-symbol-solo i {
  position: relative;
  width: 21px;
  height: 15px;
  border: 2px solid var(--accent);
  border-radius: 5px 5px 8px 8px;
}

.feature-symbol-solo i::before,
.feature-symbol-solo i::after {
  position: absolute;
  bottom: -7px;
  width: 5px;
  height: 5px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--panel);
  content: "";
}

.feature-symbol-solo i::before { left: 0; }
.feature-symbol-solo i::after { right: 0; }

.feature-card-emergency {
  border-color: rgba(255, 109, 121, 0.16);
}

.feature-card-emergency .feature-symbol {
  border-color: rgba(255, 109, 121, 0.2);
  background: rgba(255, 109, 121, 0.09);
  color: var(--danger);
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 800;
}

.feature-symbol-link {
  grid-template-columns: auto auto;
  gap: 0;
}

.feature-symbol-link i {
  width: 17px;
  height: 10px;
  border: 2px solid var(--accent);
  border-radius: 8px;
}

.feature-symbol-link i:first-child { transform: translateX(3px) rotate(-35deg); }
.feature-symbol-link i:last-child { transform: translateX(-3px) rotate(-35deg); }

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.feature-card p {
  max-width: 430px;
  color: var(--muted);
  font-size: 13px;
}

.mini-route {
  position: absolute;
  right: 27px;
  bottom: 30px;
  left: 58%;
  display: flex;
  align-items: center;
}

.mini-route span {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.mini-route i {
  height: 1px;
  flex: 1;
  background: rgba(86, 215, 229, 0.35);
}

.feature-card-future {
  background: linear-gradient(140deg, rgba(94, 145, 255, 0.07), rgba(12, 24, 35, 0.7));
}

.future-label {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 5px 8px;
  border: 1px solid rgba(94, 145, 255, 0.22);
  border-radius: 999px;
  color: #a9c2ff;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roadmap-section {
  position: relative;
}

.roadmap-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
}

.roadmap-copy {
  position: sticky;
  top: 125px;
  align-self: start;
}

.roadmap-copy > p {
  max-width: 440px;
  margin-top: 24px;
  color: var(--muted-strong);
}

.roadmap-copy .roadmap-note {
  margin-top: 40px;
  padding-left: 16px;
  border-left: 2px solid var(--line-strong);
  color: var(--muted);
  font-size: 12px;
}

.roadmap-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap-item {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 24px;
  min-height: 155px;
  padding-bottom: 38px;
}

.roadmap-item::before {
  position: absolute;
  top: 47px;
  bottom: 0;
  left: 26px;
  width: 1px;
  background: var(--line-strong);
  content: "";
}

.roadmap-item:last-child::before {
  display: none;
}

.roadmap-node {
  position: relative;
  z-index: 1;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.roadmap-item.is-done .roadmap-node {
  border-color: rgba(101, 223, 167, 0.32);
  background: rgba(101, 223, 167, 0.08);
  color: var(--success);
}

.roadmap-item.is-current .roadmap-node {
  border-color: rgba(86, 215, 229, 0.42);
  background: rgba(86, 215, 229, 0.1);
  color: var(--accent);
  box-shadow: 0 0 25px rgba(86, 215, 229, 0.08);
}

.roadmap-item small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roadmap-item.is-current small { color: var(--accent); }
.roadmap-item.is-done small { color: var(--success); }

.roadmap-item h3 {
  margin: 5px 0 5px;
  font-size: 21px;
}

.roadmap-item p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.downloads-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(3, 10, 16, 0.5), rgba(9, 21, 31, 0.46));
}

.downloads-shell {
  max-width: 940px;
}

.downloads-heading {
  margin-bottom: 54px;
}

.release-list {
  display: grid;
  gap: 12px;
}

.release-loading,
.release-message,
.public-release {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 24, 35, 0.78);
}

.release-loading {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px;
}

.release-loading > div {
  display: flex;
  flex-direction: column;
}

.release-loading small {
  color: var(--muted);
}

.loading-rail {
  position: relative;
  width: 4px;
  height: 38px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--line-strong);
}

.loading-rail::after {
  position: absolute;
  inset: 0;
  background: var(--accent);
  content: "";
  animation: loadingRail 1.2s ease-in-out infinite;
}

@keyframes loadingRail {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.release-message {
  padding: 42px;
  text-align: center;
}

.release-message strong {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
}

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

.public-release {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 26px;
  transition: border-color 160ms ease, background 160ms ease;
}

.public-release:hover {
  border-color: var(--line-strong);
  background: rgba(15, 31, 44, 0.85);
}

.public-release.is-featured {
  border-color: rgba(86, 215, 229, 0.26);
  background: linear-gradient(120deg, rgba(86, 215, 229, 0.09), rgba(12, 24, 35, 0.78) 58%);
}

.release-copy {
  min-width: 0;
}

.release-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.release-chip {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-chip-featured {
  border-color: rgba(86, 215, 229, 0.25);
  background: var(--accent-soft);
  color: var(--accent);
}

.public-release h3 {
  margin-bottom: 5px;
  font-size: 20px;
}

.release-version {
  margin-left: 7px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}

.public-release p {
  max-width: 610px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.release-download {
  min-width: 150px;
}

.faq-section {
  background: rgba(3, 10, 16, 0.2);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 100px;
}

.faq-layout > div:first-child > p {
  max-width: 350px;
  margin-top: 22px;
  color: var(--muted);
}

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

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 23px 0;
  font-size: 15px;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: var(--muted-strong);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 160ms ease;
}

.faq-list summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-list details p {
  max-width: 680px;
  margin: -8px 46px 24px 0;
  color: var(--muted);
  font-size: 14px;
}

.discord-section {
  padding: 0 0 110px;
}

.discord-panel {
  position: relative;
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  padding: 58px;
  overflow: hidden;
  border: 1px solid rgba(123, 137, 255, 0.24);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 10% 50%, rgba(86, 215, 229, 0.17), transparent 20rem),
    linear-gradient(120deg, rgba(49, 67, 139, 0.95), rgba(33, 43, 99, 0.96));
  box-shadow: 0 30px 80px rgba(1, 5, 17, 0.34);
}

.discord-panel::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 35px 35px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 80%);
}

.discord-panel > * {
  position: relative;
}

.discord-panel .section-kicker {
  color: #91f1f6;
}

.discord-panel h2 {
  font-size: clamp(34px, 4vw, 52px);
}

.discord-panel p {
  max-width: 600px;
  margin: 18px 0 0;
  color: #c3caee;
  font-size: 14px;
}

.discord-signal {
  position: relative;
  display: grid;
  width: 110px;
  height: 110px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  background: rgba(5, 12, 33, 0.22);
}

.discord-signal span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.65);
}

.discord-signal i {
  position: absolute;
  inset: 29px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(45deg);
}

.discord-signal i:last-child {
  inset: 17px;
  border-color: rgba(255, 255, 255, 0.21);
  border-right-color: transparent;
  border-bottom-color: transparent;
}

.discord-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 220px;
}

.discord-action small {
  color: #aeb9e8;
  font-family: var(--mono);
  font-size: 8px;
  text-align: center;
}

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

.simple-header {
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 25, 0.92);
}

.simple-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.simple-header-inner > a:last-child {
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 650;
}

.simple-header-inner > a:last-child:hover {
  color: var(--accent);
}

.legal-page,
.access-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 75% 8%, rgba(40, 153, 182, 0.1), transparent 26rem),
    var(--bg);
}

.legal-main {
  width: min(760px, calc(100% - 34px));
  margin-inline: auto;
  padding: 90px 0 120px;
}

.legal-main h1 {
  margin: 12px 0 16px;
  font-size: clamp(42px, 7vw, 66px);
  letter-spacing: -0.05em;
  line-height: 1;
}

.legal-lead {
  max-width: 650px;
  color: var(--muted-strong);
  font-size: 17px;
}

.legal-notice {
  margin: 34px 0;
  padding: 18px 20px;
  border: 1px solid rgba(243, 198, 100, 0.22);
  border-radius: 12px;
  background: rgba(243, 198, 100, 0.06);
  color: #e6d3a7;
  font-size: 12px;
}

.legal-content {
  margin-top: 54px;
}

.legal-content section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 12px;
  font-size: 20px;
}

.legal-content h3 {
  margin: 22px 0 8px;
  font-size: 14px;
}

.legal-content p,
.legal-content li,
.legal-content address {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-placeholder {
  display: inline-block;
  padding: 2px 6px;
  border: 1px dashed rgba(243, 198, 100, 0.3);
  border-radius: 4px;
  color: var(--warning);
  font-family: var(--mono);
  font-size: 10px;
}

.access-main {
  display: grid;
  min-height: calc(100vh - 77px);
  place-items: center;
  padding: 50px 17px;
}

.access-card {
  width: min(500px, 100%);
  padding: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--panel-soft);
  box-shadow: var(--shadow);
  text-align: center;
}

.access-symbol {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 24px;
  place-items: center;
  border: 1px solid rgba(255, 109, 121, 0.25);
  border-radius: 18px;
  background: rgba(255, 109, 121, 0.08);
  color: var(--danger);
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 800;
}

.access-card h1 {
  margin-bottom: 10px;
  font-size: 30px;
  letter-spacing: -0.035em;
}

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

.access-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 26px;
}

.footer-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 60px;
  padding-top: 48px;
  padding-bottom: 38px;
}

.footer-main > p {
  max-width: 400px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.footer-main nav a {
  color: var(--muted);
  font-size: 11px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  color: #687c88;
  font-size: 9px;
}

/* Admin application */
.admin-body {
  min-height: 100vh;
  background: var(--bg-deep);
}

.admin-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 260px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: #07111a;
}

.admin-sidebar .brand {
  padding: 0 8px 27px;
  border-bottom: 1px solid var(--line);
}

.admin-nav {
  display: grid;
  gap: 5px;
  margin-top: 26px;
}

.admin-nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 45px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.admin-nav button:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.admin-nav button.is-active {
  border-color: rgba(86, 215, 229, 0.14);
  background: rgba(86, 215, 229, 0.08);
  color: var(--accent);
}

.admin-nav-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 8px;
  opacity: 0.72;
}

.admin-sidebar-bottom {
  margin-top: auto;
  padding: 18px 8px 0;
  border-top: 1px solid var(--line);
}

.admin-environment {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-environment span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px rgba(101, 223, 167, 0.6);
}

.admin-main {
  min-width: 0;
}

.admin-topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 10, 16, 0.88);
  backdrop-filter: blur(16px);
}

.admin-topbar-title small {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-topbar-title strong {
  display: block;
  margin-top: 2px;
  font-size: 15px;
}

.admin-account {
  display: flex;
  align-items: center;
  gap: 11px;
}

.admin-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(123, 137, 255, 0.3);
  border-radius: 11px;
  background: rgba(123, 137, 255, 0.13);
  color: #cfd5ff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.admin-account-copy {
  display: flex;
  min-width: 120px;
  flex-direction: column;
  line-height: 1.2;
}

.admin-account-copy strong {
  font-size: 12px;
}

.admin-account-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--muted-strong);
  cursor: pointer;
}

.icon-button:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
}

.admin-mobile-menu {
  display: none;
}

.admin-content {
  width: min(1260px, calc(100% - 68px));
  margin-inline: auto;
  padding: 44px 0 80px;
}

.admin-view[hidden] {
  display: none;
}

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

.admin-heading h1,
.admin-heading h2 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -0.025em;
}

.admin-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.admin-stat {
  position: relative;
  min-height: 135px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel-soft);
}

.admin-stat::after {
  position: absolute;
  right: -18px;
  bottom: -25px;
  width: 90px;
  height: 90px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

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

.admin-stat strong {
  display: block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.admin-stat small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 14px;
  margin-top: 14px;
}

.admin-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel-soft);
}

.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.admin-panel-header h3 {
  margin: 0;
  font-size: 13px;
}

.admin-panel-header button,
.admin-panel-header a {
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.admin-list-empty {
  padding: 42px 24px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.overview-upload,
.activity-item {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.overview-upload:last-child,
.activity-item:last-child {
  border-bottom: 0;
}

.overview-upload {
  grid-template-columns: 36px minmax(0, 1fr) auto;
}

.overview-upload-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.file-type {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(86, 215, 229, 0.16);
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.overview-upload > div:nth-child(2),
.activity-item > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.overview-upload strong,
.activity-item strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overview-upload small,
.activity-item small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.visibility-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  text-transform: uppercase;
}

.visibility-badge::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.visibility-badge.is-public {
  border-color: rgba(101, 223, 167, 0.18);
  background: rgba(101, 223, 167, 0.06);
  color: var(--success);
}

.activity-item {
  grid-template-columns: 8px minmax(0, 1fr);
}

.activity-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(94, 145, 255, 0.35);
}

.activity-dot.is-create { background: var(--success); }
.activity-dot.is-delete { background: var(--danger); }

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel-soft);
}

.member-overview,
.member-recent-panel {
  min-width: 0;
}

.member-recent-panel {
  margin-top: 14px;
}

.member-role-value,
.member-access-value {
  font-size: 21px !important;
}

.portal-download-list,
.report-list {
  display: grid;
  gap: 12px;
}

.portal-download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel-soft);
  transition: border-color 160ms ease, background 160ms ease;
}

.portal-download-card:hover {
  border-color: var(--line-strong);
  background: var(--panel);
}

.portal-download-card.is-featured {
  border-color: rgba(86, 215, 229, 0.26);
  background: linear-gradient(120deg, rgba(86, 215, 229, 0.08), var(--panel-soft) 62%);
}

.portal-download-copy {
  min-width: 0;
}

.portal-download-copy h3 {
  margin: 0 0 7px;
  font-size: 18px;
}

.portal-download-copy p {
  max-width: 720px;
  margin: 0 0 11px;
  color: var(--muted);
  font-size: 12px;
}

.portal-download-button {
  min-width: 145px;
}

.permission-note {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  margin-bottom: 18px;
  padding: 15px 17px;
  border: 1px solid rgba(94, 145, 255, 0.2);
  border-radius: 12px;
  background: rgba(94, 145, 255, 0.055);
}

.permission-note > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(94, 145, 255, 0.28);
  border-radius: 9px;
  color: #a9c2ff;
  font-family: var(--mono);
  font-size: 11px;
}

.permission-note p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.permission-note strong {
  display: block;
  margin-bottom: 2px;
  color: var(--muted-strong);
}

.permission-note-manager {
  border-color: rgba(86, 215, 229, 0.23);
  background: rgba(86, 215, 229, 0.055);
}

.permission-note-manager > span {
  border-color: rgba(86, 215, 229, 0.3);
  color: var(--accent);
}

.team-person {
  display: grid;
  min-width: 180px;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.team-avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(123, 137, 255, 0.23);
  border-radius: 10px;
  background: rgba(123, 137, 255, 0.1);
  color: #cbd1ff;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
}

.team-person > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.team-person strong {
  overflow: hidden;
  color: var(--text);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-person small,
.table-no-action {
  color: var(--muted);
  font-size: 9px;
}

.discord-id {
  color: var(--muted-strong);
  font-family: var(--mono);
  font-size: 9px;
}

.role-badge,
.member-status,
.report-status,
.report-owner-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.role-badge::before,
.member-status::before,
.report-status::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.role-badge.is-admin {
  border-color: rgba(86, 215, 229, 0.23);
  background: rgba(86, 215, 229, 0.07);
  color: var(--accent);
}

.role-badge.is-manager {
  border-color: rgba(101, 223, 167, 0.26);
  background: rgba(101, 223, 167, 0.07);
  color: var(--success);
}

.role-badge.is-moderator {
  border-color: rgba(123, 137, 255, 0.24);
  background: rgba(123, 137, 255, 0.07);
  color: #aeb7ff;
}

.member-status.is-active {
  border-color: rgba(101, 223, 167, 0.2);
  background: rgba(101, 223, 167, 0.055);
  color: var(--success);
}

.member-status.is-suspended {
  border-color: rgba(255, 109, 121, 0.22);
  background: rgba(255, 109, 121, 0.065);
  color: #ff9ba4;
}

.report-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -10px 0 20px;
}

.report-summary > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.018);
  color: var(--muted);
  font-size: 9px;
}

.report-summary strong {
  color: var(--text);
  font-family: var(--mono);
}

.report-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warning);
}

.report-status-dot.is-review { background: var(--blue); }
.report-status-dot.is-resolved { background: var(--success); }

.report-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel-soft);
}

.report-card-top,
.report-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.report-card-badges,
.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.report-status.is-open {
  border-color: rgba(243, 198, 100, 0.23);
  background: rgba(243, 198, 100, 0.06);
  color: var(--warning);
}

.report-status.is-review {
  border-color: rgba(94, 145, 255, 0.23);
  background: rgba(94, 145, 255, 0.06);
  color: #9fbaff;
}

.report-status.is-resolved {
  border-color: rgba(101, 223, 167, 0.2);
  background: rgba(101, 223, 167, 0.055);
  color: var(--success);
}

.report-owner-badge {
  color: var(--muted);
}

.report-reference {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.report-card h3 {
  margin: 19px 0 8px;
  font-size: 18px;
}

.report-description {
  margin-bottom: 20px;
  color: var(--muted-strong);
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.report-card-footer {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.report-attachment {
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
}

.report-attachment:hover {
  text-decoration: underline;
}

.report-marker {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(243, 198, 100, 0.2);
  border-radius: 9px;
  background: rgba(243, 198, 100, 0.06);
  color: var(--warning);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}

.report-marker.is-review {
  border-color: rgba(94, 145, 255, 0.2);
  background: rgba(94, 145, 255, 0.06);
  color: #9fbaff;
}

.report-marker.is-resolved {
  border-color: rgba(101, 223, 167, 0.2);
  background: rgba(101, 223, 167, 0.06);
  color: var(--success);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.admin-table td {
  padding: 16px 17px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-strong);
  font-size: 11px;
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.016);
}

.file-cell {
  display: grid;
  min-width: 260px;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
}

.file-cell > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.file-cell strong {
  overflow: hidden;
  color: var(--text);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-cell small {
  overflow: hidden;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-meta {
  display: flex;
  flex-direction: column;
}

.table-meta small {
  color: var(--muted);
}

.table-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.table-action {
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--muted-strong);
  font-size: 9px;
  cursor: pointer;
}

.table-action:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.table-action.is-danger:hover {
  border-color: rgba(255, 109, 121, 0.28);
  color: var(--danger);
}

.admin-loading {
  display: grid;
  min-height: 200px;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
}

.loading-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 10px;
}

.loading-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotBounce 1s ease-in-out infinite;
}

.loading-dots i:nth-child(2) { animation-delay: 120ms; }
.loading-dots i:nth-child(3) { animation-delay: 240ms; }

@keyframes dotBounce {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}

dialog {
  width: min(680px, calc(100% - 30px));
  max-height: calc(100vh - 36px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: #0b1721;
  color: var(--text);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.58);
}

dialog::backdrop {
  background: rgba(1, 5, 9, 0.75);
  backdrop-filter: blur(6px);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 24px;
  border-bottom: 1px solid var(--line);
}

.dialog-header h2 {
  margin: 0;
  font-size: 18px;
}

.dialog-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.dialog-body {
  padding: 24px;
}

.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 17px 24px;
  border-top: 1px solid var(--line);
  background: rgba(4, 10, 16, 0.35);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field > span:first-child {
  color: var(--muted-strong);
  font-size: 10px;
  font-weight: 650;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  background: #07111a;
  color: var(--text);
  font-size: 12px;
}

.field textarea {
  min-height: 88px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(86, 215, 229, 0.55);
  box-shadow: 0 0 0 3px rgba(86, 215, 229, 0.08);
}

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

.field-hint,
.field-optional {
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}

.field input[readonly] {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.75;
}

.dropzone {
  position: relative;
  display: grid;
  min-height: 138px;
  place-items: center;
  padding: 20px;
  border: 1px dashed rgba(86, 215, 229, 0.3);
  border-radius: 12px;
  background: rgba(86, 215, 229, 0.035);
  text-align: center;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.dropzone:hover,
.dropzone.is-dragging {
  border-color: var(--accent);
  background: rgba(86, 215, 229, 0.075);
}

.dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.dropzone strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
}

.dropzone span {
  color: var(--muted);
  font-size: 10px;
}

.dropzone-file {
  margin-top: 9px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(4, 10, 16, 0.28);
}

.checkbox-field input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.checkbox-field label {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  cursor: pointer;
}

.checkbox-field small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.upload-progress {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(4, 10, 16, 0.34);
}

.upload-progress[hidden] {
  display: none;
}

.upload-progress-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted-strong);
  font-family: var(--mono);
  font-size: 9px;
}

.upload-progress progress {
  width: 100%;
  height: 5px;
  overflow: hidden;
  border: 0;
  border-radius: 5px;
  background: var(--line);
}

.upload-progress progress::-webkit-progress-bar { background: var(--line); }
.upload-progress progress::-webkit-progress-value { background: linear-gradient(90deg, var(--accent), var(--blue)); }
.upload-progress progress::-moz-progress-bar { background: linear-gradient(90deg, var(--accent), var(--blue)); }

.form-error {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 109, 121, 0.2);
  border-radius: 8px;
  background: rgba(255, 109, 121, 0.06);
  color: #ffacb4;
  font-size: 10px;
}

.form-error[hidden] {
  display: none;
}

.confirm-dialog {
  width: min(430px, calc(100% - 30px));
}

.confirm-copy {
  padding: 25px;
}

.confirm-copy h2 {
  margin-bottom: 9px;
  font-size: 18px;
}

.confirm-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.toast-region {
  position: fixed;
  z-index: 300;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: min(360px, calc(100% - 44px));
  gap: 8px;
}

.toast {
  padding: 13px 15px;
  border: 1px solid rgba(101, 223, 167, 0.22);
  border-radius: 10px;
  background: #0d1c25;
  color: var(--muted-strong);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
  font-size: 11px;
  animation: toastIn 180ms ease-out;
}

.toast.is-error {
  border-color: rgba(255, 109, 121, 0.24);
  color: #ffb7bd;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.fatal-state {
  display: grid;
  min-height: calc(100vh - 160px);
  place-items: center;
  text-align: center;
}

.fatal-state > div {
  max-width: 440px;
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-soft);
}

.fatal-state h1 {
  margin-bottom: 10px;
  font-size: 24px;
}

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

@media (max-width: 1080px) {
  .site-nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr 0.95fr; gap: 38px; }
  .control-preview { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-layout { gap: 65px; }
  .discord-panel { grid-template-columns: 90px minmax(0, 1fr); }
  .discord-signal { width: 85px; height: 85px; border-radius: 22px; }
  .discord-action { grid-column: 2; align-items: flex-start; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  :root { --shell: min(100% - 34px, 720px); }
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 17px;
    left: 17px;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: rgba(8, 18, 27, 0.98);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: grid; }
  .site-nav a { min-height: 45px; padding: 12px; border-radius: 8px; }
  .site-nav a:hover { background: rgba(255, 255, 255, 0.035); }
  .site-nav .nav-discord { margin-top: 5px; text-align: center; }
  .site-nav .nav-portal { margin-top: 5px; }
  .nav-toggle[aria-expanded="true"] i { background: transparent; }
  .nav-toggle[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }
  .hero { padding-top: 132px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 670px; }
  .control-preview { margin-top: 20px; }
  .release-strip { margin-top: 56px; }
  .section { padding: 96px 0; }
  .split-heading, .faq-layout { grid-template-columns: 1fr; gap: 38px; }
  .status-grid { grid-template-columns: 1fr; }
  .status-card { min-height: 235px; }
  .status-card-top { margin-bottom: 34px; }
  .roadmap-layout { grid-template-columns: 1fr; gap: 58px; }
  .roadmap-copy { position: static; }
  .footer-main { grid-template-columns: 1fr; gap: 25px; }
  .footer-main nav { justify-content: flex-start; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar {
    position: fixed;
    z-index: 60;
    left: 0;
    width: min(280px, 85vw);
    transform: translateX(-102%);
    transition: transform 180ms ease;
  }
  .admin-sidebar.is-open { transform: translateX(0); box-shadow: 30px 0 70px rgba(0, 0, 0, 0.45); }
  .admin-mobile-menu { display: grid; }
  .admin-topbar { padding: 0 20px; }
  .admin-topbar-title { margin-right: auto; margin-left: 12px; }
  .admin-content { width: min(100% - 40px, 760px); padding-top: 34px; }
  .portal-download-card { grid-template-columns: 1fr; gap: 18px; }
  .portal-download-button { justify-self: start; }
  .report-card-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 28px); }
  .header-inner { min-height: 68px; }
  .brand-copy strong { font-size: 12px; }
  .brand-mark { flex-basis: 34px; width: 34px; height: 34px; }
  .nav-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero { padding-top: 112px; }
  .hero h1 { font-size: clamp(43px, 15vw, 63px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-facts { display: grid; gap: 8px; }
  .control-preview { padding: 14px; border-radius: 20px; }
  .preview-topbar { align-items: flex-start; }
  .live-chip { padding: 5px 7px; font-size: 7px; }
  .preview-metrics > div { padding: 10px; }
  .preview-metrics strong { font-size: 18px; }
  .preview-metrics span, .preview-metrics small { font-size: 7px; }
  .board-row { grid-template-columns: 37px minmax(0, 1fr) 34px; gap: 7px; padding: 10px 8px; }
  .line-badge { width: 31px; }
  .board-row strong { font-size: 9px; }
  .connection-card { grid-template-columns: 31px minmax(0, 1fr); }
  .connection-status { display: none; }
  .release-strip { grid-template-columns: 1fr auto; gap: 8px 14px; padding-inline: 0; }
  .release-progress { grid-column: 1 / -1; grid-row: 2; }
  .release-strip small { grid-row: 3; grid-column: 1 / -1; }
  .section { padding: 80px 0; }
  .section h2, .discord-panel h2 { font-size: 36px; }
  .intro-copy { font-size: 15px; }
  .status-grid, .feature-grid { margin-top: 42px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card-wide { grid-column: auto; }
  .feature-card { min-height: 260px; }
  .mini-route { display: none; }
  .roadmap-item { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
  .roadmap-node { width: 44px; height: 44px; border-radius: 12px; }
  .roadmap-item::before { top: 39px; left: 21px; }
  .public-release { grid-template-columns: 1fr; gap: 20px; padding: 21px; }
  .release-download { width: 100%; }
  .faq-layout { gap: 28px; }
  .discord-section { padding-bottom: 70px; }
  .discord-panel { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
  .discord-signal { width: 72px; height: 72px; }
  .discord-action { grid-column: auto; width: 100%; }
  .discord-action .button { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .admin-account-copy { display: none; }
  .admin-content { width: calc(100% - 28px); padding-top: 26px; }
  .admin-heading { align-items: stretch; flex-direction: column; }
  .admin-heading .button { width: 100%; }
  .admin-heading > a.button { width: 100%; }
  .admin-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .admin-stat { min-height: 118px; padding: 16px; }
  .admin-stat strong { font-size: 22px; }
  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td { display: block; width: 100%; }
  .admin-table thead { display: none; }
  .admin-table tr { padding: 15px; border-bottom: 1px solid var(--line); }
  .admin-table tr:last-child { border-bottom: 0; }
  .admin-table td { padding: 6px 0; border: 0; }
  .admin-table tr:hover td { background: transparent; }
  .file-cell { min-width: 0; margin-bottom: 7px; }
  .table-actions { justify-content: flex-start; flex-wrap: wrap; margin-top: 5px; }
  .overview-upload-actions { align-items: flex-end; flex-direction: column; }
  .portal-download-button { width: 100%; }
  .report-card-top { align-items: flex-start; }
  .report-actions { width: 100%; }
  .report-actions .table-action { flex: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .dialog-body { padding: 19px; }
  .dialog-header, .dialog-footer { padding-inline: 19px; }
  .dialog-footer { flex-direction: column-reverse; }
  .dialog-footer .button { width: 100%; }
}

@media (max-width: 420px) {
  .admin-stats { grid-template-columns: 1fr; }
  .preview-topbar .live-chip { display: none; }
  .release-meta { display: grid; gap: 3px; }
}

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