@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("manrope-400.ttf") format("truetype");
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("manrope-500.ttf") format("truetype");
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("manrope-600.ttf") format("truetype");
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("manrope-700.ttf") format("truetype");
}

:root {
  color-scheme: dark;
  --bg: #070b0f;
  --bar: #101418;
  --ink: #0b0e11;
  --text: #edf3f1;
  --text-2: #c5d4ce;
  --muted: #9aada6;
  --mint: #6ee7c5;
  --on-mint: #06201a;
  --line: rgba(237, 243, 241, 0.1);
  --mint-line: rgba(110, 231, 197, 0.45);
  --panel: #12181c;
  --danger: #fb7185;
  --shadow: 0 22px 40px -28px rgba(0, 0, 0, 0.85);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, "Segoe UI Variable", "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--mint); color: var(--on-mint); }
:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-thumb {
  background: #24302c;
  border: 3px solid var(--bg);
  border-radius: 99px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--mint);
  color: var(--on-mint);
  padding: 8px 12px;
  border-radius: 10px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.top {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
  padding: 0 28px;
  background: rgba(7, 11, 15, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.brand img { width: 34px; height: 34px; }
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  text-decoration: none;
  color: var(--text-2);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 10px;
}
.nav a:hover { background: rgba(237, 243, 241, 0.06); color: var(--text); }
.nav a[aria-current="page"] { color: var(--mint); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}
.nav-toggle svg { width: 22px; height: 22px; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: center;
  padding: 54px 0 28px;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 4.6vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 700;
  text-wrap: balance;
  max-width: 11ch;
}
.lede {
  margin: 0;
  max-width: 46ch;
  color: var(--text-2);
  font-size: 1.08rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--on-mint);
  font-weight: 700;
  font-size: 15.5px;
  text-align: center;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-decoration: none;
  border: 0;
  box-shadow: 0 16px 28px -20px var(--mint);
  transition: transform 180ms var(--ease), filter 180ms var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn.ghost {
  background: transparent;
  color: var(--text);
  box-shadow: none;
  border: 1px solid var(--line);
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.facts li { display: inline-flex; align-items: center; gap: 7px; }
.facts svg { width: 15px; height: 15px; color: var(--mint); }

.stage {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  min-height: 520px;
  display: grid;
  grid-template-columns: 248px 1fr;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}
.stage-side {
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: 64px 1fr;
  background: #0c1114;
  border-right: 1px solid var(--line);
  min-height: 0;
}
.stage-note {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 13px;
}
.rail, .channels { background: transparent; }
.channels { padding: 16px 12px; min-width: 0; }
.rail { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0; }
.rail-split { width: 28px; height: 2px; border-radius: 2px; background: rgba(237, 243, 241, 0.14); }
.mebar {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.me-tools { display: flex; gap: 6px; color: var(--text-2); }
.me-tools svg { width: 18px; height: 18px; }
.orb {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #1a2420;
  display: grid;
  place-items: center;
  color: var(--text-2);
}
.orb svg { width: 20px; height: 20px; }
.orb.is-on { background: #145e4c; color: #d9fff3; }
.channels h2 { margin: 4px 8px 12px; font-size: 14px; letter-spacing: -0.02em; }
.ch {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-2);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}
.ch svg { width: 15px; height: 15px; flex: none; color: var(--muted); }
.ch.is-on { background: rgba(110, 231, 197, 0.12); color: var(--text); }
.ch.is-on svg { color: var(--mint); }
.thread { padding: 16px 16px 12px; display: flex; flex-direction: column; min-width: 0; min-height: 280px; }
.thread-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.thread-head svg { width: 16px; height: 16px; color: var(--muted); }
.thread-head span { margin-left: auto; color: var(--muted); font-weight: 600; font-size: 13px; }
.msgs { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; }
.msg { display: grid; grid-template-columns: 36px 1fr; gap: 10px; }
.av {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #e7fff6;
  background: #145e4c;
}
.av.b { background: #1d4e66; color: #e7f7ff; }
.av.c { background: #6a4e1e; color: #fff6e0; }
.msg strong { font-size: 14px; }
.msg time { color: var(--muted); font-size: 12px; font-weight: 600; margin-left: 8px; }
.msg p { margin: 2px 0 0; color: var(--text-2); font-size: 14.5px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  background: #0c1114;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}
.chip svg { width: 14px; height: 14px; color: var(--mint); }
.composer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  background: #0c1114;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.composer svg { width: 16px; height: 16px; margin-left: auto; }

.band { padding: 64px 0; }
.band h2 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 18ch;
}
.band > .wrap > p.intro { margin: 0 0 28px; max-width: 62ch; color: var(--text-2); }
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(110, 231, 197, 0.12);
  color: var(--mint);
}
.num svg { width: 20px; height: 20px; }
.steps h3 { margin: 0 0 4px; font-size: 17px; letter-spacing: -0.02em; }
.steps p { margin: 0; color: var(--text-2); }
.slip {
  background: var(--panel);
  border: 1px solid var(--mint-line);
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
}
.slip .page-actions { margin-top: 16px; }
.slip .btn { width: 100%; }
.slip h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -0.03em; }
.slip > p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.slip dl { margin: 0; }
.slip div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.slip dt { color: var(--muted); font-weight: 600; font-size: 14px; }
.slip dd { margin: 0; font-weight: 650; }
code, .mono {
  font-family: "Cascadia Mono", "Segoe UI Mono", ui-monospace, monospace;
  font-size: 0.92em;
}

.uses {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
}
.use {
  padding: 8px 4px 8px 0;
}
.use:first-child { padding-right: 18px; }
.use svg.big { width: 28px; height: 28px; color: var(--mint); }
.use h3 { margin: 12px 0 6px; font-size: 20px; letter-spacing: -0.03em; }
.use p { margin: 0; color: var(--text-2); }
.use ul { margin: 12px 0 0; padding: 0; list-style: none; color: var(--text-2); }
.use li { display: flex; gap: 8px; align-items: flex-start; padding: 5px 0; }
.use li svg { width: 16px; height: 16px; margin-top: 3px; color: var(--mint); flex: none; }

.plain { padding: 28px 0 72px; }
.prose { max-width: 68ch; }
.prose h1 {
  margin: 8px 0 12px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.prose h2 { margin: 36px 0 8px; font-size: 1.35rem; letter-spacing: -0.03em; }
.prose p, .prose li { color: var(--text-2); }
.prose a { color: var(--mint); }
.notice {
  margin: 20px 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(110, 231, 197, 0.08);
  color: var(--text);
}
.notice strong { color: var(--text); }

.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
}
.foot-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot a { color: var(--text-2); text-decoration: none; font-weight: 600; }
.foot a:hover { color: var(--text); }
.fine { margin: 16px 0 0; color: var(--muted); font-size: 13.5px; max-width: 78ch; }

.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

@media (max-width: 980px) {
  .hero, .split, .uses { grid-template-columns: 1fr; }
  .stage { min-height: 420px; }
  .hero h1 { max-width: 16ch; }
}
@media (max-width: 760px) {
  .top { padding: 0 16px; }
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 12px 16px;
    background: #0c1114;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .stage { grid-template-columns: 1fr; grid-template-rows: auto auto auto; min-height: 0; }
  .stage-side { grid-row: auto; grid-template-columns: 1fr; border-right: 0; border-bottom: 1px solid var(--line); }
  .rail { flex-direction: row; justify-content: flex-start; padding: 10px 12px; }
  .channels { border-top: 1px solid var(--line); }
  .slip div { grid-template-columns: 1fr; gap: 2px; }
  .slip .btn { font-size: 14px; padding: 0 12px; }
  .hero { padding-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
