:root {
  --paper: #f7f8f2;
  --paper-deep: #e8ede8;
  --ink: #24342f;
  --ink-soft: #53645d;
  --muted: #73827a;
  --line: #ccd7cf;
  --red: #e1424f;
  --red-deep: #b83240;
  --purple: #7358e8;
  --sage: #466a58;
  --sage-soft: #dfeae1;
  --panel: #fbfbf7;
  --shadow: 0 18px 48px rgba(35, 53, 47, .12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 242, .92);
  border-bottom: 1px solid rgba(204, 215, 207, .76);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  color: var(--ink);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: .94rem;
}

.nav-links a {
  text-decoration: none;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(35, 53, 47, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: #aebfb4;
  box-shadow: 0 12px 24px rgba(35, 53, 47, .1);
}

.button.primary {
  color: #fbfbf7;
  border-color: var(--red);
  background: var(--red);
}

.button.primary:hover {
  border-color: var(--red-deep);
  background: var(--red-deep);
}

.button.ghost {
  background: transparent;
}

.button svg,
.button [data-lucide] {
  width: 18px;
  height: 18px;
  flex: none;
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  border-bottom: 1px solid rgba(204, 215, 207, .78);
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: .96;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 248, 242, .98) 0%, rgba(247, 248, 242, .86) 38%, rgba(247, 248, 242, .28) 76%, rgba(247, 248, 242, .08) 100%),
    linear-gradient(180deg, rgba(247, 248, 242, .08) 0%, rgba(247, 248, 242, .88) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  min-height: 82svh;
  margin: 0 auto;
  padding: 78px 0 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(225, 66, 79, .28);
  border-radius: 999px;
  background: rgba(251, 251, 247, .68);
  color: var(--red-deep);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: .92rem;
  font-weight: 700;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 4.6rem;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--red-deep);
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1.24rem;
}

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

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--ink-soft);
}

.proof-row li {
  padding: 8px 11px;
  border: 1px solid rgba(204, 215, 207, .9);
  border-radius: 999px;
  background: rgba(251, 251, 247, .72);
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: #eef2ee;
}

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

.section-kicker {
  margin: 0 0 10px;
  color: var(--red-deep);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-weight: 800;
}

.section-title {
  max-width: 760px;
  margin: 0;
  font-size: 2.9rem;
  line-height: 1.16;
  letter-spacing: 0;
}

.section-copy {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

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

.step,
.feature-card,
.price-card,
.faq details {
  border: 1px solid rgba(188, 202, 193, .92);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 22px rgba(35, 53, 47, .06);
}

.step {
  position: relative;
  min-height: 238px;
  padding: 24px;
}

.step-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fbfbf7;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-weight: 800;
}

.step h3,
.feature-card h3,
.price-card h3 {
  margin: 20px 0 8px;
  font-size: 1.25rem;
  line-height: 1.35;
}

.step p,
.feature-card p,
.price-card p,
.faq p,
.faq li {
  margin: 0;
  color: var(--ink-soft);
}

.proof-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 34px;
  align-items: center;
  margin-top: 42px;
}

.artifact-strip {
  display: grid;
  gap: 14px;
}

.artifact {
  padding: 18px 20px;
  border-left: 4px solid var(--sage);
  background: rgba(251, 251, 247, .72);
}

.artifact strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.code-window {
  overflow: hidden;
  border: 1px solid #c1cec5;
  border-radius: 8px;
  background: #23352f;
  color: #edf5ee;
  box-shadow: var(--shadow);
}

.window-bar {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(251, 251, 247, .12);
  color: #cbd9d0;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: .92rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.dot:nth-child(2) {
  background: #d8a54d;
}

.dot:nth-child(3) {
  background: #76a987;
  margin-right: 8px;
}

pre {
  margin: 0;
  padding: 22px;
  overflow: auto;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: .95rem;
  line-height: 1.75;
}

.token {
  color: #ffb7bd;
}

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

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.feature-card {
  min-height: 218px;
  padding: 24px;
}

.trust-card {
  min-height: 196px;
  padding: 24px;
  border: 1px solid rgba(188, 202, 193, .92);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 22px rgba(35, 53, 47, .06);
}

