:root {
  --bg: #0f1115;
  --bg-card: #171a21;
  --text: #e8e9ec;
  --text-muted: #9aa0ab;
  --accent: #5b8cff;
  --border: #262a33;
  --max-width: 880px;
}

* { box-sizing: border-box; }

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

header {
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
}

nav .links a {
  color: var(--text-muted);
  text-decoration: none;
  margin-left: 24px;
  font-size: 0.95rem;
}

nav .links a:hover { color: var(--accent); }

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.card h3 { margin-top: 0; }

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

.muted { color: var(--text-muted); font-size: 0.9rem; }

.disclosure {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 24px 0;
}

footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer a { color: var(--text-muted); }

.table-wrap {
  overflow-x: auto;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

.scroll-hint {
  display: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: -8px 0 8px;
}

@media (max-width: 700px) {
  .scroll-hint { display: block; }

  .table-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 24px;
    background: linear-gradient(to right, transparent, var(--bg-card));
    pointer-events: none;
  }
}
