:root {
  color-scheme: light;
  --ink: #111318;
  --ink-soft: #303744;
  --muted: #687386;
  --soft: #f4f7fb;
  --panel: #ffffff;
  --line: #dfe5ee;
  --blue: #147dff;
  --blue-dark: #075ecf;
  --blue-soft: #eaf3ff;
  --green: #159957;
  --night: #11151d;
  --night-panel: #1b222d;
  --shadow: 0 28px 80px rgba(17, 19, 24, 0.12);
  --shadow-soft: 0 14px 38px rgba(17, 19, 24, 0.07);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 4%, rgba(20, 125, 255, 0.1), transparent 28rem),
    var(--soft);
  line-height: 1.6;
}

body[data-language="zh"] {
  letter-spacing: 0;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(223, 229, 238, 0.76);
  background: rgba(244, 247, 251, 0.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand img {
  width: 36px;
  height: 36px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.brand-name {
  display: grid;
  line-height: 1.03;
  font-size: 1.08rem;
}

.brand-name small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 620;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--blue-dark);
}

.language-toggle {
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.language-toggle:hover {
  color: var(--blue-dark);
  border-color: #9ec6ff;
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  align-items: center;
  gap: clamp(52px, 8vw, 120px);
  min-height: 720px;
  padding: 92px 0 112px;
}

.hero-copy {
  max-width: 590px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--blue-dark);
  font-size: 0.73rem;
  font-weight: 820;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(20, 125, 255, 0.1);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 26px;
  font-size: clamp(3.7rem, 7.5vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.085em;
}

body[data-language="zh"] h1 {
  max-width: 9.5ch;
  line-height: 1.08;
}

h2 {
  margin-bottom: 15px;
  font-size: clamp(2.1rem, 4vw, 3.55rem);
  line-height: 1.05;
  letter-spacing: -0.065em;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.16rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.lede {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.55vw, 1.22rem);
  line-height: 1.68;
}

.lede strong {
  color: var(--ink);
  font-weight: 740;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 25px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(20, 125, 255, 0.24);
}

.button.primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 18px 35px rgba(20, 125, 255, 0.3);
}

.button.secondary,
.button.quiet {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
}

.button.quiet {
  color: var(--muted);
  background: transparent;
}

.button.secondary:hover,
.button.quiet:hover {
  border-color: #a9caff;
  background: #fff;
}

.button-arrow {
  font-size: 1.05em;
  line-height: 1;
}

.fine-print {
  color: var(--muted);
  font-size: 0.8rem;
}

.fine-print a,
.text-link {
  color: var(--blue-dark);
  font-weight: 720;
  text-decoration: none;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  color: #7a8596;
  font-size: 0.74rem;
  font-weight: 740;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signal-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.signal-row span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.visual-stage {
  position: relative;
  padding: 24px 0 0 18px;
}

.visual-stage::before {
  position: absolute;
  inset: 0 0 8% 6%;
  border-radius: 34px;
  background: rgba(20, 125, 255, 0.08);
  content: "";
  transform: rotate(-5deg);
}

.visual-label {
  position: absolute;
  top: 0;
  right: 3%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #c5d0e1;
  background: rgba(18, 22, 29, 0.88);
  box-shadow: 0 14px 30px rgba(17, 19, 24, 0.18);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.visual-label::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #37d98a;
  box-shadow: 0 0 0 4px rgba(55, 217, 138, 0.14);
  content: "";
}

.visual-label [data-release-version] {
  color: #8ebdff;
}

.product-shot {
  position: relative;
  z-index: 0;
  margin: 0;
  padding: 12px;
  overflow: hidden;
  border: 1px solid #303844;
  border-radius: 28px;
  background: #12151b;
  box-shadow: var(--shadow);
  transform: perspective(1300px) rotateY(-4deg) rotateZ(1deg);
}

.product-shot img {
  display: block;
  width: 100%;
  border-radius: 17px;
}

.product-shot figcaption {
  padding: 12px 9px 2px;
  color: #aeb8c7;
  font-size: 0.76rem;
}

.section {
  padding: 110px 0;
}

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

.section-heading > div {
  max-width: 660px;
}

.section-heading p {
  max-width: 440px;
  margin-bottom: 0;
  color: var(--muted);
}

.edition-section {
  padding-top: 38px;
}

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

.edition-card {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-soft);
}

.edition-card::after {
  position: absolute;
  right: -42px;
  bottom: -52px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(20, 125, 255, 0.14);
  border-radius: 50%;
  content: "";
}

.edition-card--featured {
  color: #fff;
  border-color: #176fe0;
  background: #126fe7;
  box-shadow: 0 24px 52px rgba(20, 125, 255, 0.22);
}

.edition-card--featured::after {
  border-color: rgba(255, 255, 255, 0.19);
}

.edition-kicker {
  margin-bottom: 26px;
  color: var(--blue-dark);
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.14em;
}

.edition-card--featured .edition-kicker {
  color: #c8e0ff;
}

.edition-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
}

