:root {
  color-scheme: dark;
  --bg: #06080d;
  --panel: #0d111b;
  --text: #edf3ff;
  --muted: #aab5c8;
  --line: #263149;
  --accent: #65a8ff;
  --gold: #d9b66f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: radial-gradient(circle at top, #10182a 0, #06080d 45%);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.72;
}
.wrap {
  max-width: 920px;
  margin: auto;
  padding: 56px 24px 90px;
}
header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 36px;
}
.brand {
  font-size: 24px;
  letter-spacing: 0.18em;
  font-weight: 700;
}
.tag {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lang {
  color: var(--accent);
}
h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 18px 0 8px;
}
h2 {
  margin-top: 36px;
  font-size: 23px;
}
p,
li {
  color: #d9e1ef;
}
.meta,
.note {
  color: var(--muted);
}
.notice {
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(13, 17, 27, 0.78);
  border-radius: 14px;
}
a {
  color: var(--accent);
  text-decoration: none;
}
footer {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 600px) {
  h1 {
    font-size: 32px;
  }
}
/* Legal navigation actions */
.legal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.back-home,
.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.back-home:hover,
.back-home:focus-visible,
.lang:hover,
.lang:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(101, 168, 255, 0.35);
}

@media (max-width: 520px) {
  .legal-actions {
    gap: 10px;
  }

  .back-home,
  .lang {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 0.72rem;
  }
}
