:root {
  color-scheme: dark;
  --bg: #0c0c0c;
  --panel: #141414;
  --ink: #f6f1e4;
  --muted: #c8bfae;
  --gold: #e0b84d;
  --gold-deep: #8d6b1f;
  --line: #3d3422;
  --live: #e0b84d;
  --held: #c4b59a;
  --done-ink: #1a1204;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.5;
}

body {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.75rem;
}

.site-header {
  border-bottom: 1px solid var(--gold-deep);
  padding-bottom: 0.85rem;
  margin-bottom: 1.25rem;
}

.eyebrow {
  margin: 0 0 0.3rem;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 {
  margin: 0;
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1.2;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.note, .section-head p, footer p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.status-line {
  color: var(--ink);
  font-size: 1.65rem;
  font-weight: 750;
  line-height: 1.25;
  margin-top: 0.55rem;
}

.goal {
  color: var(--gold);
  font-size: 1.45rem;
  font-weight: 750;
  line-height: 1.3;
}

section { margin-bottom: 2.25rem; }

.section-head { margin-bottom: 0.9rem; }

.step-key {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  counter-reset: key;
}

.step-key li {
  counter-increment: key;
  background: #1a160e;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem 0.6rem;
  font-size: 0.95rem;
  font-weight: 650;
}

.step-key li::before {
  content: counter(key) ". ";
  color: var(--gold);
}

.brand {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1rem 0.9rem;
  margin-bottom: 0.85rem;
}

.brand-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.score {
  margin: 0;
  color: var(--gold);
  font-size: 1.45rem;
  font-weight: 750;
  white-space: nowrap;
}

.plain-label {
  margin: 0.15rem 0 0.7rem;
  color: var(--ink);
  font-size: 1.05rem;
}

.domain {
  margin: 0.15rem 0 0.7rem;
  color: var(--muted);
  font-size: 1rem;
}

.meter {
  height: 1.35rem;
  background: #221c12;
  border: 2px solid var(--gold-deep);
  border-radius: 999px;
  overflow: hidden;
}

.meter-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #8d6b1f, #f0cc6a);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin: 0.55rem 0 0.75rem;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 2.8rem;
  border-radius: 8px;
  border: 2px solid var(--gold-deep);
  background: #1a160e;
  color: var(--muted);
  padding: 0.4rem 0.45rem;
  font-size: 0.92rem;
  line-height: 1.25;
}

.steps li.done {
  background: #e0b84d;
  border-color: #f0cc6a;
  color: var(--done-ink);
  font-weight: 750;
}

.next {
  margin: 0;
  font-size: 1.12rem;
}

.next span {
  color: var(--gold);
  font-weight: 750;
}

.parked {
  margin: 0.4rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px dashed var(--gold-deep);
  border-radius: 10px;
  color: var(--held);
  font-size: 1.05rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 1rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.8rem;
  border-bottom: 1px solid var(--line);
}

thead th {
  color: var(--gold);
  font-weight: 700;
  background: #1a160e;
  position: sticky;
  top: 0;
}

tbody th {
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

tbody tr:last-child th,
tbody tr:last-child td { border-bottom: 0; }

a {
  color: var(--gold);
  text-underline-offset: 0.15em;
}

a:hover { color: #f3d78a; }

.status {
  display: inline-block;
  font-weight: 750;
  margin-right: 0.35rem;
}

.status-live { color: var(--live); }
.status-held { color: var(--held); }

footer {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

@media (max-width: 720px) {
  body { padding: 1rem 0.8rem 2.2rem; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.45rem; }
  .status-line { font-size: 1.35rem; }
  .goal { font-size: 1.22rem; }
  .step-key, .steps { grid-template-columns: 1fr 1fr; }
  .steps li { min-height: 0; }
  .brand-top { align-items: flex-start; }
  .score { font-size: 1.25rem; }
  table { font-size: 0.95rem; }
}
