:root {
  --ink: #10212b;
  --ink-strong: #07151d;
  --paper: #f5f8f7;
  --paper-soft: #eaf1ef;
  --panel: #122a34;
  --panel-2: #173742;
  --line: #c5d4d0;
  --muted: #5d7077;
  --muted-dark: #b4c7c8;
  --accent: #64d68b;
  --accent-strong: #27b966;
  --warm: #f3bd6e;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(9, 34, 41, 0.12);
  --radius: 12px;
  --max: 1180px;
  font-family: "IBM Plex Sans", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.72;
}
body.menu-open { overflow: hidden; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 21, 29, 0.96);
  border-bottom: 1px solid rgba(180, 199, 200, 0.18);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  width: min(100% - 32px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent);
  color: var(--ink-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800;
}
.brand small {
  display: block;
  color: var(--muted-dark);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.nav-links a {
  color: #d8e5e3;
  text-decoration: none;
  font-size: 14px;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(100, 214, 139, 0.65);
  border-radius: 8px;
  color: var(--accent) !important;
}
.nav-qq {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(243, 189, 110, 0.65);
  border-radius: 8px;
  background: transparent;
  color: var(--warm);
  font-size: 13px;
  white-space: nowrap;
}
.nav-qq:hover { background: rgba(243, 189, 110, 0.1); }
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(180, 199, 200, 0.3);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
}

.hero {
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(7, 21, 29, 0.98), rgba(18, 42, 52, 0.93)),
    radial-gradient(circle at 90% 10%, rgba(100, 214, 139, 0.16), transparent 34%);
  padding: 76px 0 82px;
}
.hero-grid {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 70px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.2; }
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  letter-spacing: -0.03em;
}
.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #d4e2e1;
  font-size: clamp(17px, 2vw, 21px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.button {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--ink-strong); }
