/* Agone legal pages — shared styles. Plain HTML/CSS, no build step. */

:root {
  --bg: #0f1115;
  --card: #161922;
  --text: #e7e9ee;
  --muted: #a3a8b4;
  --accent: #7c9cff;
  --hairline: #262a35;
  --max: 760px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  line-height: 1.65;
  font-size: 17px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 22px 80px;
}

header.site {
  border-bottom: 1px solid var(--hairline);
  background: rgba(15, 17, 21, 0.85);
  position: sticky;
  top: 0;
  backdrop-filter: saturate(160%) blur(8px);
}

header.site .wrap {
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.3px;
  color: var(--text);
  text-decoration: none;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  margin-left: 18px;
}
nav a:hover { color: var(--text); }

h1 {
  font-size: 30px;
  line-height: 1.25;
  margin: 8px 0 4px;
}

h2 {
  font-size: 21px;
  margin: 36px 0 10px;
  padding-top: 8px;
}

h3 { font-size: 17px; margin: 22px 0 6px; }

.updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 8px;
}

p, li { color: var(--text); }
.muted { color: var(--muted); }

a { color: var(--accent); }

ul { padding-left: 22px; }
li { margin: 6px 0; }

hr {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 28px 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 16px 0;
}

/* Highlighted placeholder you must replace before publishing. */
.ph {
  background: #ffe07a;
  color: #2a2300;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
}

.legal-note {
  font-size: 13.5px;
  color: var(--muted);
}

footer.site {
  border-top: 1px solid var(--hairline);
  margin-top: 48px;
}
footer.site .wrap {
  padding: 24px 22px;
  color: var(--muted);
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer.site a { color: var(--muted); text-decoration: none; margin-left: 16px; }
footer.site a:hover { color: var(--text); }

/* Landing page */
.hero { text-align: center; padding: 56px 0 24px; }
.hero h1 { font-size: 38px; }
.hero p { color: var(--muted); font-size: 18px; max-width: 540px; margin: 12px auto 0; }
.links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--hairline);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.btn.primary { background: var(--accent); color: #0c1020; border-color: var(--accent); }
.btn:hover { border-color: var(--accent); }

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 26px; }
  .hero h1 { font-size: 30px; }
  nav a { margin-left: 12px; }
}
