:root {
  color-scheme: dark;
  --bg: #0d0e0d;
  --surface: #171916;
  --surface-2: #22241f;
  --text: #f3f7f8;
  --muted: #b4c0c4;
  --line: rgba(255, 255, 255, 0.12);
  --teal: #65e4d6;
  --amber: #ffd166;
  --coral: #ff6b5f;
  --steel: #dce7ea;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 17, 22, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand img {
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

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

.nav-button {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.language-link {
  color: var(--text);
  font-weight: 720;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(760px, calc(100vh - 72px));
  overflow: hidden;
  padding: 96px max(24px, calc((100vw - var(--max)) / 2)) 80px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(135deg, #0d0e0d 0%, #151813 52%, #1c1712 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 180px;
  background: linear-gradient(180deg, rgba(11, 17, 22, 0), var(--bg));
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.display {
  position: absolute;
  right: max(34px, calc((100vw - var(--max)) / 2));
  top: 90px;
  width: min(58vw, 720px);
  aspect-ratio: 16 / 9;
  border: 2px solid rgba(101, 228, 214, 0.55);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 26%),
    #13212a;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

.display::after {
  content: "";
  position: absolute;
  left: 45%;
  bottom: -96px;
  width: 10%;
  height: 96px;
  background: #24333a;
  clip-path: polygon(36% 0, 64% 0, 100% 100%, 0 100%);
}

.display-toolbar {
  position: absolute;
  left: 28px;
  top: 24px;
  display: flex;
  gap: 9px;
}

.display-toolbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.display-line {
  position: absolute;
  left: 36px;
  height: 14px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.18);
}

.display-line.wide {
  top: 82px;
  width: 42%;
}

.display-line.medium {
  top: 112px;
  width: 30%;
}

.display-grid {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.display-grid span {
  height: 96px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.laptop {
  position: absolute;
  right: max(88px, calc((100vw - var(--max)) / 2 + 80px));
  bottom: 116px;
  width: min(38vw, 470px);
}

.laptop-screen {
  position: relative;
  width: 78%;
  aspect-ratio: 16 / 10;
  margin: 0 auto;
  border: 10px solid var(--steel);
  border-radius: 28px;
  background: #071014;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.48);
}

.slash {
  position: absolute;
  left: 18%;
  top: 46%;
  width: 70%;
  height: 24px;
  border-radius: 12px;
  transform: rotate(-24deg);
  background: linear-gradient(90deg, var(--coral), var(--amber));
  box-shadow: 0 8px 22px rgba(255, 107, 95, 0.26);
}

.laptop-base {
  width: 100%;
  height: 42px;
  margin-top: -2px;
  border-radius: 0 0 36px 36px;
  background: linear-gradient(180deg, #f3f8fa, #b8c4c8);
}

.desk-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 104px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-content {
  width: min(620px, 100%);
  padding-top: 16px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 520px;
  margin: 0;
  font-size: 52px;
  line-height: 1.12;
}

html:lang(zh-Hans) body {
  line-height: 1.72;
}

html:lang(zh-Hans) h1 {
  max-width: 430px;
  font-size: 64px;
  line-height: 1.12;
}

html:lang(zh-Hans) .hero-copy {
  max-width: 640px;
  line-height: 1.76;
}

html:lang(zh-Hans) .section h2 {
  max-width: 780px;
  font-size: 46px;
  line-height: 1.18;
}

html:lang(zh-Hans) .section p,
html:lang(zh-Hans) .feature p,
html:lang(zh-Hans) .timeline p,
html:lang(zh-Hans) .install-steps p {
  line-height: 1.76;
}

html:lang(zh-Hans) .feature h3,
html:lang(zh-Hans) .timeline h3 {
  line-height: 1.3;
}

.hero-copy {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 720;
}

.primary-action {
  background: var(--teal);
  color: #061114;
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 42px 0 0;
  padding: 0;
}

.hero-facts div {
  min-width: 132px;
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 15px;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 94px 0;
}

.section-copy {
  max-width: 690px;
}

.section h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.12;
}

.section p {
  color: var(--muted);
  font-size: 17px;
}

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

.feature,
.install-steps li,
.timeline article,
.terminal,
.limit-list p {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.feature {
  min-height: 230px;
  padding: 26px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 209, 102, 0.13);
  color: var(--amber);
  font-weight: 800;
}

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

.feature p,
.timeline p,
.install-steps p {
  margin: 0;
  font-size: 15px;
}

.install-section,
.command-section,
.limits-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1fr);
  gap: 54px;
  align-items: center;
}

.install-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-steps li {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 18px;
  min-height: 86px;
  align-items: center;
  padding: 20px;
}

.install-steps span {
  color: var(--amber);
  font-weight: 780;
}

.install-steps a {
  color: var(--teal);
  font-weight: 760;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.timeline article {
  padding: 26px;
}

.command-section {
  align-items: stretch;
}

.terminal {
  overflow: hidden;
  background: #05090c;
}

.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.terminal-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
}

.terminal-bar span:nth-child(2) {
  background: #ffbd2e;
}

.terminal-bar span:nth-child(3) {
  background: #28c840;
}

pre {
  margin: 0;
  padding: 30px;
  overflow: auto;
  color: var(--steel);
  font: 15px/1.8 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.limit-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.limit-list p {
  margin: 0;
  padding: 22px;
  color: var(--text);
  font-weight: 680;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 42px 24px 54px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span {
  color: var(--text);
  font-weight: 760;
}

.site-footer a:hover {
  color: var(--text);
}

@media (max-width: 860px) {
  .site-header {
    min-height: 64px;
  }

  .nav a:not(.nav-button):not(.language-link) {
    display: none;
  }

  .hero {
    min-height: 760px;
    padding-top: 72px;
    align-items: start;
  }

  .hero-scene {
    opacity: 0.38;
  }

  .display {
    right: -140px;
    top: 420px;
    width: 620px;
  }

  .laptop {
    right: 24px;
    bottom: 70px;
    width: 360px;
  }

  .hero-content {
    padding-top: 0;
  }

  h1 {
    font-size: 40px;
  }

  html:lang(zh-Hans) h1 {
    max-width: 500px;
    font-size: 52px;
    line-height: 1.15;
  }

  .section h2 {
    font-size: 38px;
  }

  html:lang(zh-Hans) .section h2 {
    font-size: 38px;
    line-height: 1.22;
  }

  .feature-grid,
  .timeline,
  .install-section,
  .command-section,
  .limits-section {
    grid-template-columns: 1fr;
  }

  .install-section,
  .command-section,
  .limits-section {
    gap: 30px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 18px;
  }

  .nav {
    gap: 14px;
  }

  .brand span {
    font-size: 15px;
  }

  .nav-button {
    padding-inline: 12px;
  }

  .hero {
    padding-inline: 18px 32px;
  }

  .hero-scene {
    display: none;
  }

  .hero-content {
    max-width: calc(100vw - 72px);
  }

  h1 {
    font-size: 32px;
  }

  html:lang(zh-Hans) h1 {
    font-size: 42px;
    line-height: 1.2;
  }

  .hero-copy {
    font-size: 18px;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  html:lang(zh-Hans) .hero-copy {
    font-size: 17px;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .hero-facts div {
    min-width: 0;
  }

  .hero-facts dt {
    font-size: 11px;
  }

  .hero-facts dd {
    overflow-wrap: break-word;
    font-size: 14px;
  }

  .section-copy {
    max-width: 100%;
  }

  .section-kicker {
    overflow-wrap: break-word;
  }

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

  .primary-action,
  .secondary-action {
    justify-content: center;
  }

  .section {
    width: calc(100% - 50px);
    padding: 70px 0;
  }

  .section h2 {
    font-size: 30px;
  }

  html:lang(zh-Hans) .section h2 {
    font-size: 31px;
  }

  .install-steps li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .limit-list {
    grid-template-columns: 1fr;
  }

  pre {
    padding: 22px;
    font-size: 13px;
  }
}
