:root {
  --text: #f6f1ee;
  --text-custom: #c8bfba;
  --muted: #8a817c;
  --span: #e83636;
  --span-rgb: 232, 54, 54;
  --money: #e07a7a;
  --money-bg: rgb(224 122 122 / 10%);
  --money-border: rgb(224 122 122 / 22%);
  --green: #64ce82;
  --bg: #070708;
  --bg-elevated: #0c0c0e;
  --bg-void: #030304;
  --glass: rgb(0 0 0 / 42%);
  --glass-border: rgb(var(--span-rgb) / 16%);
  --glass-border-soft: rgb(255 255 255 / 5%);
  --glass-highlight: rgb(255 255 255 / 5.5%);
  --glass-inner: inset 0 1px 0 rgb(255 255 255 / 6%), inset 0 -1px 0 rgb(0 0 0 / 55%);
  --glass-shadow: 0 18px 48px rgb(0 0 0 / 55%);
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-chip: 999px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Manrope', system-ui, sans-serif;
  --display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(980px 560px at 12% -8%, rgb(var(--span-rgb) / 10%), transparent 58%),
    radial-gradient(720px 480px at 92% 8%, rgb(80 20 20 / 16%), transparent 56%),
    linear-gradient(168deg, #100e10 0%, var(--bg) 42%, var(--bg-void) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
  opacity: 0.22;
  animation: drift 20s ease-in-out infinite alternate;
}

.orb--a {
  width: 460px;
  height: 460px;
  left: -140px;
  top: 70px;
  background: radial-gradient(circle at 35% 30%, rgb(var(--span-rgb) / 36%), rgb(90 16 16 / 5%) 70%);
}

.orb--b {
  width: 520px;
  height: 520px;
  right: -180px;
  bottom: -140px;
  background: radial-gradient(circle at 60% 40%, rgb(70 18 22 / 42%), rgb(8 4 4 / 5%) 72%);
  animation-delay: -6s;
}

.orb--c {
  width: 280px;
  height: 280px;
  left: 42%;
  top: -80px;
  background: radial-gradient(circle at 50% 50%, rgb(224 122 122 / 14%), transparent 70%);
  filter: blur(70px);
  opacity: 0.16;
  animation-delay: -11s;
}

.beam {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    118deg,
    transparent 38%,
    rgb(var(--span-rgb) / 4%) 49%,
    transparent 61%
  );
  mix-blend-mode: screen;
}

.kicker {
  margin: 0 0 10px;
  color: var(--money);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 24px 0;
}

.top__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.top__brand img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: contain;
}

.top__link {
  padding: 6px 12px;
  border-radius: var(--radius-chip);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  border: 1px solid transparent;
  transition:
    color 200ms ease,
    background 200ms ease,
    border-color 200ms ease;
}

.top__link:hover {
  color: var(--text);
  background: rgb(255 255 255 / 5%);
  border-color: rgb(255 255 255 / 6%);
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px 64px;
  max-width: 920px;
  margin: 0 auto;
}

.hero__logo-wrap {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background:
    linear-gradient(165deg, rgb(255 255 255 / 4%), rgb(0 0 0 / 38%)),
    rgb(0 0 0 / 28%);
  border: 1px solid rgb(var(--span-rgb) / 22%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 7%),
    0 16px 36px rgb(0 0 0 / 40%);
  animation: rise 700ms var(--ease-out) both;
}

.hero__logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgb(var(--span-rgb) / 28%));
}

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4.6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  animation: rise 700ms var(--ease-out) 80ms both;
}

.hero__tagline {
  margin: 12px 0 0;
  max-width: 420px;
  color: var(--text-custom);
  font-size: 15px;
  line-height: 1.55;
  animation: rise 700ms var(--ease-out) 140ms both;
}

.panel {
  width: min(720px, 100%);
  margin-top: 32px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(165deg, rgb(255 255 255 / 2.8%) 0%, rgb(0 0 0 / 18%) 38%, rgb(0 0 0 / 42%) 100%),
    var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inner), var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(118%);
  -webkit-backdrop-filter: blur(22px) saturate(118%);
  animation: rise 700ms var(--ease-out) 200ms both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 220px;
  padding: 13px 18px;
  border-radius: var(--radius-chip);
  border: 1px solid transparent;
  transition:
    transform 220ms var(--ease-out),
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 220ms ease;
}

.btn__label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.btn__meta {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.72;
}

