:root {
  /* base colors */
  --bg-light: #ffffff;
  --bg-dark: #111217;
  --bg-card-light: #f8fafc;
  --bg-card-dark: #232527;
  --text-light: #111827;
  --text-dark: #e6eef8;
  --muted-light: #6b7280;
  --muted-dark: #9ca3af;
  --roblox-blue: #00A2FF;
  --border-color: rgba(255, 255, 255, 0.08);

  /* default -> dark */
  --bg: var(--bg-dark);
  --text: var(--text-dark);
  --card-bg: var(--bg-card-dark);
  --muted: var(--muted-dark);
}

html.light {
  --bg: var(--bg-light);
  --text: var(--text-light);
  --card-bg: var(--bg-card-light);
  --muted: var(--muted-light);
  --border-color: rgba(0, 0, 0, 0.08);
}

html.dark {
  --bg: var(--bg-dark);
  --text: var(--text-dark);
  --card-bg: var(--bg-card-dark);
  --muted: var(--muted-dark);
  --border-color: rgba(255, 255, 255, 0.08);
}

/* Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  transition: background-color .2s ease, color .2s ease;
}

/* container */
.container { max-width: 64rem; margin: 0 auto; padding: 1rem; }

/* header */
.site-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(6px);
}
.site-header .inner { max-width: 1100px; margin: 0 auto; display:flex; align-items:center; justify-content:space-between; gap:12px; padding: 0 1rem; }
.brand { display:flex; gap:12px; align-items:center; }
.brand .logo { width:44px; height:44px; border-radius:10px; background: linear-gradient(180deg, rgba(0,162,255,0.14), rgba(0,0,0,0.02)); display:inline-block; }
.brand h1 { font-size:1rem; margin:0; }
.header-nav a { margin-left:14px; font-weight:600; color:var(--text); text-decoration:none; }
.header-nav a:hover { text-decoration: underline; }

/* main card */
.main { max-width: 900px; margin: 28px auto; padding: 0 1rem; }
.card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  border: 1px solid var(--border-color);
}

/* headings & text */
h2 { color: var(--roblox-blue); margin-top:0; }
h3 { margin-bottom:6px; }
p { margin: .6rem 0; color: inherit; }
.small { font-size:0.9rem; color:var(--muted); }

/* lists */
ul { padding-left: 1.1rem; margin: .6rem 0; }

/* footer */
.site-footer {
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.04);
  margin-top: 3rem;
}
.site-footer .container { max-width: 64rem; margin: 0 auto; padding: 1.25rem; text-align:center; }
.footer-text { color: var(--muted); font-size: 0.875rem; margin: 0; }
.footer-link { color: var(--roblox-blue); font-weight:600; text-decoration:none; }
.footer-link:hover { text-decoration: underline; }

/* responsive */
@media (max-width: 640px) {
  .brand h1 { font-size: .95rem; }
  .main { padding: 0 0.8rem; margin: 18px auto; }
}
