:root {
  color-scheme: dark;
  --bg-base: #060e18; --bg-surface: #0b1626; --bg-surface-hover: #122138;
  --text-main: #c5d3e8; --text-muted: #647d9e; --border-color: #1e3250;
  --accent-primary: #38bdf8; --accent-hover: #0ea5e9; --accent-bug: #f87171; --accent-feat: #34d399;
  --warn-bg: #241a0a; --warn-text: #fbbf24;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", Consolas, Menlo, monospace;
}

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

body {
  background-color: var(--bg-base); color: var(--text-main);
  font-family: var(--font-sans); line-height: 1.6;
  margin: 0 auto; max-width: 800px; padding: 2rem 1rem;
}

a { color: var(--accent-primary); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent-hover); }

.page-header {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2.5rem; padding-bottom: 1.5rem;
}

.eyebrow {
  color: var(--accent-primary); font-family: var(--font-mono);
  font-size: 0.75rem; letter-spacing: 0.05em;
  margin-bottom: 0.5rem; text-transform: uppercase;
}

h1 {
  color: #fff; font-size: 2rem; font-weight: 600;
  letter-spacing: -0.02em; margin-bottom: 0.5rem;
}

.lede { font-size: 1rem; }
.lede, .release time, .empty, .page-footer { color: var(--text-muted); }

.banner {
  border: 1px solid rgba(251, 191, 36, 0.45); border-radius: 6px;
  font-family: var(--font-mono); font-size: 0.85rem;
  margin-bottom: 1.5rem; padding: 0.75rem 1rem;
}

.warning { background: var(--warn-bg); color: var(--warn-text); }

.releases { display: flex; flex-direction: column; gap: 1.5rem; }

.release {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px; padding: 1.5rem;
}

.release:hover { background-color: var(--bg-surface-hover); }

.release-head {
  align-items: flex-start; border-bottom: 1px dashed var(--border-color);
  display: flex; justify-content: space-between;
  margin-bottom: 1rem; padding-bottom: 1rem;
}

.release h2 {
  color: #fff; font-family: var(--font-mono);
  font-size: 1.25rem; margin-bottom: 0.25rem;
}

.release time { font-family: var(--font-mono); font-size: 0.85rem; }

.source-link,
.download,
.notes li > a:last-child {
  border: 1px solid var(--border-color);
  border-radius: 4px; font-family: var(--font-mono);
}

.source-link {
  color: var(--text-muted); font-size: 0.8rem;
  padding: 0.25rem 0.5rem; white-space: nowrap;
}

.source-link:hover { border-color: var(--accent-primary); color: var(--accent-primary); }

.downloads { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }

.download {
  align-items: center; background-color: var(--bg-base);
  color: var(--accent-primary); display: inline-flex;
  font-size: 0.8rem; font-weight: 500; padding: 0.4rem 0.75rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.download:hover,
.notes li > a:last-child:hover {
  background-color: #0d346f;
  border-color: #0d346f; 
  color: white;
}

.download.macos { color: var(--accent-feat); }
.download.windows { color: var(--accent-primary); }

.notes { overflow-wrap: anywhere; }
.notes > h2:first-child { display: none; }
.notes ul { list-style: none; }
.notes p { margin-bottom: 0.75rem; }
.release-brief {
  color: var(--text-main);
  font-size: 0.95rem;
}

.notes h3 {
  border-bottom: 1px solid rgba(30, 50, 80, 0.5);
  color: var(--text-muted); font-size: 0.9rem;
  letter-spacing: 0.05em; margin: 1.5rem 0 0.75rem;
  padding-bottom: 0.25rem; text-transform: uppercase;
}

.notes li {
  font-size: 0.95rem; line-height: 1.5;
  margin-bottom: 0.5rem; padding-left: 1.25rem;
  position: relative;
}

.notes li::before {
  color: var(--accent-primary); content: ">";
  font-family: var(--font-mono); font-weight: 700;
  left: 0; position: absolute; top: 0;
}

.notes strong {
  background-color: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 3px; color: var(--accent-primary);
  font-family: var(--font-mono); font-size: 0.85em; font-weight: 500;
  margin-right: 0.25rem; padding: 0.1rem 0.4rem;
}

.notes li > a:last-child {
  background-color: var(--bg-base);
  font-size: 0.8rem; margin-left: 0.25rem; padding: 0.1rem 0.3rem;
}

.notes pre,
.notes code {
  background: rgba(6, 14, 24, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 4px; font-family: var(--font-mono);
}

.notes pre { overflow-x: auto; padding: 0.75rem; }
.notes code { padding: 0.1rem 0.3rem; }

.page-footer {
  font-family: var(--font-mono); font-size: 0.85rem;
  margin-top: 3rem; text-align: center;
}

@media (max-width: 640px) {
  h1 { font-size: 1.75rem; }
  .release { padding: 1.25rem; }
  .release-head { gap: 0.75rem; }
}
