:root {
  color-scheme: light dark;
  --bg: #fafaf8;
  --text: #1c2024;
  --muted: #5d6670;
  --line: #e2e2dc;
  --accent: #0b6e69;
  --on-accent: #fff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111416;
    --text: #e6e8ea;
    --muted: #9aa4ad;
    --line: #2a3035;
    --accent: #5cc8bf;
    --on-accent: #08201e;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }

.hero { padding: 4.5rem 0 2.5rem; border-top: 6px solid var(--accent); }
h1 { font-size: clamp(2.2rem, 8vw, 3.4rem); line-height: 1.1; letter-spacing: -0.02em; }
.tagline { font-size: 1.25rem; color: var(--accent); margin-top: 0.5rem; }
.meta { color: var(--muted); font-size: 0.92rem; }

.button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  font-weight: 600;
}
.button:hover { filter: brightness(1.1); }
.button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

section { padding: 2rem 0; border-top: 1px solid var(--line); }
h2 {
  margin-bottom: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
h3 { font-size: 1.1rem; }
.entry + .entry { margin-top: 1.5rem; }
.entry ul { margin: 0.5rem 0 0 1.2rem; }

.rows { list-style: none; }
.rows li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; }
.rows li .meta { white-space: nowrap; }
.rows small { display: block; color: var(--muted); font-size: 0.85rem; }

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

@media (max-width: 34rem) {
  .rows li { flex-direction: column; gap: 0; }
}

@media print {
  :root { --bg: #fff; --text: #000; --muted: #444; --line: #ccc; --accent: #000; }
  body { font-size: 11pt; }
  .hero { padding: 0 0 1rem; border: 0; }
  .button, footer { display: none; }
  section { padding: 0.8rem 0; }
  .entry, .rows li { break-inside: avoid; }
}
