:root {
  color-scheme: dark;
  --background: #050809;
  --text: #e9e6dc;
  --muted: #9ca9ab;
  --accent: #66d4cf;
  --purple: #bc9bdf;
  --border: #354247;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-width: 280px; background: var(--background); }
body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(5, 8, 9, .76), rgba(5, 8, 9, .93) 68%, #050809),
    url("assets/nebula.jpg") center top / 1600px auto no-repeat;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
svg { display: block; flex-shrink: 0; }
img { display: block; max-width: 100%; }
.shell { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }

.skip-link { position: absolute; top: -60px; left: 16px; z-index: 2; padding: 12px 18px; background: var(--accent); color: #050809; }
.skip-link:focus { top: 12px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 4px; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; border-bottom: 1px solid rgba(156, 169, 171, .15); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 650; letter-spacing: -.8px; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand-two { color: var(--accent); }
.header-note { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .4px; color: var(--muted); }
.orbit { position: relative; width: 15px; height: 15px; border: 1px solid #668481; border-radius: 50%; transform: rotate(-30deg); }
.orbit::after { content: ""; position: absolute; inset: 4px -4px; border: 1px solid #668481; border-radius: 50%; }

.hero-art { position: relative; margin: 20px -24px 0; }
.hero-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 -26px 30px -15px var(--background); }
.hero-art img { width: 100%; height: auto; }

.intro { position: relative; margin: -2px auto 0; padding-inline: 12px; text-align: center; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0 0 17px; color: var(--accent); font-size: 10px; font-weight: 600; letter-spacing: 2.6px; }
.eyebrow span { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px #66d4cf66; }
h1 { margin: 0; color: #fffaf0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 3.6vw, 48px); font-weight: 400; letter-spacing: -1.5px; line-height: 1.2; }
h1 em { color: var(--accent); font-weight: 400; }
.description { margin: 20px auto 0; max-width: 610px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.downloads { display: flex; justify-content: center; gap: 16px; margin: 30px auto 0; max-width: 640px; }
.download { display: flex; align-items: center; gap: 15px; flex: 1; padding: 18px 21px; border: 1px solid; border-radius: 6px; text-align: left; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.download-windows { border-color: #3a7774; background: #10292a; color: #c2f3ee; }
.download-mac { border-color: #665076; background: #211a2c; color: #ead8ff; }
.platform-icon { width: 24px; height: 24px; }
.download-label { display: flex; flex: 1; flex-direction: column; gap: 5px; }
.download-label strong { font-size: 14px; font-weight: 600; white-space: nowrap; }
.download-label > span { font-size: 11px; color: #a0b6b6; letter-spacing: .3px; }
.download-mac .download-label > span { color: #b5a4c3; }
.download-icon { width: 18px; height: 18px; opacity: .75; }
.download:hover { transform: translateY(-2px); }
.download-windows:hover { background: #193a3a; border-color: var(--accent); }
.download-mac:hover { background: #30233e; border-color: var(--purple); }
.download-note { margin: 15px 0 0; font-size: 11px; letter-spacing: .3px; color: #879899; }

.community { display: grid; grid-template-columns: 1fr 1fr; max-width: 640px; margin: 42px auto 0; border-top: 1px solid rgba(156, 169, 171, .2); border-bottom: 1px solid rgba(156, 169, 171, .2); }
.community-link { display: flex; align-items: center; gap: 14px; position: relative; padding: 23px 14px; transition: background .18s ease; }
.community-link + .community-link::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: rgba(156, 169, 171, .2); }
.community-link:hover { background: rgba(156, 169, 171, .04); }
.community-icon { width: 24px; height: 24px; }
.discord-icon { color: #b2a4e9; }
.youtube-icon { color: #f29199; }
.community-link > span:not(.link-arrow) { display: flex; flex: 1; flex-direction: column; gap: 6px; }
.community-link strong { font-size: 13px; font-weight: 500; }
.community-link span span { color: var(--muted); font-size: 11px; }
.link-arrow { color: #8a999d; font-size: 19px; font-weight: 300; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 37px 26px; color: #879899; font-size: 11px; letter-spacing: .2px; }
.footer-brand { letter-spacing: .7px; }
.footer-brand span { margin-left: 9px; color: #bd9c68; }

@media (min-width: 1600px) {
  body { background-size: auto, cover; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .site-header { min-height: 78px; }
  .brand { font-size: 20px; }
  .brand img { width: 38px; height: 38px; }
  .header-note { max-width: 145px; font-size: 10px; line-height: 1.5; }
  .orbit { flex-shrink: 0; }
  .hero-art { margin: 24px -12px 14px; }
  .intro { padding-inline: 0; }
  h1 { letter-spacing: -1px; }
  .description { max-width: 500px; font-size: 14px; }
  .downloads { gap: 12px; }
  .download { padding: 17px 14px; gap: 11px; }
  .download-label strong { font-size: 12px; }
  .community-link { gap: 10px; padding-inline: 10px; }
}
@media (max-width: 540px) {
  .shell { width: calc(100% - 32px); }
  .header-note { display: none; }
  .site-header { justify-content: center; min-height: 74px; }
  .hero-art { margin: 25px -12px 26px; }
  .eyebrow { font-size: 9px; letter-spacing: 2.2px; margin-bottom: 16px; }
  h1 { font-size: clamp(30px, 8vw, 41px); max-width: 320px; margin-inline: auto; }
  h1 em { display: block; margin-top: 3px; }
  .description { margin-top: 18px; padding-inline: 8px; font-size: 13px; line-height: 1.8; }
  .desktop-break { display: none; }
  .downloads { flex-direction: column; max-width: 350px; margin-top: 26px; gap: 12px; }
  .download { padding: 18px 22px; gap: 18px; }
  .download-label strong { font-size: 14px; }
  .download-label > span { font-size: 11px; }
  .download-note { font-size: 10px; }
  .community { grid-template-columns: 1fr; max-width: 350px; margin-top: 32px; }
  .community-link { padding: 21px 10px; gap: 15px; }
  .community-link + .community-link { border-top: 1px solid rgba(156, 169, 171, .13); }
  .community-link + .community-link::before { display: none; }
  .site-footer { padding-block: 28px 24px; font-size: 10px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
