/* The styles of the pages of https://composer-toolbox.com. */
:root {
  --bg: #faf8f3;
  --surface: #ffffff;
  --text: #1f1b13;
  --muted: #5f5848;
  --border: #e4ddc9;
  --accent: #7a6223;
  --accent-text: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16130d;
    --surface: #221e16;
    --text: #ece3cf;
    --muted: #b3a98f;
    --border: #3a3426;
    --accent: #e0c070;
    --accent-text: #241b00;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

/* The banner: the artwork of the macOS disk image, with the app name. */
.banner {
  display: block;
  margin: 0 0 20px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgb(0 0 0 / 0.18);
}
.banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1586 / 330;
}

h1 { margin: 0 0 4px; font-size: 1.75rem; line-height: 1.2; }
.tagline { margin: 0 0 24px; color: var(--muted); font-size: 1.05rem; }
.release { color: var(--muted); margin: 0 0 16px; }
.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card h2 { margin: 0; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.card .grow { flex: 1; }
.buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.button {
  display: block;
  padding: 10px 16px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  text-align: center;
  text-decoration: none;
  font-weight: 600;
}
.button.secondary {
  background: transparent;
  color: var(--accent);
}
.button small { font-weight: 400; opacity: 0.85; }
footer a { color: inherit; }
h3 { margin: 0 0 8px; font-size: 1rem; }
.notes { font-size: 0.9rem; color: var(--muted); }
.notes ul { margin: 0; padding-left: 20px; }
footer {
  margin-top: 48px;
  font-size: 0.85rem;
  color: var(--muted);
}
.more { font-size: 0.9rem; margin: -24px 0 40px; }
.more a { color: var(--accent); }
.versions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.version-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
}
.links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.95rem; }
.links span { color: var(--muted); min-width: 5.5em; }
.links a { color: var(--accent); font-weight: 600; }
