:root {
  color-scheme: dark;
  --bg: #080808;
  --text: #ededed;
  --muted: #9b9b9b;
  --soft: #151515;
  --panel: #101010;
  --line: #262626;
  --line-strong: #363636;
  --accent: #ffffff;
  --ok: #71d083;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scrollbar-width: none;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, #0d0d0d 0, var(--bg) 300px),
    var(--bg);
  font-size: 15px;
  line-height: 1.55;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.86);
  backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
}

.mark {
  width: 24px;
  height: 24px;
  display: block;
  border-radius: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.hero {
  padding: 84px 0 42px;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 720;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-title {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
}

.hero-title img {
  width: clamp(52px, 6.2vw, 82px);
  height: clamp(52px, 6.2vw, 82px);
  flex: 0 0 auto;
  border-radius: 14px;
}

.lede {
  max-width: 620px;
  margin: 22px 0 0;
  color: #b7b7b7;
  font-size: 19px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #ededed;
  border-radius: 6px;
  padding: 0 14px;
  background: #ededed;
  color: #080808;
  font-weight: 560;
}

.button-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.button:hover {
  color: #080808;
  background: #ffffff;
}

.button.secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}

.button.secondary:hover {
  color: var(--text);
  border-color: #6a6a6a;
}

.button.subtle {
  border-color: var(--line-strong);
  background: var(--soft);
  color: var(--text);
}

.showcase {
  width: min(100%, 980px);
  margin: 44px auto 0;
  display: grid;
  justify-items: center;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 180ms ease;
}

.carousel-slide.is-active {
  opacity: 1;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 0;
  background: transparent;
}

.carousel-dot {
  position: relative;
  width: 28px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: #3a3a3a;
  cursor: pointer;
  overflow: hidden;
}

.carousel-dot::before {
  position: absolute;
  inset: 0;
  width: 0;
  background: #ededed;
  content: "";
}

.carousel-dot.is-active::before {
  animation: carousel-progress 6500ms linear forwards;
}

.carousel-dot.is-paused::before {
  animation-play-state: paused;
}

@keyframes carousel-progress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.carousel-dot.is-active {
  background: #ededed;
}

.carousel-dot.is-active:not(.is-paused) {
  background: #3a3a3a;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-dot.is-active::before {
    animation: none;
    width: 100%;
  }
}

.release-section {
  padding: 30px 0 70px;
}

.release-panel {
  padding: 6px 0 28px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.pill.latest {
  border-color: rgba(113, 208, 131, 0.34);
  color: var(--ok);
  background: rgba(113, 208, 131, 0.08);
}

.notes {
  max-width: 780px;
  margin: 24px 0 0;
  padding-left: 19px;
}

.notes li {
  margin: 9px 0;
}

.asset-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 0;
}

.asset-name {
  margin: 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.asset-size {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.page-head {
  padding: 70px 0 28px;
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  max-width: 680px;
  font-size: clamp(40px, 6vw, 68px);
}

.versions {
  padding: 30px 0 72px;
}

.download-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.download-list li {
  border-bottom: 1px solid var(--line);
}

.download-list a {
  display: block;
  padding: 14px 0;
  color: var(--text);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.download-list a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.maker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.maker img {
  display: block;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.maker span {
  display: grid;
  gap: 1px;
}

.maker-label {
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
}

.maker strong {
  font-size: 14px;
  line-height: 1.15;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 1040px);
  }

  .nav-inner,
  .footer .shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-inner {
    min-height: auto;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-title {
    align-items: flex-start;
  }

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