:root {
  --brand: #0f766e;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: #fff;
}

header, main, footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--brand);
  text-decoration: none;
}

.brand img { border-radius: 6px; }

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

h1 { font-size: 28px; line-height: 1.25; margin-top: 32px; }
h2 { font-size: 20px; margin-top: 28px; }

.muted { color: var(--muted); font-size: 14px; }

hr { border: 0; border-top: 1px solid var(--border); margin: 48px 0 0; }

footer {
  margin-top: 48px;
  padding-top: 20px;
  padding-bottom: 32px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.status {
  padding: 12px 16px;
  border-radius: 8px;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  font-weight: 600;
}

.notice {
  padding: 12px 16px;
  border-radius: 8px;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.steps { list-style: none; padding: 0; margin: 24px 0; }

.step {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 16px;
  margin-bottom: 12px;
}

.step h2 { font-size: 18px; margin: 12px 0; }
.step .step-body { display: none; }
.step.is-active { border-color: var(--brand); }
.step.is-active .step-body { display: block; }
.step.is-pending h2 { color: var(--muted); }
.step.is-done h2::after { content: " ✓"; color: var(--brand); }

.button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

#download-macos-meta, #download-windows-meta { word-break: break-all; }
