:root {
  color-scheme: light;
  --metask-primary: #8a4ed1;
  --metask-primary-deep: #4b2db5;
  --metask-primary-soft: #e9e6ff;
  --metask-success: #4c9a72;
  --metask-canvas: #f7f8fa;
  --metask-panel: #ffffff;
  --metask-panel-muted: #f0f1f5;
  --metask-text: #181a23;
  --metask-text-muted: #646977;
  --metask-border: rgba(37, 39, 52, 0.12);
  --font-display:
    "Aptos Display", "SF Pro Display", "Segoe UI Variable Display", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  --font-body:
    Inter, "SF Pro Text", "Segoe UI Variable Text", "PingFang SC", "Microsoft YaHei",
    Arial, sans-serif;
  --font-mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --shell: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0, rgba(247, 248, 250, 0.98) 420px),
    var(--metask-canvas);
  color: var(--metask-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 7px;
  background: var(--metask-text);
  color: #ffffff;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid rgba(37, 39, 52, 0.08);
}

.site-header__inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark,
.header-action,
.official-site {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 720;
  letter-spacing: -0.035em;
}

.header-action,
.official-site {
  color: var(--metask-text-muted);
  font-size: 13px;
  font-weight: 640;
}

.header-action {
  padding: 0 12px;
  border-radius: 7px;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.header-action:hover {
  background: var(--metask-panel-muted);
  color: var(--metask-text);
}

.release {
  padding: 88px 0 104px;
}

.release-intro {
  display: grid;
  padding-bottom: 56px;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: end;
  gap: 88px;
  border-bottom: 1px solid var(--metask-border);
}

.release-label {
  display: inline-flex;
  margin: 0;
  align-items: center;
  gap: 10px;
  color: var(--metask-primary-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.release-label__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--metask-success);
  box-shadow: 0 0 0 5px rgba(76, 154, 114, 0.1);
}

.release h1 {
  max-width: 720px;
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 76px);
  font-weight: 720;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.release-intro__copy > p:first-child {
  margin: 0;
  color: var(--metask-text-muted);
  font-size: 17px;
  line-height: 1.75;
}

.artifacts {
  padding-top: 48px;
  scroll-margin-top: 24px;
}

.section-heading {
  display: flex;
  margin-bottom: 24px;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 0;
  color: var(--metask-text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.artifact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.artifact-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--metask-border);
  border-radius: 12px;
  background: var(--metask-panel);
  box-shadow: 0 16px 36px rgba(35, 27, 55, 0.045);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.artifact-card:hover {
  border-color: rgba(138, 78, 209, 0.28);
  box-shadow: 0 20px 44px rgba(35, 27, 55, 0.075);
  transform: translateY(-2px);
}

.artifact-card__body {
  padding: 32px;
}

.artifact-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.platform-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  border: 1px solid rgba(138, 78, 209, 0.18);
  border-radius: 12px;
  background: var(--metask-primary-soft);
  color: var(--metask-primary-deep);
}

.platform-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.artifact-card:nth-child(2) .platform-icon svg {
  fill: currentColor;
  stroke: none;
}

.artifact-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.artifact-card__header p {
  margin: 4px 0 0;
  color: var(--metask-text-muted);
  font-size: 13px;
}

.artifact-specs {
  display: flex;
  margin: 32px 0 24px;
  padding: 20px 0;
  gap: 56px;
  border-top: 1px solid rgba(37, 39, 52, 0.09);
  border-bottom: 1px solid rgba(37, 39, 52, 0.09);
}

.artifact-specs div {
  min-width: 72px;
}

.artifact-specs dt {
  color: var(--metask-text-muted);
  font-size: 11px;
}

.artifact-specs dd {
  margin: 3px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 650;
}

.download-button {
  display: flex;
  min-height: 48px;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--metask-primary);
  border-radius: 7px;
  background: var(--metask-primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.download-button:hover {
  border-color: var(--metask-primary-deep);
  background: var(--metask-primary-deep);
}

.download-button:active {
  transform: translateY(1px);
}

.download-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.artifact-card__file {
  display: flex;
  min-height: 152px;
  margin-top: auto;
  padding: 20px 32px;
  flex-direction: column;
  border-top: 1px solid var(--metask-border);
  background: rgba(240, 241, 245, 0.58);
}

.artifact-card__file > span {
  color: var(--metask-text-muted);
  font-size: 10px;
  font-weight: 650;
}

.artifact-card__file > code {
  display: block;
  margin-top: 6px;
  color: var(--metask-text);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.artifact-card details {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(37, 39, 52, 0.08);
}

.artifact-card summary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--metask-text-muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
}

.artifact-card details code {
  display: block;
  padding: 4px 0 10px;
  color: var(--metask-text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--metask-border);
  background: var(--metask-panel);
}

.site-footer__inner {
  display: flex;
  min-height: 112px;
  padding-block: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark--footer {
  min-height: auto;
}

.site-footer p {
  margin: 5px 0 0;
  color: var(--metask-text-muted);
  font-size: 12px;
}

.official-site:hover {
  color: var(--metask-primary-deep);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(138, 78, 209, 0.55);
  outline-offset: 3px;
}

@media (max-width: 840px) {
  .release {
    padding-top: 72px;
  }

  .release-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .release-intro__copy {
    max-width: 620px;
  }

  .artifact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .site-header__inner {
    min-height: 64px;
  }

  .release {
    padding: 56px 0 72px;
  }

  .release-intro {
    padding-bottom: 40px;
  }

  .release h1 {
    margin-top: 16px;
    font-size: clamp(42px, 12.5vw, 50px);
    line-height: 1.02;
  }

  .release-intro__copy > p:first-child {
    font-size: 15px;
  }

  .artifacts {
    padding-top: 40px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .artifact-card__body {
    padding: 24px;
  }

  .artifact-card__file {
    padding-inline: 24px;
  }

  .artifact-specs {
    gap: 40px;
  }

  .site-footer__inner {
    min-height: 0;
    padding-block: 40px;
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 360px) {
  .shell {
    width: min(calc(100% - 24px), var(--shell));
  }

  .header-action {
    padding-inline: 6px;
  }

  .artifact-card__body,
  .artifact-card__file {
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
