/* Color scheme */
:root {
  --color-bg: #ffffff;
  --color-text: #000000;
  --color-link: #0066cc;
  --color-border: #dddddd;
  --color-table-header: #f5f5f5;
  --color-table-stripe: #fafafa;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #000000;
    --color-text: #ffffff;
    --color-link: #6ab0f3;
    --color-border: #333333;
    --color-table-header: #2a2a2a;
    --color-table-stripe: #222222;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background-color: var(--color-bg);
  color: var(--color-text);
}

a {
  color: var(--color-link);
}

a:visited {
  color: var(--color-link);
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0;
}

main {
  flex: 1;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

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

th {
  background-color: var(--color-table-header);
  font-weight: 600;
}

tr:nth-child(even) {
  background-color: var(--color-table-stripe);
}

footer {
  padding: 10px 0;
  text-align: right;
  font-size: 10px;
}

/* Hero Post Styles */
.hero-post h2 {
  margin-bottom: 0;
}

.hero-post .date {
  display: block;
  text-align: right;
  margin-top: 0;
}

.fineprint {
  font-size: 11px;
  font-weight: 300;
  font-style: italic;
}
