@charset "UTF-8";

:root {
  color-scheme: dark;
  --page: #0a0e1c;
  --surface: #141c30;
  --text: #f2f5ff;
  --muted: #b3bfd8;
  --line: #2d3954;
  --focus: #d8e8ff;
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--text); }
h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
img { display: block; }
.wrap { width: min(1140px, 100% - 48px); margin-inline: auto; }

.header { border-bottom: 1px solid var(--line); background: #0d1324; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { border: 1px solid #667396; border-radius: 10px; }
.brand span { display: grid; gap: 2px; }
.brand strong { font-size: 1.15rem; line-height: 1.2; letter-spacing: .035em; }
.brand small { color: #bec8e2; font-size: .59rem; letter-spacing: .13em; }
.back-link, .footer a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #d4def4; font-size: .875rem; }
.link-arrow { position: relative; width: 11px; height: 11px; flex: none; color: #b9b1ff; }
.link-arrow::before, .link-arrow::after { content: ""; position: absolute; }
.link-arrow::before { inset: 1px 1px auto auto; width: 6px; height: 6px; border: solid currentColor; border-width: 1px 1px 0 0; }
.link-arrow::after { top: 5px; right: 1px; width: 9px; height: 1px; background: currentColor; transform: rotate(-45deg); }
.back-link:hover, .footer a:hover { color: white; }

main { padding-block: 30px 32px; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(280px, 29vw, 350px);
  overflow: hidden;
  border: 1px solid #3a4a69;
  border-radius: 22px;
  background: #0e172e;
}
.hero-scene {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #0a1124f4 1%, #0c1328e8 36%, #0b12233a 75%, #0b12232e),
              linear-gradient(0deg, #0b1325ed, transparent 57%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(transparent 12%, #bba6ff, #88c9ff, transparent 90%);
  pointer-events: none;
}
.hero-inner { padding: clamp(25px, 5vw, 55px); width: min(100%, 650px); }
h1 { margin-block: 8px 12px; font-size: clamp(2.35rem, 6vw, 5rem); line-height: 1.06; letter-spacing: -.055em; }
h1 span { color: #adc9ff; white-space: nowrap; }
.lead { max-width: 41ch; color: #dce6fa; font-size: clamp(.9rem, 2vw, 1.075rem); }

.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.platform {
  --tint: #b3d6ff;
  --button: #c5defd;
  --border: #4b6a91;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-top-color: var(--border);
  border-radius: 18px;
  background: var(--surface);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.platform-linux { --tint: #ccbcff; --button: #d4c8ff; --border: #655897; }
.platform-heading { display: flex; align-items: center; gap: 13px; }
.platform-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: none;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #1d2a46;
  color: var(--tint);
}
.windows-icon {
  width: 19px;
  height: 19px;
  background: linear-gradient(transparent 8px, #1d2a46 8px 11px, transparent 11px),
              linear-gradient(90deg, transparent 8px, #1d2a46 8px 11px, transparent 11px),
              currentColor;
}
.terminal-icon { background: #272344; font: 750 1.2rem/1 ui-monospace, monospace; }
.platform-heading h2 { font-size: 1.43rem; line-height: 1.18; letter-spacing: -.02em; }
.platform-heading p { margin-top: 4px; color: var(--muted); font-size: .81rem; }
.release {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 18px;
  padding-block: 14px;
  border-block: 1px solid var(--line);
}
dt { color: var(--muted); font-size: .72rem; }
dd { margin: 3px 0 0; overflow-wrap: anywhere; font-size: .9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.platform-action { margin-top: auto; }
.download-button {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  overflow: hidden;
  padding: 9px 14px;
  border: 1px solid #edf4ff94;
  border-radius: 11px;
  background: var(--button);
  color: #11203a;
  font-size: .92rem;
  font-weight: 760;
  transition: filter .18s ease, transform .18s ease;
}
.download-button::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  transform: translateX(-125%);
  background: linear-gradient(110deg, transparent 26%, #ffffff8e 50%, transparent 74%);
  pointer-events: none;
}
.download-arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; font-size: 1.32rem; line-height: 1; }
.file-type { padding: 3px 7px; border-radius: 5px; background: #172b5016; font: 700 .7rem/1.4 ui-monospace, monospace; white-space: nowrap; }
.download-button:active { transform: scale(.986); }
.download-status { margin-top: 8px; color: var(--muted); font-size: .75rem; }
.download-requested .download-status { color: var(--tint); }
.compatibility {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px 24px;
  padding: 15px 19px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #101729;
  color: var(--muted);
  font-size: .79rem;
}
.compatibility strong { display: block; margin-bottom: 3px; color: #e2eaff; font-size: .84rem; }

.footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 10px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .77rem; }
.footer nav { flex: none; }
.skip { position: absolute; z-index: 5; inset: 8px auto auto 12px; padding: 8px 12px; transform: translateY(-160%); background: #d5e4ff; color: #142542; }
.skip:focus { transform: none; }

@media (hover: hover) and (pointer: fine) {
  .platform:hover { transform: translateY(-3px); border-color: var(--border); box-shadow: 0 12px 26px #05081070; }
  .download-button:hover { filter: brightness(1.07); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-scene { animation: scene-in .68s ease-out both; }
  h1, .lead, .platform { animation: reveal .42s cubic-bezier(.2,.75,.26,1) both; }
  h1 { animation-delay: .12s; }
  .lead { animation-delay: .19s; }
  .platform-windows { animation-delay: .25s; }
  .platform-linux { animation-delay: .32s; }
  .download-button:focus-visible::after,
  .download-requested .download-button::after { animation: sheen .65s ease-out; }
  @media (hover: hover) and (pointer: fine) {
    .download-button:hover::after { animation: sheen .65s ease-out; }
  }
  .download-requested .download-arrow { animation: confirm .45s ease-out; }
}
@keyframes scene-in { from { opacity: .42; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@keyframes reveal { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@keyframes sheen { to { transform: translateX(125%); } }
@keyframes confirm { 45% { transform: translateY(4px); } }

@media (max-width: 700px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 63px; }
  main { padding-top: 16px; }
  .hero { min-height: 225px; border-radius: 17px; }
  .hero-scene { object-position: 67% 42%; }
  .hero::before { background: linear-gradient(90deg, #0b1326e3, #0b13264d), linear-gradient(0deg, #0b1326ec, transparent 90%); }
  .hero-inner { padding: 20px; }
  .platforms { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 13px; }
  .compatibility { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .hero-inner { padding: 17px; }
  .download-button { gap: 6px; padding-inline: 9px; font-size: .84rem; }
  .footer { align-items: flex-start; flex-direction: column; gap: 2px; padding-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .platform, .download-button { transition: none; }
  .download-button:active, .platform:hover { transform: none; }
}
