/* ShopForge download site — shopforge.kapide.com
   Deliberately minimal: a logo and a download list, nothing else.
   Warm accent (--warm-1/--warm-2) carries over from the product logo/brand,
   same tokens the site used before this page was stripped down. */

:root {
  --bg: #ffffff;
  --fg: #14161a;
  --fg-muted: #6b7280;
  --border: #e5e7eb;
  --border-hover: #d1d5db;
  --warm-1: #f7931e;
  --warm-2: #e8483c;

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

.lang-switch {
  position: fixed;
  top: 20px;
  right: 24px;
  font-size: 13px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-switch a {
  color: var(--fg-muted);
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--fg);
}

.lang-switch .lang-active {
  color: var(--fg);
  font-weight: 600;
}

.page {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 56px;
}

.brand img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.downloads {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.download-row .download-card {
  gap: 12px;
}

.download-row .download-action {
  display: none;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.download-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.download-card:hover .os-icon {
  color: var(--warm-2);
}

.os-icon {
  flex: none;
  width: 30px;
  height: 30px;
  color: var(--fg);
  transition: color 0.15s ease;
}

.download-card .text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.os-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
}

.os-meta {
  display: block;
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 2px;
}

.download-action {
  flex: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--warm-2);
}

.macos-note {
  width: 100%;
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px solid #f0b4ae;
  border-left: 4px solid var(--warm-2);
  border-radius: 12px;
  background: #fdf2f1;
  color: #7f1d1d;
  text-align: left;
  font-size: 13px;
  line-height: 1.55;
}

.macos-note strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
}

.macos-note code {
  display: block;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fbe3e0;
  color: #7f1d1d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  white-space: pre-wrap;
  word-break: break-all;
}

.version {
  margin-top: 32px;
  font-size: 13px;
  color: var(--fg-muted);
}

@media (max-width: 420px) {
  .download-card {
    padding: 14px 16px;
  }

  .download-row {
    grid-template-columns: 1fr;
  }

  .download-row .download-action {
    display: block;
  }
}

.manuals {
  width: 100%;
  margin-top: 40px;
}

.manuals-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--fg-muted);
  margin: 0 0 12px;
}
