@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #0b0a10;
  --surface: #14121b;
  --surface-raised: #1b1824;
  --border: #302b3c;
  --text: #f5f1fb;
  --muted: #b8b0c6;
  --purple: #a855f7;
  --purple-bright: #c084fc;
  --purple-deep: #7028b7;
  --warning: #f5d99b;
  --warning-bg: #251e16;
  --warning-border: #59462b;
  --max-width: 1100px;
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 72% 4%, rgba(115, 47, 161, .2), transparent 33rem),
    radial-gradient(ellipse at 8% 46%, rgba(73, 33, 117, .11), transparent 31rem),
    var(--bg);
}
a { color: var(--purple-bright); text-underline-offset: .2em; }
a:hover { color: #e2c4ff; }
:focus-visible { outline: 3px solid #e9c8ff; outline-offset: 4px; border-radius: 4px; }

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  transform: translateY(-180%);
  padding: .75rem 1rem;
  color: #170c22;
  background: #e9c8ff;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 82px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(192, 132, 252, .24);
}
.brand { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; color: var(--text); }
.brand img { object-fit: contain; }
.brand-name {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.48rem;
  font-weight: 700;
  letter-spacing: .19em;
}
.header-note { color: var(--muted); font-size: .9rem; letter-spacing: .04em; }

main { max-width: var(--max-width); margin: 0 auto; padding: 60px 28px 0; }
.hero { max-width: 780px; margin: 0 0 38px 4px; }
.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--purple-bright);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
}
.eyebrow-mark { width: 8px; height: 8px; background: var(--purple); box-shadow: 0 0 15px rgba(168, 85, 247, .8); transform: rotate(45deg); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 15px 0 16px; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.03; letter-spacing: -.045em; }
h1 span { display: block; color: var(--purple-bright); }
.hero-copy { max-width: 660px; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }

.downloads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.download-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(29, 25, 39, .98), rgba(17, 15, 23, .98));
  box-shadow: 0 18px 60px rgba(0, 0, 0, .2);
  overflow: hidden;
}
.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), transparent 88%);
}
.card-topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 19px; }
.platform-tag, .build-label { display: inline-flex; gap: 8px; align-items: center; font-size: .71rem; font-weight: 700; letter-spacing: .11em; }
.platform-tag { color: #e6d3ff; }
.tag-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--purple-bright); box-shadow: 0 0 10px rgba(192, 132, 252, .7); }
.build-label { padding: 6px 9px; border: 1px solid rgba(192, 132, 252, .28); border-radius: 999px; color: var(--purple-bright); background: rgba(111, 40, 183, .14); white-space: nowrap; }
.download-card h2 { margin-bottom: 8px; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 1.8rem; }
.card-description { min-height: 48px; margin-bottom: 18px; color: var(--muted); line-height: 1.55; }
.download-button {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(115deg, #812ccc, #a855f7 72%, #b769fa);
  border: 1px solid rgba(234, 211, 255, .4);
  border-radius: 10px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(113, 40, 183, .24);
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}
.download-button:hover { color: #fff; filter: brightness(1.11); transform: translateY(-1px); box-shadow: 0 12px 34px rgba(113, 40, 183, .37); }
.download-button:active { transform: translateY(0); }
.download-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; flex: 0 0 auto; }
.file-meta { display: flex; justify-content: space-between; gap: 10px; margin: 11px 1px 23px; color: #978da7; font-size: .77rem; }
.file-meta span:first-child { overflow-wrap: anywhere; }
.install-block { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .09); }
.install-block h3 { margin-bottom: 11px; font-size: .95rem; }
.install-block ol { margin: 0; padding-left: 1.25rem; color: var(--muted); font-size: .89rem; line-height: 1.6; }
.install-block li { padding-left: .18rem; margin: 0 0 6px; }
.install-block code { color: #efe2ff; font-size: .86em; }
.notice {
  margin: 21px 0 0;
  padding: 12px 13px;
  color: #e8d7b4;
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: 9px;
  font-size: .82rem;
  line-height: 1.55;
}
.notice strong { color: var(--warning); }

.shared-note { display: flex; gap: 13px; align-items: flex-start; margin: 22px 4px 0; padding: 15px 17px; border-left: 2px solid var(--purple); background: rgba(91, 43, 130, .12); }
.note-symbol { display: grid; place-items: center; width: 21px; height: 21px; flex: 0 0 auto; border: 1px solid var(--purple); border-radius: 50%; color: var(--purple-bright); font-family: Georgia, serif; font-size: .82rem; font-weight: 700; }
.shared-note p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.62; }
.site-footer { max-width: var(--max-width); margin: 54px auto 0; padding: 22px 28px 30px; display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(255, 255, 255, .09); color: #857b91; font-size: .77rem; }
.site-footer p { margin: 0; }

@media (max-width: 960px) {
  .downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .site-header { min-height: 72px; padding: 14px 20px; }
  main { padding: 44px 20px 0; }
  .hero { margin: 0 0 29px; }
  .eyebrow { font-size: .67rem; letter-spacing: .12em; }
  .hero-copy { font-size: 1rem; }
  .downloads { grid-template-columns: 1fr; gap: 15px; }
  .download-card { padding: 22px; }
  .card-description { min-height: auto; }
  .shared-note { margin-inline: 0; }
  .site-footer { margin-top: 38px; padding: 20px; flex-direction: column; }
}
@media (max-width: 390px) {
  .header-note { max-width: 95px; text-align: right; font-size: .77rem; }
  .brand-name { font-size: 1.24rem; }
  .card-topline { align-items: flex-start; }
  .build-label { font-size: .63rem; }
  .download-card { padding: 19px; }
  .file-meta { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
