:root {
  color-scheme: dark;
  --acid: #8cff00;
  --surface: rgba(23, 25, 23, 0.94);
  --border: rgba(255, 255, 255, 0.1);
  --text: #eef2ec;
  --muted: #a4aba1;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: #141614;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.75;
  background:
    linear-gradient(rgba(14, 16, 14, 0.9), rgba(14, 16, 14, 0.97)),
    url("imgs_pc/background.webp") center / cover fixed no-repeat;
}

a {
  color: var(--acid);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 15, 13, 0.84);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  width: min(900px, calc(100% - 36px));
  min-height: 70px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.back-link {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.back-link:hover {
  color: #0a0c09;
  background: var(--acid);
  border-color: var(--acid);
}

.document {
  width: min(900px, calc(100% - 36px));
  margin: clamp(34px, 6vw, 72px) auto;
  padding: clamp(28px, 6vw, 72px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.document__tag {
  margin: 0 0 12px;
  color: var(--acid);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h2 {
  margin: 44px 0 12px;
  padding-top: 4px;
  color: #f6f9f4;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

h3 {
  margin: 24px 0 8px;
  color: #f0f4ee;
  font-size: 17px;
}

p {
  margin: 0 0 16px;
  color: #ccd2c9;
  font-size: 16px;
}

ul {
  margin: 8px 0 18px;
  padding-left: 24px;
  color: #ccd2c9;
}

li {
  margin-bottom: 8px;
  padding-left: 4px;
}

li::marker {
  color: var(--acid);
}

strong {
  color: #f4f7f2;
}

.date {
  width: fit-content;
  margin: 18px 0 38px;
  padding: 7px 12px;
  color: #dfffc0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(140, 255, 0, 0.07);
  border: 1px solid rgba(140, 255, 0, 0.22);
  border-radius: 999px;
}

.note {
  padding: 17px 18px;
  color: #d9ded6;
  font-style: normal;
  background: rgba(140, 255, 0, 0.06);
  border-left: 3px solid var(--acid);
  border-radius: 0 12px 12px 0;
}

.contact-block {
  margin-top: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.site-footer {
  width: min(900px, calc(100% - 36px));
  margin: -30px auto 48px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 600px) {
  body {
    background-image:
      linear-gradient(rgba(14, 16, 14, 0.9), rgba(14, 16, 14, 0.97)),
      url("imgs/background.webp");
  }

  .site-header__inner,
  .document,
  .site-footer {
    width: min(100% - 24px, 900px);
  }

  .document {
    margin-block: 18px 44px;
    padding: 28px 20px;
    border-radius: 20px;
  }

  h2 {
    margin-top: 36px;
  }

  p,
  ul {
    font-size: 15px;
  }

  .back-link {
    padding-inline: 13px;
  }
}
