:root {
  color-scheme: dark;
  --bg: #1e1e1e;
  --panel: #252526;
  --panel-strong: #2d2d30;
  --surface: #1f1f1f;
  --input: #3c3c3c;
  --line: #3c3c3c;
  --ink: #d4d4d4;
  --muted: #858585;
  --accent: #007acc;
  --accent-strong: #569cd6;
  --button: #0e639c;
  --button-hover: #1177bb;
  --selection: #264f78;
  --warning: #cca700;
  --danger: #f44747;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.62;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(37, 37, 38, 0.96), rgba(30, 30, 30, 0.98)),
    var(--bg);
}

.header-inner {
  min-height: 76vh;
  display: grid;
  align-content: end;
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px 48px;
}

.kicker,
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-weight: 760;
}

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

h1 {
  max-width: 860px;
  font-size: 5.6rem;
}

.intro {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
  gap: 28px;
  align-items: end;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 2rem;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.report-card {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
}

.report-card:hover {
  border-color: var(--accent);
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.status {
  color: var(--accent-strong);
}

.status-complete::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
}

.report-card h3 {
  font-size: 1.45rem;
}

.commit-meta {
  margin: 0;
  color: var(--muted);
}

.commit-meta time {
  display: block;
  color: var(--ink);
  font-weight: 760;
}

.report-list {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.report-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 11px 12px;
  text-decoration: none;
}

.report-row:hover {
  border-color: var(--accent);
  background: var(--panel-strong);
}

.report-link-label {
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
}

.report-link-title {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
}

.report-link-date {
  color: var(--muted);
  font-size: 0.86rem;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  padding: 26px max(24px, calc((100vw - 1120px) / 2));
  color: var(--muted);
  background: var(--surface);
}

@media (max-width: 720px) {
  .header-inner {
    min-height: 70vh;
    padding-top: 34px;
  }

  h1 {
    font-size: 3rem;
  }

  .intro {
    font-size: 1rem;
  }

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