:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --white: #fff;
  --ink: #18221d;
  --muted: #4d5c53;
  --line: #d7ded6;
  --green: #196449;
  --green-hover: #124a36;
  --tint: #e2f0e6;
  --dark: #192d25;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { line-height: 1.13; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.035em; }
h3 { font-size: 1.35rem; line-height: 1.35; }
code { font-family: var(--mono); overflow-wrap: anywhere; font-size: .9em; }
svg:not(.symbols) { display: inline-block; width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(100% - 36px, 1160px); margin-inline: auto; }
.skip { position: absolute; inset: 8px auto auto 8px; padding: 12px; background: var(--white); transform: translateY(-150%); z-index: 1; }
.skip:focus { transform: none; }
.topbar, .footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar { min-height: 76px; border-bottom: 1px solid var(--line); }
.brand, nav, nav a, .footer a { display: flex; align-items: center; min-height: 44px; }
.brand { font-size: 1.16rem; font-weight: 800; letter-spacing: -.04em; }
.brand img { margin-right: 8px; }
.brand span { color: var(--green); }
nav { gap: 24px; font-size: .9rem; font-weight: 650; }
nav a:hover, .footer a:hover { color: var(--green); text-decoration: underline; text-underline-offset: .3em; }
.nav-download { border: 1px solid var(--line); border-radius: 8px; padding-inline: 14px; }
.hero { display: grid; align-items: center; gap: 44px; padding-block: 58px 52px; }
.hero-copy { min-width: 0; }
.eyebrow, .mono, figcaption { font-family: var(--mono); font-size: .81rem; font-weight: 650; letter-spacing: .06em; }
.eyebrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--green); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.tag { background: var(--tint); color: var(--green-hover); border-radius: 5px; padding: 4px 8px; font-size: .8rem; font-weight: 700; }
h1 { font-size: clamp(3rem, 6.8vw, 6rem); letter-spacing: -.065em; margin-block: 20px; }
.lead { max-width: 32em; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.16rem); }
.actions { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 16px; border-radius: 8px; font-weight: 700; transition: background-color .18s, color .18s; }
.primary { background: var(--green); color: var(--white); }
.primary:hover, .primary:active { background: var(--green-hover); }
.secondary { border: 1px solid var(--line); }
.secondary:hover, .secondary:active { background: var(--tint); }
.meta { color: var(--muted); margin-top: 14px; font-size: .875rem; }
.preview { min-width: 0; background: #dfeae0; border: 1px solid #cddbd0; border-radius: 20px; padding: clamp(12px, 3vw, 36px); background-image: radial-gradient(#acbfb0 1px, transparent 1px); background-size: 16px 16px; }
.window { border: 1px solid #c1cfc3; border-radius: 13px; background: var(--white); box-shadow: 0 14px 32px #192d251b; overflow: hidden; }
.window-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; background: #eff3ef; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .81rem; font-weight: 650; }
.dots { display: flex; gap: 4px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #aab9ad; }
.window-body { padding: clamp(12px, 2.5vw, 24px); }
.window-title, .window-footer, .route { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.window-title, .window-footer { justify-content: space-between; }
.window-title strong { font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
.mono { color: var(--muted); }
.route { margin-block: 15px; color: var(--green-hover); background: #f1f5f0; padding: 8px; border-radius: 6px; }
.flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.flow-column { border: 1px solid var(--line); padding: 8px; border-radius: 8px; }
.flow-column.output { background: #edf6ef; }
.file { display: flex; align-items: center; gap: 5px; min-height: 36px; overflow-wrap: anywhere; font-size: .81rem; }
.file svg { color: var(--green); }
.window-footer { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 16px; color: var(--muted); font-size: .81rem; }
.window-footer strong { color: var(--green-hover); }
figcaption { display: flex; flex-wrap: wrap; gap: 5px 12px; margin-top: 16px; color: var(--green-hover); }
.section { padding-block: clamp(48px, 7vw, 96px); }
#workflow { border-block: 1px solid var(--line); background: #edf2eb; }
.section-head { display: grid; gap: 13px; margin-bottom: 30px; }
.section-head > p:last-child, .steps p, .mode-grid p, .rule-note p { color: var(--muted); }
.index, .step-num { color: var(--green); font-family: var(--mono); }
.index { border: 1px solid #b7c9bd; border-radius: 5px; padding: 2px 6px; }
.steps { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid #becdc2; }
.steps li { border-bottom: 1px solid #becdc2; padding: 22px 0; }
.steps h3, .mode-grid h3 { margin-block: 8px; }
.rule-note { margin-top: 24px; padding-left: 16px; border-left: 3px solid var(--green); }
.rule-note p { margin-top: 3px; }
.mode-grid { display: grid; gap: 12px; }
.mode-grid article { padding: clamp(20px, 3vw, 32px); background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.mode-grid svg { color: var(--green); font-size: 1.4rem; }
.download-inner { display: grid; justify-items: start; align-items: center; gap: 18px; padding: clamp(20px, 5vw, 56px); border-radius: 16px; background: var(--dark); color: var(--white); }
.download .eyebrow, .download p { color: #d1e4d7; }
.download h2 { margin-block: 8px 12px; }
.download .primary { color: var(--dark); background: #d4efda; }
.download .primary:hover { background: #b4dfc0; }
.download .primary:focus-visible { outline-color: #d4efda; }
.install { font-size: .9rem; padding-top: 12px; border-top: 1px solid #557061; width: 100%; }
.footer { min-height: 84px; color: var(--muted); font-size: .875rem; }
.footer a { gap: 6px; }
@media (max-width: 599px) { nav > a:not(.nav-download) { display: none; } }
@media (min-width: 600px) {
  .wrap { width: min(100% - 64px, 1160px); }
  .mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); padding-block: 80px 88px; }
  .download-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .install { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
