* {
  box-sizing: border-box;
}

:root {
  --bg: #0f131e;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.58);
  --soft: rgba(255, 255, 255, 0.38);
  --line: rgba(255, 255, 255, 0.12);
  --blue: #8ab4ff;
  --green: #8bffb0;
  --yellow: #ffd36a;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100dvh;

  color: var(--text);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background-color: var(--bg);
  background-size: 42px 42px;
  background-position: top center;

  overflow-x: hidden;
}

a {
  color: inherit;
}

.page-wrap {
  width: min(980px, calc(100% - 34px));
  margin: 0 auto;
  padding: 24px 0 80px;
}

.tools-main {
  padding-top: 86px;
}

.tools-hero {
  margin-bottom: 52px;
}

.tools-hero h1 {
  margin: 0;

  color: white;
  font-size: clamp(54px, 9vw, 112px);
  line-height: 0.84;
  letter-spacing: -0.09em;
}

.hero-text {
  margin: 20px 0 0;
  font-weight: lighter;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: clamp(20px, 2vw, 20px);

  color: rgba(255, 255, 255, 0.80);
}

.tools-index-section {
  padding: 26px;

  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);

  background: rgba(255, 255, 255, 0.045);

  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tools-index {
  list-style: none;

  margin: 0;
  padding: 0;
}

.tools-index li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tools-index li:last-child {
  border-bottom: 0;
}

.tools-index a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;

  padding: 19px 0;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.tools-index a:hover {
  transform: translateX(4px);
}

.tool-number {
  color: rgba(138, 180, 255, 0.52);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.tool-content {
  min-width: 0;
}

.tool-content strong {
  display: block;

  margin-bottom: 5px;

  color: white;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.tool-content small {
  display: block;

  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.tool-status {
  padding: 7px 10px;

  border-radius: 999px;

  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tool-status.available {
  color: rgba(5, 8, 22, 0.95);
  background: rgba(139, 255, 176, 0.9);
}

.tool-status.planned {
  color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

/* MOBILE */

@media (max-width: 720px) {
  .page-wrap {
    width: min(100% - 24px, 980px);
    padding-top: 14px;
  }

  .tools-main {
    padding-top: 58px;
  }

  .tools-index-section {
    padding: 18px;
    border-radius: 22px;
  }

  .section-header {
    display: block;
  }

  .section-header p {
    margin-top: 10px;
  }

  .tools-index a {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;

    padding: 17px 0;
  }

  .tool-status {
    grid-column: 2;
    width: fit-content;
    margin-top: -2px;
  }

  .tool-content strong {
    font-size: 18px;
  }

  .tool-content small {
    font-size: 12.5px;
  }
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -3;

  background-color: #06073d4f;

  background-size: 42px 42px;
  display: none;
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(5, 5, 81, 0.524),
    rgba(6, 9, 74, 0.54)
  );

  pointer-events: none;
}

.page-wrap {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
  padding: 24px 0 70px;
}

.site-topbar {
  position: relative;
  z-index: 50;

  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 62px;
  padding: 0 14px;
}

.site-logo {
  width: 42px;
  height: 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 15px;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.25);
  text-decoration: none;
}

.site-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.menu-toggle {
  width: 44px;
  height: 44px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.13);

  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);

  cursor: pointer;
  text-decoration: none;
}

.icon-button:hover,
.menu-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: white;
}

.icon-button svg {
  width: 21px;
  height: 21px;
}

.menu-toggle {
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.menu-toggle span {
  width: 20px;
  height: 2px;

  border-radius: 999px;
  background: currentColor;

  transition:
    transform 0.28s ease,
    opacity 0.28s ease;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =====================
   SIDE MENU
===================== */

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;

  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.25s ease;
}

.menu-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10000;

  width: 20vw;
  min-width: 280px;
  max-width: 420px;
  height: 100vh;

  padding: 28px;
  border-left: 1px solid rgba(255,255,255,.14);
  background: rgba(0, 0, 50, 0.5);
  box-shadow: -30px 0 80px rgba(0,0,0,.45);

  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.side-menu.show {
  transform: translateX(0);
}

.side-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.side-menu-kicker {
  margin: 0 0 6px;

  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.side-menu h2 {
  margin: 0;

  color: white;
  font-size: 34px;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.side-menu-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.side-menu-links a {
  padding: 13px 14px;

  border-radius: 16px;

  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;

  font-size: 15px;
  font-weight: 850;

  background: rgba(255, 255, 255, 0.045);
  border: 1px solid transparent;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.side-menu-links a:hover,
.side-menu-links a.active {
  color: white;
  background: rgba(138, 180, 255, 0.12);
  border-color: rgba(138, 180, 255, 0.22);
  transform: translateX(-2px);
}

.side-menu-bottom {
  margin-top: auto;
  padding-top: 18px;
}

.menu-close {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0);
  background: rgba(255,255,255,.08);
  color: white;
  font-size: 28px;
  cursor: pointer;
}

.menu-close:hover {
  background: rgba(255,255,255,.14);
}

.support-button {
  position: relative;

  display: flex;
  align-items: center;
  gap: 12px;

  width: 100%;
  padding: 14px 15px;

  border-radius: 18px;
  border: 1px solid rgba(143, 156, 255, 0.32);

  background:
    radial-gradient(circle at top right, rgba(143, 162, 255, 0.28), transparent 45%),
    rgba(143, 158, 255, 0.1);

  color: white;
  text-decoration: none;

  overflow: hidden;

  box-shadow:
    0 16px 45px rgba(79, 100, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.support-button::before {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.16),
    transparent
  );

  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.support-button:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 156, 255, 0.58);

  background:
    radial-gradient(circle at top right, rgba(143, 151, 255, 0.38), transparent 45%),
    rgba(143, 149, 255, 0.16);

  box-shadow:
    0 20px 60px rgba(79, 103, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.support-button:hover::before {
  transform: translateX(120%);
}

.support-icon {
  width: 38px;
  height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;

  border-radius: 14px;

  color: #008cff;

  font-size: 35px;
  font-weight: 900;
}

.support-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.support-text strong {
  color: white;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1;
}

footer {
  padding:20px;
  color:var(--muted);
  text-align:center;
}