:root {
  --bg: #101218;
  --card: #181c25;
  --line: #2a3140;
  --text: #e8eaef;
  --muted: #9aa3b2;
  --red: #ff2d2d;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
.wrap {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 56px;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand strong { font-size: 17px; font-weight: 650; letter-spacing: -0.02em; }
.brand strong span { color: var(--red); }
.tools { display: flex; align-items: center; gap: 12px; }
.beta {
  margin: 0;
  padding: 4px 9px;
  border: 1px solid #6a3038;
  border-radius: 999px;
  color: #f0c8c8;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}
.langs { display: flex; gap: 2px; }
.langs a {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 7px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 650;
}
.langs a[aria-current="page"] { color: var(--text); background: #1c212c; }
.langs a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
h1 {
  margin: 48px 0 0;
  max-width: 16em;
  font-size: 34px;
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.lead {
  margin: 16px 0 0;
  max-width: 40em;
  color: #c5cad3;
  font-size: 16px;
}
.free, .run {
  margin: 22px 0 0;
  max-width: 40em;
  padding: 12px 14px;
  border-left: 2px solid var(--red);
  background: #161920;
  color: #d5d8e0;
  font-size: 14px;
}
.run { margin-top: 10px; }
.test {
  margin: 10px 0 0;
  max-width: 40em;
  color: var(--muted);
  font-size: 13.5px;
}
.free strong { font-weight: 640; color: var(--text); }
.presence {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
  max-width: 440px;
}
.presence div {
  padding: 14px 16px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.presence b {
  display: block;
  font-size: 28px;
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1;
}
.presence span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.presence .live b { color: var(--red); }
.servers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.server {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-width: 0;
}
.pulse {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: #ff2d2d;
  animation: blink 1.35s ease-in-out infinite;
}
.pulse.on { background: #3ddc84; }
.pulse.load { background: #ff9a1f; }
.pulse.off { background: #ff2d2d; }
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.28; }
}
.server div { min-width: 0; }
.server b {
  display: block;
  font-size: 14px;
  font-weight: 640;
  line-height: 1.3;
}
.server span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
}
.server strong {
  margin-left: auto;
  font-size: 26px;
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1;
}
@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; }
}
h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 640;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.section { margin-top: 56px; }
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.feature {
  padding: 16px 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.ico {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.ico svg { width: 20px; height: 20px; display: block; }
.feature h3 { margin: 0; font-size: 15px; font-weight: 640; }
.feature p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.sub, .runnote {
  margin: 10px 0 0;
  max-width: 40em;
  color: var(--muted);
  font-size: 15px;
}
.runnote { color: #d5d8e0; }
.downloads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.dl {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.dl:hover { border-color: #6a3038; }
.dl:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #12151c;
  flex: 0 0 auto;
}
.mark svg { width: 22px; height: 22px; display: block; }
.dl b { display: block; font-size: 15px; font-weight: 640; }
.dl small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; }
.get {
  margin-left: auto;
  color: var(--text);
  font-size: 13px;
  font-weight: 640;
  white-space: nowrap;
}
.get span { color: var(--red); }
.why p { margin: 12px 0 0; max-width: 40em; color: #c5cad3; }
.contact {
  margin-top: 18px;
  max-width: 560px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.contact form { display: grid; gap: 12px; }
.contact label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
.contact input, .contact select, .contact textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #12151c;
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color-scheme: dark;
}
.contact textarea { min-height: 130px; resize: vertical; }
.contact input:focus-visible, .contact select:focus-visible, .contact textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}
.contact button {
  justify-self: start;
  border: 0;
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.contact button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.contact button:disabled { background: #3a3033; color: #b3a8a8; cursor: default; }
.notice {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #12151c;
  color: #d5d8e0;
  font-size: 14px;
}
.notice.ok { border: 1px solid #2f4a38; }
.notice.bad { border: 1px solid #6a3038; }
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
footer {
  margin-top: 56px;
  padding-top: 16px;
  border-top: 1px solid #222733;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}
footer a { color: var(--muted); }
@media (max-width: 800px) {
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: min(920px, calc(100% - 32px)); padding-top: 32px; }
  h1 { margin-top: 36px; font-size: 28px; }
  .features, .downloads, .presence, .servers { grid-template-columns: 1fr; }
  .section { margin-top: 44px; }
  .beta { white-space: normal; }
}
