:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-soft: #eef3f6;
  --text: #172026;
  --muted: #5d6a73;
  --line: #dce4e8;
  --accent: #12766d;
  --accent-strong: #0c5d56;
  --ink: #101820;
  --terminal: #11181c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(220, 228, 232, 0.9);
  background: rgba(247, 248, 251, 0.92);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0;
}

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 64px);
  padding: 72px 7vw 56px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 760;
}

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

h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.96;
}

h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.15;
}

h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 720;
  cursor: pointer;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.terminal-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: var(--terminal);
  box-shadow: 0 24px 60px rgba(10, 18, 24, 0.22);
  color: #d8f3e7;
}

.terminal-top {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #8ba2aa;
}

pre {
  min-height: 220px;
  margin: 0;
  padding: 22px;
  white-space: pre-wrap;
  font-size: 15px;
}

.quick-keys {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.quick-keys span {
  display: grid;
  min-height: 46px;
  place-items: center;
  background: #202a30;
  color: #f6faf8;
  font-size: 13px;
}

.section {
  padding: 72px 7vw;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

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

.feature-grid article,
.note,
.url-card {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-grid p,
.split p,
.muted {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: 32px;
  align-items: start;
}

.split h2 {
  margin-bottom: 16px;
}

.steps {
  margin: 0;
  padding: 24px 24px 24px 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

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

.manual-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.manual-list a {
  display: flex;
  min-height: 84px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  font-weight: 720;
}

.note {
  color: var(--muted);
}

.url-card {
  display: grid;
  gap: 8px;
  min-height: 110px;
}

.url-card span {
  color: var(--muted);
}

.url-card strong {
  font-size: 24px;
}

.download {
  background: var(--surface);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 7vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

  .feature-grid,
  .manual-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 20px;
  }

  .nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .section {
    padding: 48px 20px;
  }

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

  .quick-keys {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer {
    flex-direction: column;
    padding: 24px 20px;
  }
}
