:root {
  --bg: #05070b;
  --bg-soft: #090d15;
  --surface: #0d121d;
  --surface-high: #121927;
  --line: rgba(177, 194, 232, 0.14);
  --line-strong: rgba(177, 194, 232, 0.26);
  --text: #f4f7ff;
  --muted: #a5afc2;
  --muted-low: #717c91;
  --accent: #5a76ff;
  --accent-light: #aab8ff;
  --cyan: #6ee7f5;
  --green: #62e6ad;
  --shell: min(1180px, calc(100vw - 56px));
  --radius: 24px;
  color: var(--text);
  background: var(--bg);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body, button { font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -12rem, rgba(70, 91, 208, 0.24), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(155, 173, 216, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(155, 173, 216, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: -64px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: white;
  color: #05070b;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: -0.015em;
  text-decoration: none;
}
.brand img { width: 34px; height: 34px; }
.brand strong { color: var(--accent-light); font-weight: 650; }
.nav-actions { display: flex; align-items: center; gap: 27px; }
.nav-link {
  position: relative;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 180ms ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 180ms ease;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }
.language-switch {
  min-width: 54px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  cursor: pointer;
}
.language-zh { display: none; }
html[lang="zh-CN"] .language-en { display: none; }
html[lang="zh-CN"] .language-zh { display: inline; }

.hero {
  position: relative;
  min-height: 1040px;
  overflow: hidden;
  padding-top: 148px;
}
.hero::before {
  content: "";
  position: absolute;
  top: -27rem;
  left: 50%;
  width: 76rem;
  height: 76rem;
  border: 1px solid rgba(128, 151, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 7rem rgba(88, 112, 255, 0.025),
    0 0 0 14rem rgba(88, 112, 255, 0.018);
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--accent-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 10px 1px 0;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(98, 230, 173, 0.75);
}
h1, h2, h3, p { text-wrap: pretty; }
h1 {
  max-width: 1040px;
  margin: 0;
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: clamp(68px, 8vw, 116px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.84;
}
h1 span {
  color: var(--accent-light);
  font-style: italic;
  font-weight: 400;
}
.hero-lede {
  max-width: 700px;
  margin: 31px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 11px; margin-top: 30px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  min-width: 190px;
  background: var(--text);
  color: #05070b;
  box-shadow: 0 13px 35px rgba(130, 149, 255, 0.16);
}
.button-primary:hover { background: #dfe5ff; box-shadow: 0 18px 44px rgba(130, 149, 255, 0.24); }
.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}
.button-secondary:hover { background: rgba(255, 255, 255, 0.08); }
.platform-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: #c3ccdb;
  font: 650 11px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
.platform-line i { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-low); }
.platform-line small {
  margin-left: 10px;
  color: var(--muted-low);
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.hero-stage {
  position: relative;
  z-index: 3;
  min-height: 575px;
  margin-top: 72px;
  perspective: 1500px;
}
.stage-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  width: 880px;
  height: 470px;
  border-radius: 50%;
  background: rgba(78, 101, 229, 0.24);
  filter: blur(95px);
  transform: translateX(-50%);
}
.hero-visual {
  position: relative;
  z-index: 2;
  width: min(1050px, calc(100% - 64px));
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(183, 196, 235, 0.34);
  border-radius: var(--radius);
  background: #f8fafc;
  box-shadow:
    0 55px 160px rgba(0, 0, 0, 0.72),
    0 0 0 9px rgba(255, 255, 255, 0.025);
  transform: translateY(0);
  transition: transform 320ms ease;
}
.hero-visual:hover { transform: translateY(-5px); }
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 43px 0 0;
  pointer-events: none;
  box-shadow: inset 0 0 80px rgba(11, 23, 49, 0.07);
}
.hero-visual img { width: 100%; height: auto; }
.window-bar {
  height: 44px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid #dfe4ec;
  background: #f0f3f7;
  color: #6e7889;
}
.window-bar > div { display: flex; gap: 7px; }
.window-bar div span { width: 9px; height: 9px; border-radius: 50%; background: #c5cdd8; }
.window-bar p { margin: 0; font-size: 11px; }
.window-bar b { justify-self: end; color: #8b94a1; font: 700 8px/1 ui-monospace, monospace; letter-spacing: 0.08em; }
.signal-card {
  position: absolute;
  z-index: 4;
  min-width: 152px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(13, 18, 29, 0.86);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
}
.signal-card span { display: block; color: var(--muted-low); font: 700 9px/1.2 ui-monospace, monospace; letter-spacing: 0.11em; text-transform: uppercase; }
.signal-card strong { display: block; margin-top: 6px; font-size: 13px; }
.signal-runtime { top: 105px; left: -4px; }
.signal-runtime strong { color: var(--green); }
.signal-update { top: 197px; right: -2px; }
.signal-update strong { color: var(--accent-light); }
.control-peek {
  position: absolute;
  z-index: 5;
  right: 58px;
  bottom: 3px;
  width: 340px;
  overflow: hidden;
  border: 1px solid rgba(183, 196, 235, 0.34);
  border-radius: 16px;
  background: #edf2ff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.56);
  transform: rotate(1.5deg);
}
.control-peek p {
  height: 36px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 12px;
  background: #0d1420;
  color: #dbe3f4;
  font-size: 10px;
}
.control-peek .status-dot { width: 6px; height: 6px; }
.control-peek img { width: 100%; height: 158px; object-fit: cover; object-position: top; }

.proof-strip {
  position: relative;
  z-index: 5;
  border-block: 1px solid var(--line);
  background: rgba(9, 13, 21, 0.9);
}
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid p {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 24px 30px;
  border-left: 1px solid var(--line);
}
.proof-grid p:last-child { border-right: 1px solid var(--line); }
.proof-grid strong { font-size: 14px; }
.proof-grid span { margin-top: 5px; color: var(--muted-low); font-size: 12px; }

.section { padding-block: 142px; }
.section-heading { max-width: 790px; }
.section-heading h2,
.boundary h2 {
  margin: 0;
  font-family: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  font-size: clamp(48px, 5.2vw, 72px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.section-heading h2 span,
.boundary h2 span { color: var(--accent-light); font-style: italic; }
.section-heading > p:last-child {
  max-width: 690px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}
.experience-intro {
  display: grid;
  grid-template-columns: minmax(400px, 0.85fr) minmax(510px, 1.15fr);
  gap: 72px;
  align-items: center;
}
.control-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: #edf2ff;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
  transform: rotate(1.5deg);
  transition: transform 320ms ease;
}
.control-visual:hover { transform: rotate(0deg) translateY(-5px); }
.control-visual-label {
  height: 43px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: #0e1420;
  color: #d8e0ef;
  font: 700 9px/1 ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.control-visual img { width: 100%; }
.feature-list { margin-top: 104px; border-top: 1px solid var(--line); }
.feature-list article {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 220ms ease, background 220ms ease;
}
.feature-list article:hover { padding-inline: 18px; background: linear-gradient(90deg, rgba(90, 118, 255, 0.07), transparent 70%); }
.feature-number { color: var(--accent-light); font: 700 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.1em; }
.feature-list article > div {
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) 1fr;
  gap: 54px;
}
.feature-list h3 { margin: 0; font-size: 20px; letter-spacing: -0.025em; }
.feature-list p { max-width: 630px; margin: 0; color: var(--muted); line-height: 1.7; }

.downloads {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #080c13;
}
.downloads::before {
  content: "";
  position: absolute;
  top: -18rem;
  right: -15rem;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: rgba(70, 92, 212, 0.16);
  filter: blur(80px);
}
.downloads .shell { position: relative; }
.downloads-heading { max-width: 880px; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 66px; }
.download-card {
  min-height: 342px;
  display: flex;
  flex-direction: column;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}
.download-card:hover {
  border-color: rgba(170, 184, 255, 0.42);
  background: linear-gradient(145deg, rgba(90, 118, 255, 0.11), rgba(255, 255, 255, 0.016));
  transform: translateY(-5px);
}
.platform-heading { display: flex; align-items: center; gap: 15px; }
.platform-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: #f0f3ff;
  color: #080b12;
  font-size: 27px;
}
.apple-mark { font-size: 15px; }
.linux-mark { font-size: 26px; }
.platform-heading h3 { margin: 0; font-size: 19px; }
.platform-heading p { margin: 3px 0 0; color: var(--muted-low); font-size: 11px; }
.button-download {
  width: 100%;
  margin-top: auto;
  border-radius: 11px;
  background: var(--accent);
  color: white;
}
.button-download:hover { background: #6e87ff; }
.split-download { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.split-download .button-download { margin-top: 0; padding-inline: 10px; }
.secondary-download { border-color: var(--line-strong); background: transparent; }
.secondary-download:hover { background: rgba(255, 255, 255, 0.07); }
.checksum {
  align-self: center;
  margin-top: 15px;
  color: var(--muted);
  font-size: 12px;
  text-underline-offset: 3px;
}
.release-link { margin: 30px 0 0; text-align: center; }
.release-link a { color: var(--accent-light); text-underline-offset: 4px; }
.checksum:visited,
.release-link a:visited,
.footer-grid a:visited { color: #c2a7ff; }

.download-prompt {
  width: min(440px, calc(100vw - 32px));
  padding: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: #0b101a;
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.72);
  color: var(--text);
}
.download-prompt[open] { display: flex; flex-direction: column; align-items: center; }
.download-prompt::backdrop { background: rgba(1, 3, 8, 0.8); backdrop-filter: blur(8px); }
.download-prompt-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.download-prompt-close:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.download-prompt-mark {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.download-prompt-mark img { width: 62px; height: 62px; }
.download-prompt .eyebrow { margin-bottom: 12px; text-align: center; }
.download-prompt h2 { margin: 0; text-align: center; font-size: 28px; line-height: 1.15; letter-spacing: -0.035em; }
.download-prompt > p:not(.eyebrow) { margin: 17px 0 0; color: var(--muted); text-align: center; font-size: 16px; line-height: 1.65; }
.download-prompt-actions { width: 100%; display: grid; gap: 9px; margin-top: 27px; }
.download-prompt-actions .button { width: 100%; min-height: 50px; border-radius: 12px; cursor: pointer; }
.download-prompt-star { gap: 9px; border: 0; background: var(--text); color: #07111f; }
.download-prompt-star:hover { background: #dfe5ff; }
.download-prompt-star svg { width: 19px; height: 19px; fill: currentColor; }
.download-prompt-direct { border-color: var(--line-strong); background: rgba(255,255,255,0.035); color: var(--text); }
.download-prompt-direct:hover { background: rgba(255,255,255,0.08); }
.download-prompt .download-prompt-note { margin-top: 15px; color: var(--muted-low); }

.boundary { display: grid; grid-template-columns: 120px 1fr; gap: 46px; align-items: start; }
.boundary-mark {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
}
.boundary-mark img { width: 72px; }
.boundary h2 { max-width: 940px; }
.boundary > div > p:not(.eyebrow) { max-width: 820px; margin: 27px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.boundary .boundary-notice { color: var(--text); font-weight: 700; }

footer { border-top: 1px solid var(--line); color: var(--muted-low); }
.footer-grid { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 30px; font-size: 12px; }
.footer-grid div { display: flex; gap: 24px; }
.footer-grid a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 3px; }

@media (max-width: 1040px) {
  .hero { min-height: 980px; }
  .signal-runtime { left: 8px; }
  .signal-update { right: 8px; }
  .experience-intro { grid-template-columns: 1fr; gap: 62px; }
  .control-visual { max-width: 760px; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card { min-height: 270px; }
}

@media (max-width: 720px) {
  :root { --shell: min(calc(100% - 32px), 1180px); }
  body::before { background-size: 52px 52px; }
  .nav { min-height: 66px; }
  .brand span { display: none; }
  .nav-actions { gap: 12px; }
  .nav-link { display: none; }
  .hero { min-height: 850px; padding-top: 116px; }
  .hero::before { top: -14rem; width: 38rem; height: 38rem; }
  h1 { font-size: clamp(56px, 17vw, 72px); line-height: 0.88; }
  .hero-lede { margin-top: 25px; font-size: 16px; line-height: 1.65; }
  .hero-actions { width: 100%; flex-direction: column; margin-top: 27px; }
  .hero-actions .button { width: 100%; }
  .platform-line { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .platform-line small { width: 100%; margin-left: 0; }
  .hero-stage { width: calc(100% - 16px); min-height: 285px; margin-top: 54px; }
  .hero-visual { width: 540px; max-width: none; margin-left: 16px; border-radius: 16px; transform-origin: left bottom; }
  .window-bar { height: 32px; grid-template-columns: 1fr auto; padding: 0 10px; }
  .window-bar p { display: none; }
  .window-bar b { font-size: 7px; }
  .hero-visual::after { inset: 32px 0 0; }
  .signal-card { display: none; }
  .control-peek { right: -80px; bottom: -30px; width: 245px; }
  .control-peek img { height: 108px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid p { min-height: 102px; padding: 20px; border-top: 1px solid var(--line); }
  .proof-grid p:nth-child(-n+2) { border-top: 0; }
  .proof-grid p:nth-child(even) { border-right: 1px solid var(--line); }
  .section { padding-block: 98px; }
  .section-heading h2,
  .boundary h2 { font-size: clamp(43px, 13vw, 58px); }
  .experience-intro { gap: 48px; }
  .control-visual { border-radius: 15px; transform: none; }
  .control-visual-label { height: 38px; }
  .control-visual img { width: 650px; max-width: none; }
  .feature-list { margin-top: 64px; }
  .feature-list article { grid-template-columns: 40px 1fr; gap: 12px; padding: 30px 0; }
  .feature-list article:hover { padding-inline: 0; background: none; }
  .feature-list article > div { grid-template-columns: 1fr; gap: 10px; }
  .feature-list p { font-size: 15px; }
  .download-grid { margin-top: 48px; }
  .download-card { min-height: 300px; padding: 24px; }
  .download-prompt { padding: 28px 22px 24px; }
  .download-prompt-mark { width: 76px; height: 76px; margin-bottom: 21px; }
  .download-prompt-mark img { width: 54px; height: 54px; }
  .download-prompt h2 { font-size: 25px; }
  .boundary { grid-template-columns: 1fr; gap: 30px; }
  .boundary-mark { width: 84px; height: 84px; }
  .boundary-mark img { width: 58px; }
  .footer-grid { padding-block: 30px; flex-direction: column; align-items: flex-start; }
  .footer-grid div { flex-wrap: wrap; }
}

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