.btn--primary {
  background: linear-gradient(145deg, #ff5c5c, var(--span) 46%, #b41f1f);
  border-color: rgb(255 120 120 / 38%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 26%),
    0 10px 28px rgb(var(--span-rgb) / 26%);
}

.btn--primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(145deg, #ff6d6d, #ef3c3c 48%, #c42424);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 32%),
    0 14px 34px rgb(var(--span-rgb) / 32%);
}

.btn--ghost {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 4%), rgb(0 0 0 / 28%)),
    rgb(0 0 0 / 22%);
  border-color: var(--glass-border-soft);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 6%),
    0 8px 20px rgb(0 0 0 / 28%);
}

.btn--ghost:hover,
.btn--ghost.is-focus {
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 5.5%), rgb(0 0 0 / 22%)),
    rgb(0 0 0 / 18%);
  border-color: rgb(var(--span-rgb) / 28%);
}

.btn:active {
  transform: translateY(0);
}

.meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 16px 0 0;
  padding: 0;
}

.meta__item {
  padding: 12px 10px;
  border-radius: 14px;
  background: rgb(0 0 0 / 28%);
  border: 1px solid var(--glass-border-soft);
  text-align: left;
}

.meta__item dt {
  margin: 0 0 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.meta__item dd {
  margin: 0;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 200ms ease;
}

.meta__live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgb(100 206 130 / 28%);
  background: rgb(100 206 130 / 10%);
  color: var(--green);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.meta__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgb(100 206 130 / 55%);
  animation: live-pulse 1.6s ease-out infinite;
}

#meta-downloads.is-tick {
  animation: count-tick 420ms var(--ease-out);
}

.meta.is-tools .meta__item dd {
  color: var(--money);
}

.meta-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  min-height: 1.2em;
}

.vt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(420px, 100%);
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgb(100 206 130 / 22%);
  background:
    linear-gradient(165deg, rgb(255 255 255 / 2.6%), rgb(0 0 0 / 22%)),
    rgb(0 0 0 / 36%);
  text-align: left;
  box-shadow: var(--glass-inner);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 220ms var(--ease-out),
    border-color 200ms ease,
    background 200ms ease;
  animation: rise 700ms var(--ease-out) 280ms both;
}

.vt:hover {
  transform: translateY(-2px);
  border-color: rgb(100 206 130 / 40%);
}

.vt__shield {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--green);
  background: rgb(100 206 130 / 12%);
  border: 1px solid rgb(100 206 130 / 22%);
}

.vt__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.vt__text strong {
  font-size: 13px;
  font-weight: 700;
}

.vt__text span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vt__arrow {
  color: var(--green);
  font-size: 14px;
  opacity: 0.8;
}

.changelog {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 24px 96px;
}

.changelog__head {
  margin-bottom: 18px;
}

.changelog__head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.changelog__head p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline__item {
  position: relative;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(165deg, rgb(255 255 255 / 2.6%) 0%, rgb(0 0 0 / 22%) 100%),
    var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inner);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 500ms var(--ease-out),
    transform 500ms var(--ease-out);
}

.timeline__item.is-in {
  opacity: 1;
  transform: translateY(0);
}

.timeline__ver {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}

.timeline__ver strong {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
}

.timeline__ver time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.timeline__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--money-border);
  background: var(--money-bg);
  color: var(--money);
  font-size: 11px;
  font-weight: 700;
}

.timeline__item.is-unreleased .timeline__list {
  opacity: 0.85;
}

.timeline__title {
  margin: 0 0 10px;
  color: var(--text-custom);
  font-size: 14px;
}

.timeline__list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-custom);
  font-size: 14px;
  line-height: 1.55;
}

.timeline__list li + li {
  margin-top: 4px;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 32px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.foot a:hover {
  color: var(--money);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(22px, -16px, 0) scale(1.07);
  }
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(100 206 130 / 55%);
  }
  70% {
    box-shadow: 0 0 0 7px rgb(100 206 130 / 0%);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(100 206 130 / 0%);
  }
}

@keyframes count-tick {
  0% {
    transform: translateY(0);
    color: inherit;
  }
  35% {
    transform: translateY(-3px);
    color: var(--green);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
    justify-content: flex-start;
  }

  .panel {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb,
  .hero__logo-wrap,
  .hero__title,
  .hero__tagline,
  .panel,
  .vt,
  .timeline__item {
    animation: none !important;
    transition: none !important;
  }
}
