:root {
  color-scheme: dark;
  --background: #07090d;
  --surface: #11151d;
  --surface-soft: #171c26;
  --border: #293140;
  --text: #f8fafc;
  --muted: #b9c2d0;
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.09), transparent 32rem),
    var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: #7ee2a0;
}

a:hover,
a:focus-visible {
  color: #b4f4c8;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(7, 9, 13, 0.88);
}

.site-header__inner,
.legal-shell,
.site-footer__inner {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.legal-shell {
  padding: 56px 0 72px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  letter-spacing: -0.025em;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.05;
}

.updated {
  margin: 14px 0 0;
  color: var(--muted);
}

.summary {
  margin: 30px 0 34px;
  padding: 20px 22px;
  border: 1px solid rgba(34, 197, 94, 0.34);
  border-radius: 14px;
  background: var(--accent-soft);
  color: #dff9e7;
}

.legal-content {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(17, 21, 29, 0.92);
  padding: clamp(24px, 5vw, 44px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.legal-content section + section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

p {
  margin: 0;
  color: var(--muted);
}

p + p,
p + ul,
ul + p,
ol + p {
  margin-top: 14px;
}

ul,
ol {
  margin-bottom: 0;
  padding-left: 24px;
  color: var(--muted);
}

li + li {
  margin-top: 7px;
}

.steps {
  counter-reset: steps;
  list-style: none;
  padding: 0;
}

.steps li {
  position: relative;
  min-height: 38px;
  padding: 5px 0 5px 52px;
}

.steps li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: #07120a;
  font-weight: 900;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #090c11;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  color: #8993a3;
  font-size: 13px;
}

.site-footer a {
  color: #aeb8c6;
}

@media (max-width: 600px) {
  .site-header__inner,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .site-header__inner {
    padding: 14px 0;
  }

  .legal-shell {
    padding-top: 38px;
  }
}
