:root {
  color-scheme: dark;
  --bg: #080608;
  --panel: rgba(21, 16, 20, .84);
  --line: rgba(225, 176, 194, .13);
  --text: #eee8ec;
  --muted: #a0949c;
  --accent: #d53958;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse at 50% 20%, rgba(113, 13, 40, .22), transparent 48%),
    radial-gradient(ellipse at 85% 72%, rgba(68, 9, 28, .15), transparent 42%),
    var(--bg);
}
a { color: inherit; }
a:focus-visible { outline: 2px solid #f08ca4; outline-offset: 4px; }
.page { width: min(100% - 40px, 960px); margin: 0 auto; }
.topbar {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(225, 176, 194, .08);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 15px; letter-spacing: .02em; }
.brand img { object-fit: contain; }
.brand strong { color: #ef9caf; font-weight: 600; }
.release-label { display: flex; align-items: center; gap: 9px; color: #bdabb3; font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #d95b72; box-shadow: 0 0 12px rgba(217, 91, 114, .5); }
.intro { max-width: 640px; padding: 78px 0 42px; }
.eyebrow { margin: 0 0 17px; color: #d47d93; font-size: 11px; font-weight: 650; letter-spacing: .18em; }
h1 { margin: 0; font-size: clamp(38px, 7vw, 64px); font-weight: 570; letter-spacing: -.055em; line-height: 1.04; }
h1 span { color: #d8cbd1; }
.description { max-width: 510px; margin: 21px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.download-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(28, 19, 25, .92), var(--panel));
  box-shadow: 0 18px 54px rgba(0, 0, 0, .17), inset 0 1px rgba(255,255,255,.025);
}
.card-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.platform-icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(225,176,194,.13); border-radius: 11px; color: #e8a2b3; background: rgba(213,57,88,.08); }
.platform-icon svg { width: 22px; height: 22px; }
.linux-icon { color: #d8bdc7; background: rgba(225,176,194,.04); }
h2 { margin: 0; font-size: 18px; font-weight: 590; }
.card-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.download-button {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(221, 88, 117, .44);
  border-radius: 9px;
  color: #fff3f6;
  background: linear-gradient(110deg, #a91f40, #7d1733);
  font-size: 13px;
  font-weight: 620;
  text-decoration: none;
  transition: border-color .2s, filter .2s, transform .2s;
}
.download-button:hover:not([aria-disabled="true"]) { filter: brightness(1.15); transform: translateY(-1px); }
.download-button[aria-disabled="true"] { border-color: var(--line); color: #968b91; background: #201a1e; cursor: not-allowed; }
.download-button.secondary { border-color: var(--line); color: #e3d8dd; background: rgba(255,255,255,.035); }
.download-button.secondary:hover:not([aria-disabled="true"]) { border-color: rgba(225,176,194,.35); background: rgba(255,255,255,.07); }
.button-arrow { font-size: 19px; line-height: 1; }
.windows-options, .linux-options { display: grid; gap: 11px; }
.linux-options small { display: block; margin-top: 3px; color: #d4bbc4; font-size: 10px; font-weight: 450; }
.card-note { min-height: 16px; margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.install-note { display: flex; max-width: 720px; align-items: flex-start; gap: 12px; margin: 27px auto 0; color: #b7a9af; font-size: 12px; line-height: 1.65; }
.install-note p { margin: 0; }
.note-mark { display: grid; width: 18px; height: 18px; flex: 0 0 18px; place-items: center; border: 1px solid rgba(225,176,194,.3); border-radius: 50%; color: #d8a0b0; font-family: Georgia, serif; font-size: 12px; }

.terminal-section { margin-top: 24px; }
.terminal-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(20, 16, 22, .92), var(--panel));
  box-shadow: 0 18px 54px rgba(0, 0, 0, .17);
}
.terminal-icon { color: #5ce1e6; background: rgba(92, 225, 230, .08); }
.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 16px;
  background: #0d0a0d;
  border: 1px solid rgba(225, 176, 194, .18);
  border-radius: 8px;
  font-family: monospace;
}
.code-box code { color: #f4d0d8; font-size: 13px; word-break: break-all; }
.code-box.secondary-code { margin-top: 8px; background: rgba(0,0,0,.3); border-color: rgba(225, 176, 194, .1); }
.terminal-sub { margin: 16px 0 0; color: var(--muted); font-size: 12px; }
.copy-button {
  padding: 6px 14px;
  background: rgba(213, 57, 88, .2);
  border: 1px solid rgba(213, 57, 88, .4);
  border-radius: 6px;
  color: #fff3f6;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
}
.copy-button:hover { background: #d53958; color: #fff; }

.footer { display: flex; justify-content: space-between; gap: 14px; margin-top: 64px; padding: 18px 0 24px; border-top: 1px solid rgba(225,176,194,.08); color: #81747b; font-size: 11px; }
.checksum-link { color: #b7a9af; text-decoration: underline; text-decoration-color: rgba(225,176,194,.28); text-underline-offset: 3px; }
.checksum-link[aria-disabled="true"] { color: #6f656b; cursor: not-allowed; }

@media (max-width: 680px) {
  .page { width: min(100% - 30px, 480px); }
  .topbar { min-height: 70px; }
  .release-label { font-size: 10px; }
  .intro { padding: 58px 0 30px; }
  .downloads { grid-template-columns: 1fr; }
  .download-card { padding: 20px; }
  .footer { margin-top: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
