:root {
  color-scheme: light;
  --ink: #071525;
  --muted: #5e6875;
  --line: #dce2e8;
  --line-soft: #edf1f4;
  --blue: #075de8;
  --blue-dark: #034bc2;
  --green: #0aa25a;
  --white: #ffffff;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --max: 1380px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transition: top 160ms ease;
}
.skip-link:focus { top: 16px; }

.site-header,
footer {
  width: min(calc(100% - 96px), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header { min-height: 104px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 750; letter-spacing: -0.04em; }
.brand img { object-fit: contain; }
nav { display: flex; align-items: center; gap: 44px; }
nav a { font-size: 15px; font-weight: 560; }
nav a:hover { color: var(--blue); }

.hero {
  min-height: 690px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(560px, 1.1fr);
  align-items: center;
  gap: 60px;
  width: min(calc(100% - 96px), var(--max));
  margin: 0 auto;
  padding: 64px 0 76px;
}
.hero-copy { padding-left: 10px; }
h1 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(58px, 5.3vw, 84px);
  line-height: 1.12;
  letter-spacing: -0.065em;
  font-weight: 820;
}
.hero-copy > p:not(.release-note) {
  margin: 36px 0 0;
  color: #273544;
  font-size: 20px;
  line-height: 1.85;
}
.actions, .release-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.actions { margin-top: 40px; }
.button {
  min-height: 56px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid var(--blue);
  font-size: 16px;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}
.button svg, .text-link svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.button-secondary { background: var(--white); color: var(--blue); }
.button-secondary:hover { background: #f6f9ff; transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, nav a:focus-visible, .brand:focus-visible { outline: 3px solid rgba(7, 93, 232, 0.3); outline-offset: 4px; }
.release-note { margin: 34px 0 0; color: var(--muted); font-size: 15px; }

.molecule-stage {
  min-height: 520px;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.molecule-stage img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fbfcfd;
}
.product-strip > div { padding: 54px max(36px, calc((100vw - var(--max)) / 6)); border-right: 1px solid var(--line); }
.product-strip > div:last-child { border-right: 0; }
.strip-number { color: var(--blue); font-size: 13px; font-weight: 760; letter-spacing: 0.1em; }
.product-strip h2 { margin: 20px 0 12px; font-size: 24px; letter-spacing: -0.035em; }
.product-strip p { max-width: 340px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }

.interface-section {
  width: min(calc(100% - 96px), var(--max));
  margin: 0 auto;
  padding: 110px 0 120px;
}
.interface-heading {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 52px;
}
.interface-heading h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(46px, 4.8vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}
.interface-heading p {
  max-width: 580px;
  margin: 0 0 5px;
  color: #273544;
  font-size: 18px;
  line-height: 1.8;
}
.interface-preview { margin: 0; }
.interface-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(22, 38, 55, 0.12);
}

.release-section {
  width: min(calc(100% - 96px), var(--max));
  margin: 0 auto;
  padding: 110px 0 0;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  column-gap: 80px;
}
.release-copy { padding: 0 10px 78px; }
.release-copy h2 { margin: 0; font-size: clamp(48px, 5vw, 72px); line-height: 1.05; letter-spacing: -0.06em; }
.release-copy > p { max-width: 610px; margin: 28px 0 36px; color: #273544; font-size: 18px; line-height: 1.85; }
.release-actions { gap: 34px; }
.text-link { display: inline-flex; align-items: center; gap: 16px; color: var(--blue); font-size: 16px; font-weight: 700; }
.text-link:hover svg { transform: translateX(4px); }
.text-link svg { transition: transform 160ms ease; }
.github-link {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.github-link:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.github-link svg { width: 25px; fill: currentColor; }
.release-status { padding: 16px 10px 78px 68px; border-left: 1px solid var(--line); }
.release-status > span { display: block; color: var(--muted); font-size: 15px; }
.release-status strong { display: block; margin-top: 22px; font-size: 30px; line-height: 1.35; letter-spacing: -0.04em; }
.flask { margin-top: 26px; color: var(--green); }
.flask svg { width: 58px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.latest-downloads {
  grid-column: 1 / -1;
  padding: 64px 10px 66px;
  border-top: 1px solid var(--line);
}
.downloads-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}
.downloads-heading span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.downloads-heading h3 { margin: 0; font-size: 32px; letter-spacing: -0.04em; }
.downloads-heading > a, .checksum-link { color: var(--blue); font-size: 14px; font-weight: 680; }
.downloads-heading > a:hover, .checksum-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.download-list { border-top: 1px solid var(--ink); }
.download-item {
  min-height: 104px;
  display: grid;
  grid-template-columns: 64px 1fr auto 30px;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease, color 160ms ease;
}
.download-item:not(.is-pending):hover { background: #f6f9ff; }
.download-index { color: var(--blue); font-size: 13px; font-weight: 760; }
.download-copy { display: grid; gap: 8px; }
.download-copy strong { font-size: 19px; letter-spacing: -0.025em; }
.download-copy small { color: var(--muted); font-size: 14px; }
.download-meta { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.download-item > svg { width: 26px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.download-item.is-pending { color: #7c8792; }
.download-item.is-pending > svg { stroke: #aab3bc; }
.store-placeholders { display: flex; align-items: center; gap: 10px; }
.store-placeholder {
  min-width: 76px;
  height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px dashed #aeb7c0;
  color: #6f7b87;
  font-size: 12px;
  font-weight: 680;
}
.store-placeholder svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.store-coming { color: var(--muted); font-size: 13px; }
.checksum-link { display: inline-block; margin-top: 22px; }

.release-steps {
  grid-column: 1 / -1;
  margin: 0;
  padding: 54px 0 72px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}
.release-steps li { position: relative; display: grid; grid-template-columns: 54px 42px auto; align-items: center; gap: 22px; }
.release-steps li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: 32px; width: 28%; height: 1px; background: #bfc8d1; }
.release-steps span { width: 54px; height: 54px; border: 1px solid var(--blue); border-radius: 50%; display: grid; place-items: center; color: var(--blue); font-size: 20px; font-weight: 700; }
.release-steps svg { width: 38px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.release-steps strong { font-size: 18px; }

footer { min-height: 132px; border-top: 1px solid var(--line); }
footer .brand { font-size: 21px; }
footer nav { gap: 36px; color: var(--blue); }

@media (max-width: 980px) {
  .site-header, footer, .hero, .interface-section, .release-section { width: min(calc(100% - 48px), var(--max)); }
  .site-header nav { gap: 20px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 80px; gap: 28px; }
  .molecule-stage { min-height: 420px; }
  .product-strip > div { padding: 40px 24px; }
  .interface-heading { grid-template-columns: 1fr; gap: 24px; }
  .release-section { grid-template-columns: 1fr; }
  .release-status { padding: 40px 10px 64px; border-top: 1px solid var(--line); border-left: 0; }
  .latest-downloads { padding-left: 0; padding-right: 0; }
  .release-steps li:not(:last-child)::after { display: none; }
}

@media (max-width: 680px) {
  .site-header, footer, .hero, .interface-section, .release-section { width: min(calc(100% - 32px), var(--max)); }
  .site-header { min-height: 82px; }
  .site-header nav { display: none; }
  .brand { font-size: 21px; }
  .hero { padding: 58px 0 46px; }
  h1 { font-size: clamp(44px, 13vw, 64px); }
  .hero-copy { padding: 0; }
  .hero-copy > p:not(.release-note) { margin-top: 28px; font-size: 17px; }
  .hero-copy > p br { display: none; }
  .actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .molecule-stage { min-height: 260px; }
  .molecule-stage img { width: 100%; }
  .product-strip { grid-template-columns: 1fr; }
  .product-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .product-strip > div:last-child { border-bottom: 0; }
  .interface-section { padding: 76px 0 82px; }
  .interface-heading { margin-bottom: 34px; }
  .interface-heading p { font-size: 17px; }
  .interface-preview img { border-radius: 14px; box-shadow: 0 16px 44px rgba(22, 38, 55, 0.1); }
  .release-section { padding-top: 76px; }
  .release-copy { padding: 0 0 60px; }
  .release-copy > p { font-size: 17px; }
  .release-actions { align-items: stretch; flex-direction: column; gap: 26px; }
  .release-status { padding-left: 0; }
  .release-status strong { font-size: 26px; }
  .downloads-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .download-item { min-height: 118px; grid-template-columns: 36px 1fr 26px; gap: 14px; }
  .download-meta { grid-column: 2; }
  .download-item > svg { grid-column: 3; grid-row: 1 / span 2; }
  .store-item { grid-template-columns: 36px 1fr; padding: 22px 0; }
  .store-placeholders { grid-column: 2; flex-wrap: wrap; }
  .store-coming { grid-column: 2; }
  .release-steps { grid-template-columns: 1fr; gap: 34px; }
  .release-steps li { grid-template-columns: 50px 38px auto; }
  .release-steps span { width: 50px; height: 50px; }
  footer { min-height: 150px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 24px; }
  footer nav { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