.button-primary:hover { background: #8ae6a7; }
.button-ghost {
  border-color: rgba(212, 226, 225, 0.3);
  color: var(--white);
}
.button-ghost:hover { border-color: var(--accent); color: var(--accent); }
.notice {
  margin-top: 24px;
  padding: 12px 14px;
  border-left: 3px solid var(--warm);
  background: rgba(243, 189, 110, 0.08);
  color: #e5ece8;
  font-size: 13px;
}
.hero-support {
  margin-top: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(100, 214, 139, 0.38);
  border-radius: 9px;
  background: rgba(16, 43, 37, 0.9);
  color: #eef8f1;
}
.hero-support div { display: grid; gap: 2px; }
.hero-support strong { color: var(--accent); font-size: 15px; }
.hero-support span { color: #c8ddd4; font-size: 12px; }
.terminal-card {
  padding: 22px;
  border: 1px solid rgba(180, 199, 200, 0.22);
  border-radius: 12px;
  background: rgba(18, 42, 52, 0.72);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(180, 199, 200, 0.18);
  color: var(--muted-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}
.terminal-dot { width: 9px; height: 9px; border-radius: 50%; background: #ee807c; }
.terminal-dot:nth-child(2) { background: #f3bd6e; }
.terminal-dot:nth-child(3) { background: var(--accent); }
.terminal-content {
  padding: 22px 2px 4px;
  color: #d9e7e3;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}
.terminal-line { display: flex; gap: 11px; margin: 10px 0; }
.terminal-prompt { color: var(--accent); }
.terminal-muted { color: #98b0ae; }
.terminal-highlight { color: var(--warm); }

.install-offer {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 34px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  align-items: center;
  gap: 34px;
  border-bottom: 1px solid var(--line);
  background: #fffdf8;
}
.install-offer-copy h2 { margin: 0; font-size: clamp(26px, 3.4vw, 42px); }
.install-offer-copy p:not(.eyebrow) { max-width: 600px; margin: 16px 0 0; color: var(--muted); }
.install-offer-image {
  margin: 0;
  justify-self: center;
  width: min(100%, 260px);
}
.install-offer-image img { width: 100%; height: auto; }

.section {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 84px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
  margin-bottom: 30px;
}
.section-head h2 { margin: 0; font-size: clamp(26px, 3.4vw, 42px); }
.section-head p { max-width: 530px; margin: 0; color: var(--muted); }
.paper-band { background: var(--paper-soft); }
.dark-band { background: var(--ink-strong); color: var(--white); }
.dark-band .section-head p { color: var(--muted-dark); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.step {
  min-height: 194px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}
.step-index {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}
.step h3 { margin: 20px 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.proof-card {
  overflow: hidden;
  border: 1px solid rgba(180, 199, 200, 0.22);
  border-radius: var(--radius);
  background: var(--panel);
}
.proof-card:first-child { grid-column: span 6; }
.proof-card:nth-child(2), .proof-card:nth-child(3) { grid-column: span 3; }
.proof-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #09161d; }
.proof-card:first-child img { aspect-ratio: 16 / 10; }
.proof-card figcaption { padding: 14px; color: #c7d9d7; font-size: 13px; }
.proof-card figcaption a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.guide-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.guide-search {
  width: min(100%, 370px);
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}
.guide-search::placeholder { color: #7d8e92; }
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.guide-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(9, 34, 41, 0.05);
}
.guide-card h3 { margin: 0 0 10px; font-size: 21px; }
.guide-card p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.guide-card a { color: #0f7140; font-weight: 700; text-underline-offset: 3px; }
.guide-meta { margin-bottom: 12px; color: #708187; font-size: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.empty-state { display: none; margin: 18px 0 0; color: var(--muted); }

.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}
.faq-item summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: #0f7140; font-size: 20px; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

.support {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 30px;
  border: 1px solid rgba(100, 214, 139, 0.35);
  border-radius: var(--radius);
  background: #102b25;
  color: var(--white);
}
.article-top-support {
  margin: 0 0 28px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(100, 214, 139, 0.42);
  border-radius: 10px;
  background: #102b25;
  color: var(--white);
}
.article-top-support strong { color: var(--accent); }
.article-top-support p { margin: 4px 0 0; color: #c8ddd4; font-size: 14px; }
.article-top-support .qq-copy { flex: 0 0 auto; }
.support h2 { margin: 0 0 8px; font-size: 24px; }
.support p { margin: 0; color: #c8ddd4; }
.qq-copy {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(100, 214, 139, 0.7);
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}
.qq-copy:hover { background: rgba(100, 214, 139, 0.1); }

.article-hero {
  padding: 64px 0 50px;
  color: var(--white);
  background: var(--ink-strong);
}
.article-hero .section { padding: 0; }
.article-hero h1 { max-width: 900px; margin: 0; font-size: clamp(32px, 5vw, 58px); }
.article-hero p { max-width: 760px; margin: 22px 0 0; color: #c4d5d3; font-size: 18px; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 54px;
  align-items: start;
}
.article-body {
  max-width: 800px;
  font-size: 17px;
}
.article-body h2 { margin: 42px 0 14px; font-size: 30px; }
.article-body h3 { margin: 28px 0 10px; font-size: 21px; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { margin: 7px 0; }
.article-body blockquote {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--accent-strong);
  background: var(--paper-soft);
  color: #2d4d53;
}
.article-body code {
  padding: 2px 5px;
  border-radius: 4px;
  background: #e2ece8;
  color: #0f5136;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}
.article-body pre {
  overflow-x: auto;
  padding: 18px;
  border-radius: 8px;
  background: #0e2027;
  color: #d5e5df;
  font-size: 14px;
}
.article-side {
  position: sticky;
  top: 96px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.article-side h2 { margin: 0 0 14px; font-size: 17px; }
.article-side a { display: block; margin: 10px 0; color: #0f7140; font-size: 14px; text-decoration: none; }
.article-side a:hover { text-decoration: underline; }
.article-disclaimer {
  margin-top: 36px;
  padding: 16px 18px;
  border: 1px solid #e8ca94;
  border-radius: 8px;
  background: #fff8eb;
  color: #6f4d18;
  font-size: 14px;
}

.site-footer {
  padding: 34px 0 42px;
  background: var(--ink-strong);
  color: #b7c9c7;
}
.footer-wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  font-size: 13px;
}
.footer-wrap p { margin: 0; }
.footer-wrap a { color: var(--accent); text-underline-offset: 3px; }

@media (max-width: 900px) {
  .hero-grid, .article-layout { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding: 58px 0 64px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-side { position: static; }
}
@media (max-width: 720px) {
  .nav-wrap { min-height: 64px; }
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 64px 0 auto;
    display: none;
    padding: 12px 16px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink-strong);
    border-bottom: 1px solid rgba(180, 199, 200, 0.2);
  }
  body.menu-open .nav-links { display: flex; }
  .nav-links a { min-height: 46px; display: flex; align-items: center; }
  .nav-links .nav-qq { width: 100%; min-height: 46px; text-align: left; }
  .nav-cta { justify-content: flex-start; border: 0; padding: 0; }
  .hero h1 { font-size: clamp(34px, 11vw, 50px); }
  .section { padding: 62px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .steps, .guide-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card:first-child, .proof-card:nth-child(2), .proof-card:nth-child(3) { grid-column: auto; }
  .proof-card img, .proof-card:first-child img { aspect-ratio: 16 / 10; }
  .support { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .qq-copy { width: 100%; }
  .hero-support, .article-top-support { align-items: stretch; flex-direction: column; }
  .hero-support .qq-copy, .article-top-support .qq-copy { width: 100%; }
  .install-offer { grid-template-columns: 1fr; padding: 34px 22px; gap: 24px; }
  .install-offer-image { width: min(100%, 300px); }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 26px; }
  .footer-wrap { display: block; }
  .footer-wrap p + p { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
