:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --paper: rgba(255, 255, 255, 0.78);
  --paper-strong: rgba(255, 255, 255, 0.92);
  --text: #11141b;
  --muted: #677080;
  --line: rgba(110, 125, 150, 0.20);
  --blue: #6b8cff;
  --ink: #080a12;
  --shadow: 0 24px 80px rgba(42, 53, 75, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 48% 8%, rgba(106, 140, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 76% 0%, rgba(159, 210, 255, 0.22), transparent 24rem),
    linear-gradient(180deg, #f7f9fd 0%, var(--bg) 48%, #eef3f9 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 22px;
  transform: translateX(-50%);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line);
  box-shadow: 0 16px 44px rgba(48, 58, 82, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(20, 28, 46, 0.16);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.nav-links a {
  transition: color 140ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.language-picker {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 28px rgba(42, 53, 75, 0.10);
  backdrop-filter: blur(14px);
}

.language-picker button {
  width: 32px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.language-picker button.is-active {
  background: #11141b;
  color: #fff;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: 42px;
  width: min(1160px, calc(100% - 40px));
  min-height: 820px;
  margin: 0 auto;
  padding: 132px 0 84px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

html[lang="zh-CN"] h1 {
  font-size: clamp(42px, 5.4vw, 70px);
  line-height: 1.03;
  word-break: break-all;
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 760;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.primary-cta {
  background: #11141b;
  color: #fff;
  box-shadow: 0 18px 36px rgba(17, 20, 27, 0.20);
}

.secondary-cta {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  color: var(--text);
}

.primary-cta:hover,
.secondary-cta:hover {
  transform: translateY(-1px);
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stats-row span {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--muted);
  font-size: 12px;
}

.stats-row strong {
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: 590px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 5% auto;
  height: 54%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(107, 140, 255, 0.30), transparent 68%);
  filter: blur(24px);
}

.hero-shot {
  position: relative;
  display: block;
  width: min(62%, 390px);
  height: auto;
  border-radius: 30px;
  filter: drop-shadow(0 34px 80px rgba(28, 36, 58, 0.24));
}

.hero-shot-empty {
  margin-left: auto;
  margin-right: 84px;
  transform: translateY(-28px) rotate(-2deg);
}

.hero-shot-list {
  position: absolute;
  right: -6px;
  bottom: 18px;
  width: min(58%, 365px);
  transform: rotate(1.5deg);
}

.strip,
.section {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
}

.strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px 14px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.strip-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

code,
kbd {
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

.strip code {
  color: var(--text);
  font-size: 13px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.copy-button {
  min-width: 74px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #11141b;
  color: #fff;
  font-weight: 760;
  cursor: pointer;
}

.section {
  padding: 120px 0 0;
}

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

.section h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
}

.section-heading p:not(.eyebrow),
.download-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.feature-grid article,
.shortcut-list,
.download-card,
.timeline article {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 20px 70px rgba(45, 58, 83, 0.10);
  backdrop-filter: blur(16px);
}

.feature-grid article {
  min-height: 230px;
  padding: 24px;
  border-radius: 24px;
}

.feature-index {
  color: rgba(17, 20, 27, 0.32);
  font-size: 12px;
  font-weight: 800;
}

.feature-grid h3,
.timeline h3 {
  margin: 30px 0 10px;
  font-size: 22px;
}

.feature-grid p,
.timeline p {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 44px;
  align-items: start;
}

.shortcut-list {
  padding: 14px;
  border-radius: 24px;
}

.shortcut-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 56px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(110, 125, 150, 0.14);
  color: var(--muted);
  font-weight: 640;
}

.shortcut-list div:last-child {
  border-bottom: 0;
}

kbd {
  padding: 7px 10px;
  border: 1px solid rgba(17, 20, 27, 0.10);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
}

.download-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
  padding: 34px;
  border-radius: 30px;
}

.terminal {
  min-height: 164px;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 80% 20%, rgba(107, 140, 255, 0.24), transparent 16rem),
    #090b12;
  color: #dfe6ff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
}

.terminal-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.30);
}

.terminal code {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.7;
}

.timeline {
  margin-top: 30px;
}

.timeline article {
  padding: 26px;
  border-radius: 24px;
}

.timeline time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 22px;
  padding: 76px 20px 42px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 640;
}

.footer-brand {
  color: var(--text);
}

.footer-author,
.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-author {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
}

.footer a {
  transition: color 140ms ease, transform 140ms ease;
}

.footer a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .site-header {
    left: 12px;
    right: 12px;
    grid-template-columns: 1fr auto;
    width: auto;
    transform: none;
  }

  .nav-links {
    display: none;
  }

  .language-picker {
    gap: 1px;
    padding: 2px;
  }

  .language-picker button {
    width: 25px;
    height: 24px;
    padding: 0;
    font-size: 10px;
  }

  .hero,
  .split,
  .download-card {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: 500px;
  }

  .hero-shot {
    width: min(76%, 300px);
  }

  .hero-shot-empty {
    margin: 0 auto;
    transform: translateX(-22px) rotate(-2deg);
  }

  .hero-shot-list {
    right: 18px;
    bottom: 20px;
    width: min(64%, 252px);
    transform: rotate(1.5deg);
  }

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

@media (max-width: 620px) {
  .hero,
  .strip,
  .section {
    width: min(100% - 24px, 1060px);
  }

  h1 {
    max-width: calc(100vw - 24px);
    font-size: 38px;
    line-height: 1.04;
  }

  html[lang="zh-CN"] h1 {
    font-size: 28px;
    line-height: 1.08;
  }

  .strip {
    align-items: stretch;
    flex-direction: column;
  }

  .copy-button {
    width: 100%;
  }

  .language-picker button {
    width: 29px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .hero-shot {
    width: min(74%, 286px);
  }

  .hero-shot-list {
    right: 18px;
    width: min(58%, 226px);
  }
}
