:root {
  --navy: #0e1420;
  --surface: #172030;
  --border: #2a3548;
  --green: #7dc242;
  --green-light: #97d05e;
  --text: #f3f4f6;
  --muted: #a3acba;
  --amber: #f2b84b;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--green-light); }
a:hover { color: var(--green); }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.site {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.12em; }
.brand img { width: 32px; height: 32px; border-radius: 7px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:first-child { margin-left: 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }

.draft {
  background: rgba(242, 184, 75, 0.12);
  border-bottom: 1px solid rgba(242, 184, 75, 0.4);
  color: var(--amber);
  font-size: 14px;
  padding: 10px 0;
  text-align: center;
}

main { padding: 40px 0 56px; }

h1 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-size: 21px; margin: 40px 0 10px; }
h3 { font-size: 17px; margin: 24px 0 6px; }
p, li { color: #dfe3ea; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.lead { font-size: 18px; color: var(--text); }

.tagline { color: var(--green); text-transform: uppercase; letter-spacing: 0.2em; font-size: 13px; font-weight: 700; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 18px 0;
}
.card h2, .card h3 { margin-top: 0; }

table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }

footer.site {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  padding: 22px 0 32px;
}
footer.site a { color: var(--muted); margin-right: 16px; }

@media (max-width: 520px) {
  h1 { font-size: 26px; }
  nav a { margin-left: 12px; }
}
