/* The Desktop page: Virlow for Windows, macOS and Linux. Built on styles.css
   and workspace.css. */

/* The hero shot sits in a plain window frame: a title bar with the app's
   name and three window controls, drawn in CSS so it follows the page's
   colors in both schemes instead of baking one system's chrome into a
   picture. */
.desktop-window {
  margin: 0;
  padding: 0 0 64px;
}
.desktop-window-frame {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}
.desktop-window-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.desktop-window-bar .brand-symbol {
  font-size: 15px;
}
.desktop-window-controls {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.desktop-window-controls span {
  width: 10px;
  height: 10px;
  border: 1px solid var(--border);
  border-radius: 50%;
}
.desktop-window-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.desktop-window figcaption {
  margin-top: 12px;
}

.desktop-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}
.desktop-points li {
  padding: 16px 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
}
.desktop-points strong {
  color: var(--fg);
}

/* One card per system, each with its own installers. */
.desktop-downloads {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.desktop-downloads h2 {
  margin: 0 0 12px;
}
.desktop-downloads > p {
  margin: 0 0 32px;
  max-width: 60ch;
  color: var(--muted);
}
.desktop-systems {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.desktop-system {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.desktop-system h3 {
  margin: 0;
  font-size: 20px;
}
.desktop-system p {
  margin: 0;
  color: var(--muted);
}
.desktop-system .cta-row {
  margin-top: auto;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.desktop-system .btn {
  justify-content: center;
  text-align: center;
}
/* The second installer in a card: outlined, so it still reads as a button
   beside the filled one. */
.desktop-system .btn:not(.btn-primary) {
  border-color: var(--border);
  color: var(--fg);
}
.desktop-system .btn:not(.btn-primary):hover {
  border-color: var(--fg);
}

@media (max-width: 1000px) {
  .desktop-systems {
    grid-template-columns: none;
  }
}
@media (max-width: 760px) {
  .desktop-window {
    padding-bottom: 48px;
  }
  .desktop-window-bar {
    height: 30px;
    font-size: 12px;
  }
}
