/* =========================
   Legal Pages – Full CSS
   ========================= */

:root {
  --primary-color: #0a2540;
  --accent-color: #3b82f6;
  --text-color: #1f2933;
  --muted-text: #6b7280;
  --border-color: #e5e7eb;
  --bg-color: #ffffff;
  --soft-bg: #f8fafc;
  --max-width: 900px;
}

/* Reset */
* {
  box-sizing: border-box;
}

/* Body */
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Arial, sans-serif;
    background: radial-gradient(
    circle at top,
    #1f2933 0%,
    #0b1220 45%,
    #020617 100%
    );
  color: var(--text-color);
  line-height: 1.7;
}

/* Main container */
main {
  max-width: var(--max-width);
  margin: 4rem auto;
  padding: 4rem 2rem;
  background: var(--bg-color);
  border-radius: 14px;
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.06),
    0 2px 10px rgba(15, 23, 42, 0.05);
}
main {
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Headings */
h1 {
  font-size: 2.3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 1rem;
}

h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 4px;
}

h2 {
  font-size: 1.35rem;
  color: var(--primary-color);
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1rem;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 5px;
  height: 1.3rem;
  background: var(--primary-color);
  border-radius: 4px;
}

/* Meta text */
.page-meta {
  font-size: 0.9rem;
  color: var(--muted-text);
  margin-bottom: 2.5rem;
}

/* Text */
p {
  margin-bottom: 1rem;
  max-width: 65ch;
}

/* Lists */
ul {
  margin-left: 1.25rem;
  margin-bottom: 1.25rem;
}

li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  position: relative;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.25s ease;
}

a:hover::after {
  width: 100%;
}

/* Divider */
hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 3rem 0;
}

/* Footer note */
.legal-footer {
  margin-top: 4rem;
  padding: 1.5rem;
  background: var(--soft-bg);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--muted-text);
}

/* Responsive */
@media (max-width: 768px) {
  main {
    margin: 2rem 1rem;
    padding: 3rem 1.5rem;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.2rem;
  }
}
