:root {
  --bg: #0b1014;
  --raised: #111827;
  --border: #1f2937;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --comment: #5b6b78;
  --good: #9be9a8;
  --link: #7dd3fc;
  --max: 1100px;
  --gap: 1rem;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

code, kbd, samp, .mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.topbar {
  display: flex; align-items: center; gap: .35rem;
  padding: .9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: .8rem;
}
.topbar .dot {
  color: var(--good);
  font-size: .75em;
  line-height: 1;
  position: relative;
  top: -0.05em;
}
.topbar .brand { display: flex; align-items: center; }
.topbar .brand:hover { opacity: .8; }
.topbar .brand img {
  height: 12px;
  width: auto;
  display: block;
  position: relative;
  top: -0.05em;
}
.topbar .asn {
  color: var(--muted);
  position: relative;
  top: -0.05em;
}
.topbar nav { display: flex; gap: 1.1rem; color: var(--muted); margin-left: auto; }
.topbar nav a { color: var(--muted); }
.topbar nav a[aria-current="page"] { color: var(--text); }

.hero { padding: 2.5rem 1.25rem 2rem; }
.hero .label { color: var(--comment); font-size: .75rem; letter-spacing: .08em; }
.hero h1 { font-size: 1.7rem; line-height: 1.2; margin: .6rem 0 .4rem; max-width: 38rem; }
.hero h1 em { color: var(--good); font-style: normal; }
.hero p { color: var(--muted); margin: 0; max-width: 38rem; font-size: .95rem; }
.hero .cta { margin-top: 1rem; display: flex; gap: .5rem; }
.btn { padding: .55rem .9rem; border-radius: 6px; font-size: .85rem; font-weight: 600; }
.btn-primary { background: var(--good); color: var(--bg); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid #334155; }

.section { padding: 0 1.25rem 1.5rem; }
.section-label {
  color: var(--comment); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: .5rem;
}

.grid { display: grid; gap: .65rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; }
}

.card {
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .85rem;
  font-size: .85rem;
}
.card .k { color: var(--comment); font-size: .7rem; }
.card .v { font-weight: 700; font-size: 1.4rem; color: var(--text); }
.card .v.good { color: var(--good); }
.card .v.link { color: var(--link); }
.card .sub { color: var(--muted); font-size: .75rem; }
.card .card-list {
  column-width: 9rem;
  column-gap: .65rem;
  margin-top: .35rem;
}
.card .card-list > div { break-inside: avoid; line-height: 1.4; }
a.card { color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--link); }

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
}
.tbl th, .tbl td {
  text-align: left; padding: .5rem .65rem;
  border-bottom: 1px solid var(--border);
}
.tbl th { color: var(--comment); font-weight: 500; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.tbl tr:hover td { background: rgba(123, 211, 252, .04); }
.tbl td.mono { color: var(--muted); }

.footer {
  border-top: 1px solid var(--border);
  padding: 1rem 1.25rem;
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: ui-monospace, Menlo, monospace;
  font-size: .75rem;
  color: var(--comment);
  flex-wrap: wrap;
}
.footer a { color: var(--muted); }

.empty {
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 1rem;
  color: var(--muted);
  font-size: .9rem;
  background: rgba(123, 211, 252, .03);
}
