@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/Onest-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/Onest-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/JetBrainsMono-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F;
}

:root {
  --pw-bg: #0b0c10;
  --pw-tile: #14161d;
  --pw-tile2: #1b1e28;
  --pw-tile3: #262a37;
  --pw-ink: #eef0f5;
  --pw-soft: #c9cdd8;
  --pw-muted: #8a90a2;
  --pw-dim: #5d6375;
  --pw-line: rgba(255, 255, 255, .07);
  --pw-lime: #c6ff3d;
  --pw-refresh: #34e3a5;
  --pw-refresh-rgb: 52, 227, 165;
  --pw-x100: #ff9f2e;
  --pw-x100-rgb: 255, 159, 46;
  --pw-font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pw-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--pw-bg); }
body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 40px 16px;
  background: radial-gradient(50% 50% at 50% 40%, rgba(198, 255, 61, .05), transparent 70%) no-repeat, var(--pw-bg);
  color: var(--pw-ink);
  font: 15px/1.5 var(--pw-font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
::selection { background: rgba(198, 255, 61, .3); color: #fff; }

.pw-select { width: 100%; max-width: 520px; }

.pw-card { padding: 32px; border: 1px solid var(--pw-line); border-radius: 30px; background: var(--pw-tile); }
.pw-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 30px; }
.pw-card__top img { display: block; height: 26px; width: auto; }

.pw-langs { display: flex; padding: 3px; border-radius: 999px; background: var(--pw-bg); }
.pw-langs a { padding: 6px 12px; border-radius: 999px; color: var(--pw-muted); font-size: 12px; font-weight: 700; transition: color .15s ease; }
.pw-langs a:hover { color: var(--pw-ink); }
.pw-langs a.is-on { background: var(--pw-tile3); color: var(--pw-ink); }

.pw-card h1 { margin: 0 0 6px; color: #fff; font-size: 30px; font-weight: 900; line-height: 1.1; letter-spacing: -.035em; }
.pw-lead { margin: 0 0 24px; color: var(--pw-muted); }

.pw-list { display: grid; gap: 8px; }
.pw-srv {
  --c: var(--pw-refresh);
  --c-rgb: var(--pw-refresh-rgb);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 14px;
  border: 1px solid var(--pw-line);
  border-radius: 20px;
  background: var(--pw-bg);
  transition: border-color .15s ease, background .15s ease;
}
.pw-srv--x100 { --c: var(--pw-x100); --c-rgb: var(--pw-x100-rgb); }
.pw-srv:hover, .pw-srv:focus-visible { border-color: rgba(var(--c-rgb), .5); background: rgba(var(--c-rgb), .05); outline: 0; }
.pw-srv__ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(var(--c-rgb), .14);
  color: var(--c);
  font-family: var(--pw-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.04em;
}
.pw-srv__body { flex: 1; min-width: 0; }
.pw-srv__name { display: block; color: #fff; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.pw-srv__descr { display: block; color: var(--pw-muted); font-size: 13px; }
.pw-srv__arrow { color: var(--pw-muted); font-size: 20px; transition: transform .15s ease, color .15s ease; }
.pw-srv:hover .pw-srv__arrow { transform: translateX(3px); color: var(--c); }

.pw-reg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--pw-line);
  color: var(--pw-muted);
  font-size: 14px;
}
.pw-reg__links { display: flex; gap: 6px; }
.pw-reg__links a { padding: 8px 14px; border-radius: 999px; background: var(--pw-tile2); color: var(--pw-ink); font-size: 13px; font-weight: 500; transition: background .15s ease; }
.pw-reg__links a:hover { background: var(--pw-tile3); }

.pw-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 22px 0 0; color: var(--pw-muted); font-size: 13px; }
.pw-links a { transition: color .15s ease; }
.pw-links a:hover { color: var(--pw-lime); }

.pw-copy { margin: 16px 0 0; color: var(--pw-muted); font-size: 12px; line-height: 1.6; text-align: center; }
.pw-copy a { color: var(--pw-soft); transition: color .15s ease; }
.pw-copy a:hover { color: var(--pw-lime); }
.pw-copy span { display: block; margin-top: 6px; color: var(--pw-dim); font-size: 11px; }

@media (max-width: 480px) {
  body { padding: 20px 12px; }
  .pw-card { padding: 24px 20px; border-radius: 24px; }
  .pw-card h1 { font-size: 26px; }
  .pw-reg { flex-direction: column; align-items: flex-start; }
}
