:root {
  color-scheme: dark;
  --bg: #0a1221;
  --shell: #0c1524;
  --surface: #111c2f;
  --surface-alt: #17243a;
  --border: rgba(255, 255, 255, 0.14);
  --text: #f7fafc;
  --muted: #aab6c8;
  --subtle: #718096;
  --primary: #f97316;
  --primary-soft: rgba(249, 115, 22, 0.16);
}

* {
  box-sizing: border-box;
}

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

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

a:hover {
  text-decoration: underline;
}

.shell {
  min-height: 100vh;
}

.topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(12, 21, 36, 0.92);
}

.nav {
  max-width: 920px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.navlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.navlinks a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.page {
  max-width: 920px;
  margin: 0 auto;
  padding: 34px 20px 56px;
}

.hero,
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.hero {
  padding: 28px;
  margin-bottom: 18px;
}

.card {
  padding: 24px;
  margin-bottom: 16px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

h2 {
  font-size: 22px;
  margin-bottom: 14px;
}

p {
  margin: 0 0 12px;
  color: var(--muted);
}

p:last-child {
  margin-bottom: 0;
}

.updated {
  color: var(--subtle);
  font-size: 14px;
  margin-bottom: 18px;
}

ul {
  margin: 0;
  padding-left: 20px;
}

li {
  color: var(--muted);
  margin-bottom: 10px;
}

li:last-child {
  margin-bottom: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tile {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  min-height: 150px;
}

.tile h2 {
  color: var(--text);
  font-size: 20px;
}

.tile p {
  font-size: 15px;
}

.pill {
  display: inline-block;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(249, 115, 22, 0.28);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px 32px;
  color: var(--subtle);
  font-size: 13px;
}

@media (max-width: 720px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .navlinks {
    justify-content: flex-start;
  }

  .page {
    padding-top: 24px;
  }

  .hero,
  .card,
  .tile {
    border-radius: 10px;
    padding: 20px;
  }

  h1 {
    font-size: 30px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
