:root {
  color-scheme: dark;
  --bg: #0b0c0f;
  --surface: #15171c;
  --text: #f8f5ec;
  --muted: rgba(248,245,236,0.68);
  --accent: #d59b42;
  --accent-soft: rgba(213,155,66,0.22);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, rgba(213,155,66,0.12), transparent 45%), var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.legal-wrapper {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vw, 4rem) 1.5rem 4rem;
}

.legal-document {
  width: min(880px, 100%);
  background: var(--surface);
  border-radius: 22px;
  border: 1px solid var(--accent-soft);
  box-shadow: 0 32px 90px -48px rgba(213,155,66,0.5);
  padding: clamp(2.5rem, 6vw, 3.5rem);
  display: grid;
  gap: clamp(1.6rem, 2.5vw, 2.4rem);
}

header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--accent);
}

header p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

section h2 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
  color: var(--accent);
}

section p,
section li {
  color: var(--muted);
  font-size: 1rem;
}

ul {
  margin: 0.6rem 0 0;
  padding-left: 1.4rem;
}

@media (max-width: 600px) {
  .legal-document {
    border-radius: 18px;
    padding: 2rem;
  }

  section h2 {
    font-size: 1.15rem;
  }
}