.edition-card p {
  max-width: 470px;
  margin-bottom: 24px;
  color: var(--muted);
}

.edition-card--featured p {
  color: #dbeaff;
}

.edition-card .button {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.edition-card--featured .button.primary {
  color: var(--blue-dark);
  background: #fff;
  box-shadow: none;
}

.edition-card--featured .button.primary:hover {
  background: #eaf3ff;
}

.edition-status {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 16px;
  color: #7d8999;
  font-size: 0.75rem;
}

.edition-card--featured .edition-status {
  color: #c8e0ff;
}

.feature-grid,
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card,
.release-card,
.info-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.9);
}

.card p,
.info-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 35px;
  border-radius: 10px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 0.78rem;
  font-weight: 820;
}

.dark-band {
  color: #f5f7fa;
  background: var(--night);
}

.dark-band .section-heading p,
.dark-band .card p {
  color: #aeb8c7;
}

.dark-band .card {
  border-color: #303844;
  background: var(--night-panel);
}

.dark-band .card-index {
  color: #b8d5ff;
  background: #223b60;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.pill {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--soft);
  font-size: 0.75rem;
  font-weight: 650;
}

.dark-band .pill {
  color: #c4ccd8;
  background: #2c313a;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  padding: clamp(32px, 6vw, 64px);
  border-radius: 26px;
  color: #fff;
  background: #126fe7;
  box-shadow: 0 26px 58px rgba(20, 125, 255, 0.22);
}

.cta-panel h2 {
  margin-bottom: 9px;
}

.cta-panel p {
  max-width: 620px;
  margin-bottom: 0;
  color: #dcebff;
}

.cta-panel .button.secondary {
  white-space: nowrap;
}

.page-hero {
  max-width: 820px;
  padding: 92px 0 44px;
}

.page-hero h1 {
  max-width: 12ch;
  font-size: clamp(3.5rem, 7vw, 6.4rem);
}

.download-editions {
  padding-top: 22px;
}

.download-editions .edition-card {
  min-height: 270px;
}

.release-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.78fr);
  align-items: start;
  gap: 16px;
}

.release-card {
  box-shadow: var(--shadow-soft);
}

.release-card h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 0.82rem;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.79rem;
}

.status-line::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.integrity-block {
  margin-top: 35px;
}

.integrity-block h3 {
  margin-bottom: 0;
}

.checksum {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 10px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.checksum code {
  overflow-wrap: anywhere;
  color: #384152;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.73rem;
}

.copy-button {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
}

.copy-button:hover {
  color: var(--blue-dark);
  border-color: #a8caff;
}

.steps {
  margin: 0;
  padding-left: 1.35rem;
}

.steps li + li {
  margin-top: 10px;
}

.prose {
  max-width: 840px;
}

.prose h2 {
  margin-top: 54px;
  font-size: 1.72rem;
  letter-spacing: -0.04em;
}

.prose h3 {
  margin-top: 30px;
}

.prose p,
.prose li {
  color: #4f5969;
}

.prose li + li {
  margin-top: 8px;
}

.notice {
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: var(--blue-soft);
}

.notice p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: 38px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-row p {
  margin-bottom: 0;
}

[data-lang-panel][hidden] {
  display: none;
}

@media (max-width: 900px) {
  .hero,
  .release-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 68px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .visual-stage {
    max-width: 760px;
  }

  .feature-grid,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 15px;
  }
}

@media (max-width: 660px) {
  .site-shell {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.78rem;
  }

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

  h1,
  body[data-language="zh"] h1 {
    max-width: 11ch;
    font-size: 3.35rem;
  }

  .section {
    padding: 78px 0;
  }

  .hero {
    padding-bottom: 76px;
  }

  .visual-stage {
    padding-left: 0;
  }

  .product-shot {
    transform: none;
  }

  .visual-label {
    right: 0;
  }

  .edition-card,
  .release-card,
  .info-panel {
    padding: 23px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .footer-row {
    display: block;
  }

  .footer-row p + p {
    margin-top: 11px;
  }
}

@media (max-width: 430px) {
  .brand-name {
    font-size: 0.98rem;
  }

  .site-nav a:nth-child(1) {
    display: none;
  }

  .site-nav {
    gap: 10px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .button {
    padding: 0 14px;
  }

  .signal-row {
    display: grid;
    gap: 9px;
  }
}