.trust-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.14rem;
}

.trust-card p {
  margin: 0;
  color: var(--ink-soft);
}

.feature-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--sage-soft);
  color: var(--sage);
}

.feature-icon [data-lucide] {
  width: 22px;
  height: 22px;
}

.pricing-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 20px;
  margin-top: 42px;
  align-items: stretch;
}

.price-card {
  padding: 28px;
}

.price-card.highlight {
  border-color: rgba(225, 66, 79, .38);
  background:
    linear-gradient(140deg, rgba(255, 245, 246, .92), rgba(251, 251, 247, .96) 50%, rgba(239, 242, 255, .82));
  box-shadow: var(--shadow);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 16px;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.price strong {
  font-size: 3rem;
  line-height: 1;
}

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

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-soft);
}

.price-card li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 11px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
}

.commerce-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(188, 202, 193, .86);
  border-radius: 8px;
  background: rgba(246, 248, 242, .78);
  color: var(--ink-soft);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.commerce-note strong {
  flex: none;
  color: var(--ink);
}

.guide-shell {
  display: grid;
  gap: 20px;
  margin-top: 46px;
}

.guide-hero,
.guide-card {
  min-width: 0;
  border: 1px solid rgba(188, 202, 193, .92);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 22px rgba(35, 53, 47, .06);
}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
  gap: 30px;
  align-items: center;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(251, 251, 247, .96), rgba(244, 247, 239, .92)),
    var(--panel);
}

.guide-hero > *,
.guide-card > *,
.os-guide-grid > * {
  min-width: 0;
}

.guide-hero h3,
.guide-card h3 {
  margin: 12px 0 10px;
  font-size: 1.55rem;
  line-height: 1.28;
  letter-spacing: 0;
}

.guide-hero p,
.guide-card p,
.manual-steps li,
.guide-callout,
.trouble-grid p {
  color: var(--ink-soft);
}

.guide-hero p,
.guide-card p {
  margin: 0;
}

.guide-visual {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(188, 202, 193, .86);
  border-radius: 8px;
  background: #f0f2ea;
}

