:root {
  --night: #0F0130;
  --yellow: #FCDC0F;
  --orange: #F29500;
  --purple: #7B3DE1;
  --bg: #F7F6FC;
  --muted: #5E5A73;
  --border: #DCD6F0;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--night);
  font-family: Hind, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: var(--purple); }
a:hover { color: #5B24B8; }

header.top {
  background: var(--night);
  padding: 18px 16px;
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand {
  font-family: Outfit, sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  text-decoration: none;
  color: #fff;
}
.brand span { color: var(--yellow); }
header.top nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; }
header.top nav a { color: #C9BEF5; text-decoration: none; }
header.top nav a:hover { color: #fff; }

.wrap { max-width: 780px; margin: 0 auto; }
main { padding: 32px 16px 48px; }
main .wrap { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 28px 22px; }
h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 6px;
}
h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 22px;
  margin: 32px 0 8px;
}
.updated { color: var(--muted); font-size: 15px; margin: 0 0 24px; }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }
.box {
  background: var(--bg);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 16px 0;
}
table { border-collapse: collapse; width: 100%; font-size: 15px; }
.table-scroll { overflow-x: auto; margin: 12px 0; }
th, td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--bg); }

footer {
  padding: 24px 16px 40px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
footer nav { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }

/* Home page */
.hero {
  background: var(--night);
  color: #fff;
  text-align: center;
  padding: 72px 16px 80px;
}
.hero .brand { font-size: 56px; display: inline-block; }
.hero p { color: #C9BEF5; font-size: 20px; margin: 16px 0 28px; }
.pill {
  display: inline-block;
  background: var(--orange);
  color: var(--night);
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 26px;
}

@media (max-width: 520px) {
  h1 { font-size: 28px; }
  main .wrap { padding: 22px 16px; }
  .hero .brand { font-size: 44px; }
}
