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

body {
  font-family: 'SF Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
  background: var(--bg);
  color: var(--text-dim);
  min-height: 100vh;
  line-height: 1.55;
  font-size: 13px;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }

.topbar {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-logo {
  width: 216px;
  aspect-ratio: 227 / 137;
  height: auto;
  display: block;
}

.topbar-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--text-dim);
  border: 1px solid #333;
  padding: 7px 14px;
  border-radius: 3px;
}

.topbar-link:hover {
  color: var(--text);
  border-color: var(--text-muted);
  text-decoration: none;
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 28px 64px;
}

h1 {
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 16px;
}

.notice {
  background: #1e1e1e;
  border-left: 2px solid var(--accent);
  padding: 14px 18px;
  margin-bottom: 28px;
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.7;
}

.notice strong { color: var(--text); }

h2 {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1px;
  margin: 28px 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.download-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e1e1e;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 14px 18px;
}

.download-item.detected {
  border-color: var(--accent);
}

.download-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.download-os-name {
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.2px;
}

.download-filename {
  color: var(--text-faint);
  font-size: 11px;
}

.btn-download {
  background: #ddd;
  color: var(--text-inverse);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 9px 18px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-download:hover {
  background: #fff;
  text-decoration: none;
}

.btn-download-secondary {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border-strong);
}

.btn-download-secondary:hover {
  background: transparent;
  border-color: var(--text-muted);
  color: var(--text);
}

.btn-download-disabled {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border-strong);
  cursor: not-allowed;
  opacity: 0.5;
}

.btn-download-disabled:hover {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-dim);
}

p { margin-bottom: 12px; color: var(--text-dim); }
