:root {
  color-scheme: dark;
  --background: #090810;
  --surface: rgba(24, 20, 36, 0.94);
  --surface-soft: rgba(43, 34, 61, 0.68);
  --text: #f5f1ff;
  --muted: #c5bdd3;
  --accent: #caa7ff;
  --accent-strong: #9664dc;
  --line: rgba(202, 167, 255, 0.24);
  --warning: #ffd89a;
  --max-width: 860px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% -10%, rgba(115, 71, 166, 0.33), transparent 38rem),
    radial-gradient(circle at 95% 12%, rgba(67, 42, 102, 0.24), transparent 34rem),
    var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

a:hover {
  color: #e1ceff;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 8, 16, 0.88);
  backdrop-filter: blur(18px);
}

.site-header__inner,
.document,
.site-footer__inner {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 20px;
}

.brand {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 16px;
  font-size: 0.86rem;
}

.document {
  padding-block: 64px 80px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.25;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.35rem);
  letter-spacing: -0.035em;
}

h2 {
  margin: 2.75rem 0 1rem;
  font-size: clamp(1.35rem, 4vw, 1.8rem);
}

h3 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.1rem;
}

p,
li {
  color: var(--muted);
}

strong {
  color: var(--text);
}

.meta,
.notice,
.requisites,
.consent-box {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  padding: 22px;
}

.meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
}

.meta p {
  margin: 0;
}

.notice {
  border-color: rgba(255, 216, 154, 0.28);
  background: rgba(73, 53, 29, 0.32);
}

.notice p {
  margin: 0;
  color: var(--warning);
}

.document section {
  scroll-margin-top: 88px;
}

.document ol,
.document ul {
  padding-left: 1.35rem;
}

.document li + li {
  margin-top: 0.55rem;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--surface);
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--text);
  background: var(--surface-soft);
  font-size: 0.9rem;
}

tr:last-child td {
  border-bottom: 0;
}

.requisites dl {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 10px 22px;
  margin: 0;
}

.requisites dt {
  color: var(--muted);
}

.requisites dd {
  margin: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 28px 44px;
}

.site-footer p {
  margin: 0;
  font-size: 0.88rem;
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding-block: 12px;
  }

  .document {
    padding-block: 42px 64px;
  }

  .meta,
  .requisites dl {
    grid-template-columns: 1fr;
  }

  .requisites dt:not(:first-child) {
    margin-top: 8px;
  }

  .site-footer__inner {
    flex-direction: column;
  }
}