.guide-visual img {
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.guide-route {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.guide-route-item {
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(204, 215, 207, .86);
  border-radius: 8px;
  background: rgba(251, 251, 247, .72);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.guide-route-item strong {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fbfbf7;
  font-size: .9rem;
}

.guide-route-item span {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.35;
}

.guide-card {
  padding: 26px;
}

.guide-card.wide {
  width: 100%;
}

.guide-card-head {
  max-width: 780px;
}

.field-pill {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid rgba(35, 53, 47, .16);
  border-radius: 999px;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.25;
  vertical-align: middle;
  white-space: nowrap;
}

.field-pill.is-path {
  border-color: rgba(70, 106, 88, .32);
  background: rgba(223, 234, 225, .76);
  color: #315544;
}

.field-pill.is-file {
  border-color: rgba(115, 88, 232, .28);
  background: rgba(239, 242, 255, .82);
  color: #5842ba;
}

.field-pill.is-setting {
  border-color: rgba(225, 66, 79, .28);
  background: rgba(255, 240, 242, .82);
  color: var(--red-deep);
}

.setup-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.setup-checklist > span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(204, 215, 207, .86);
  border-radius: 8px;
  background: rgba(246, 248, 242, .72);
  color: var(--ink-soft);
  font-weight: 700;
}

.setup-checklist [data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--sage);
}

.guide-callout {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: rgba(255, 247, 248, .78);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.guide-callout.compact {
  display: block;
  margin-top: 16px;
  border-left-color: var(--sage);
  background: rgba(239, 246, 240, .74);
}

.guide-callout code {
  color: var(--red-deep);
  font-family: "Cascadia Code", Consolas, monospace;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.os-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  min-width: 0;
}

.os-guide-grid.compact .guide-card {
  min-height: 0;
}

.manual-steps {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.manual-steps li {
  position: relative;
  display: block;
  min-height: 28px;
  padding-left: 40px;
}

.manual-steps li::before {
  counter-increment: guide-step;
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 2px;
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--sage-soft);
  color: var(--sage);
  font-weight: 900;
  line-height: 1;
}

kbd {
  display: inline-flex;
  min-width: 26px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 1px 7px;
  border: 1px solid #b9c7be;
  border-bottom-width: 2px;
  border-radius: 6px;
  background: #fbfbf7;
  color: var(--ink);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: .82rem;
  line-height: 1.2;
}

.shortcut {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  vertical-align: middle;
}

.path-tree {
  margin-top: 18px;
  padding: 18px;
  overflow: auto;
  border: 1px solid rgba(204, 215, 207, .92);
  border-radius: 8px;
  background: #f4f7f0;
  color: var(--ink);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: .92rem;
}

.path-tree strong {
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.path-tree ul {
  margin: 8px 0 0 14px;
  padding-left: 16px;
  border-left: 1px solid rgba(70, 106, 88, .22);
  list-style: none;
}

.path-tree li {
  position: relative;
  margin: 8px 0;
}

.path-tree li::before {
  content: "";
  position: absolute;
  left: -17px;
  top: .86em;
  width: 11px;
  border-top: 1px solid rgba(70, 106, 88, .22);
}

.path-tree span {
  color: var(--muted);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.trouble-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.trouble-grid > div {
  min-height: 142px;
  padding: 16px;
  border: 1px solid rgba(204, 215, 207, .86);
  border-radius: 8px;
  background: rgba(246, 248, 242, .72);
}

.trouble-grid strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-weight: 900;
}

.trouble-grid p {
  margin: 0;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: .95rem;
  line-height: 1.65;
}

.faq {
  display: grid;
  gap: 14px;
  margin-top: 42px;
}

.faq details {
  padding: 0;
}

.faq summary {
  cursor: pointer;
  padding: 20px 22px;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-weight: 800;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details > div {
  padding: 0 22px 22px;
  border-top: 1px solid rgba(204, 215, 207, .7);
}

.final-cta {
  padding: 88px 0 96px;
  background: var(--ink);
  color: #f4f6f0;
}

.final-cta .section-copy {
  color: #c9d6ce;
}

.final-cta .button.ghost {
  color: #f4f6f0;
  border-color: rgba(244, 246, 240, .28);
}

.site-footer {
  padding: 26px 0;
  background: #1d2b27;
  color: #cbd8d0;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: .92rem;
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

:focus-visible {
  outline: 3px solid rgba(115, 88, 232, .55);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 3.35rem;
  }

  .workflow-grid,
  .features-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-layout,
  .pricing-layout,
  .guide-hero,
  .os-guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-hero {
    gap: 22px;
  }

  .guide-visual {
    order: -1;
  }

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

@media (max-width: 700px) {
  .nav {
    width: min(var(--max), calc(100% - 28px));
    min-height: 62px;
  }

  .brand span {
    display: none;
  }

  .nav-actions .button.ghost {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    width: min(var(--max), calc(100% - 28px));
    padding: 54px 0 48px;
  }

  .hero-art {
    object-position: 62% center;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(247, 248, 242, .95) 0%, rgba(247, 248, 242, .84) 58%, rgba(247, 248, 242, .92) 100%);
  }

  .hero h1 {
    font-size: 2.35rem;
    line-height: 1.13;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero-actions,
  .nav-actions {
    gap: 8px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding: 66px 0;
  }

  .section-inner {
    width: min(var(--max), calc(100% - 28px));
  }

  .section-title {
    font-size: 2.1rem;
  }

  .workflow-grid,
  .features-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .price strong {
    font-size: 2.4rem;
  }

  .guide-shell {
    gap: 16px;
    margin-top: 34px;
  }

  .guide-hero,
  .guide-card {
    padding: 18px;
  }

  .guide-hero h3,
  .guide-card h3 {
    font-size: 1.28rem;
  }

  .guide-route {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-route-item {
    min-height: 76px;
  }

  .field-pill {
    white-space: nowrap;
  }

  .guide-callout {
    display: block;
  }

  .setup-checklist > span {
    width: 100%;
  }

  .manual-steps li {
    padding-left: 36px;
  }

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

  pre {
    font-size: .84rem;
  }

  .footer-inner {
    width: min(var(--max), calc(100% - 28px));
    flex-direction: column;
  }

  .commerce-note {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
