:root {
  color-scheme: dark;
  --bg: #0b0f14;
  --panel: #111821;
  --line: #243244;
  --text: #e7edf4;
  --muted: #91a0b2;
  --accent: #60a5fa;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI Variable", Inter, "Segoe UI", Arial, sans-serif;
}

a {
  color: #9fc7f5;
}

.legalHeader {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 66px;
  padding: 10px 24px;
  border-bottom: 1px solid rgb(148 163 184 / 13%);
  background: rgb(8 12 17 / 88%);
  backdrop-filter: blur(14px);
}

.brand img {
  display: block;
  width: auto;
  height: 42px;
}

.legalHeader nav {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  overflow-x: auto;
}

.legalHeader nav a {
  color: #aebbc8;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.legalHeader nav a:hover {
  color: #fff;
}

.landingReturn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgb(96 165 250 / 26%);
  border-radius: 999px;
  background: rgb(96 165 250 / 10%);
  color: #dbeafe;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.legalPage {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 58px 22px 80px;
}

section {
  display: grid;
  gap: 18px;
}

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

h1,
h2,
p {
  margin: 0;
}

h1 {
  color: #edf4fb;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 620;
  line-height: 1.08;
}

.notice {
  padding: 12px 14px;
  border: 1px solid rgb(246 195 95 / 24%);
  border-radius: 8px;
  background: rgb(246 195 95 / 8%);
  color: #f1d48a;
  font-size: 14px;
  line-height: 1.5;
}

article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgb(96 165 250 / 13%);
  border-radius: 8px;
  background: linear-gradient(180deg, rgb(17 24 33 / 92%), rgb(12 18 25 / 92%));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 4%);
}

h2 {
  color: #edf4fb;
  font-size: 20px;
  font-weight: 610;
}

p {
  color: #aebbc8;
  font-size: 15px;
  line-height: 1.6;
}

strong {
  color: #dce8f5;
}

[hidden] {
  display: none !important;
}

@media (max-width: 680px) {
  .legalHeader {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px 14px;
  }

  .brand img {
    height: 34px;
  }

  .legalHeader nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 13px;
    padding-bottom: 2px;
  }

  .landingReturn {
    grid-column: 2;
    grid-row: 1;
  }

  .legalPage {
    padding: 38px 14px 60px;
  }

  article {
    padding: 15px;
  }
}
