:root {
  --paper: #fffdf8;
  --ink: #151515;
  --muted: #5d6269;
  --line: #d8d2c7;
  --red: #d8312f;
  --teal: #0f766e;
  --soft: #f2eee7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  line-height: 1.75;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.rail { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--ink); background: var(--paper); }
.header-inner { min-height: 70px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; }
.brand img { width: 34px; height: 34px; border: 1px solid var(--ink); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 700; }
.nav a[aria-current="page"] { color: var(--red); }
.download-link, .button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border: 1px solid var(--ink);
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border-radius: 4px;
  box-shadow: 4px 4px 0 var(--ink);
}
.download-link:hover, .button:hover { transform: translate(1px, 1px); box-shadow: 3px 3px 0 var(--ink); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--ink); background: transparent; font-size: 22px; }
.hero { border-bottom: 1px solid var(--ink); }
.hero-grid { min-height: 690px; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr); gap: 64px; align-items: center; padding: 44px 0 42px; }
.eyebrow { display: inline-block; margin-bottom: 18px; padding: 4px 10px; color: var(--teal); border: 1px solid var(--teal); font-size: 13px; font-weight: 800; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 620px; margin-bottom: 20px; font-size: 52px; line-height: 1.14; letter-spacing: 0; }
.hero-copy p { max-width: 580px; margin-bottom: 26px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.text-link { color: var(--teal); font-weight: 800; text-underline-offset: 4px; }
.fact-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.fact-row span { padding: 4px 9px; border-left: 3px solid var(--teal); background: var(--soft); font-size: 13px; font-weight: 700; }
.media-workspace { position: relative; height: 510px; display: grid; grid-template-columns: 66px 1fr 150px; gap: 12px; padding: 14px; border: 1px solid var(--ink); background: #fff; box-shadow: 10px 10px 0 var(--teal); overflow: hidden; }
.media-index { display: flex; flex-direction: column; justify-content: space-between; padding: 8px 0; border-right: 1px solid var(--line); font-size: 12px; font-weight: 800; color: var(--muted); }
.media-index strong { color: var(--red); font-size: 28px; }
.frame { min-width: 0; border: 1px solid var(--line); background: #f8f8f8; overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: contain; max-width: 400px; margin: auto; }
.frame-main { min-height: 480px; }
.frame-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
.frame-small { min-height: 0; }
.section { padding: 76px 0; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
h2 { margin-bottom: 0; font-size: 34px; line-height: 1.25; letter-spacing: 0; }
.section-note { max-width: 520px; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--ink); }
.feature { min-width: 0; padding: 24px; border-right: 1px solid var(--ink); }
.feature:last-child { border-right: 0; }
.feature b { display: block; margin-bottom: 12px; color: var(--red); font-size: 13px; }
.feature h3 { margin-bottom: 8px; font-size: 20px; }
.feature p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.gallery-grid { display: grid; grid-template-columns: 1.1fr 0.9fr 1fr; gap: 18px; align-items: start; }
.gallery-card { margin: 0; padding: 12px; border: 1px solid var(--ink); background: #fff; }
.gallery-card img { width: 100%; height: 310px; max-width: 400px; object-fit: contain; margin: auto; background: #f5f5f5; }
.gallery-card figcaption { padding-top: 10px; font-size: 14px; color: var(--muted); }
.manage-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 22px; }
.manage-lead { padding: 28px; color: #fff; background: var(--teal); }
.manage-lead h3 { font-size: 26px; }
.manage-lead p { margin-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--ink); }
.step { padding: 20px; min-width: 0; }
.step:nth-child(odd) { border-right: 1px solid var(--ink); }
.step:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
.step strong { color: var(--red); }
.faq-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.faq-preview article { padding: 22px; border-top: 4px solid var(--red); background: var(--soft); }
.faq-preview p { margin-bottom: 0; color: var(--muted); }
.cta { background: var(--ink); color: #fff; }
.cta-inner { min-height: 260px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { max-width: 620px; }
.cta .download-link { border-color: #fff; box-shadow: 4px 4px 0 var(--teal); }
.site-footer { padding: 30px 0; background: var(--paper); text-align: center; }
.site-footer p { margin-bottom: 8px; color: var(--muted); font-size: 13px; text-align: center; }
.inner-hero { padding: 64px 0 54px; border-bottom: 1px solid var(--ink); }
.inner-hero h1 { max-width: 800px; font-size: 46px; }
.inner-hero p { max-width: 760px; color: var(--muted); }
.prose { width: min(880px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 80px; }
.prose section { margin-bottom: 44px; }
.prose h2 { margin-bottom: 18px; font-size: 28px; }
.prose h3 { font-size: 20px; }
.prose p, .prose li { color: #35383c; }
.checklist { padding: 0; list-style: none; border: 1px solid var(--ink); }
.checklist li { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.callout { padding: 22px; border-left: 6px solid var(--teal); background: var(--soft); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--ink); background: #fff; }
.faq-list summary { cursor: pointer; padding: 17px 20px; font-weight: 800; }
.faq-list details p { margin: 0; padding: 0 20px 20px; }

@media (max-width: 900px) {
  .nav { display: none; position: absolute; z-index: 5; top: 70px; left: 20px; right: 20px; padding: 18px; border: 1px solid var(--ink); background: var(--paper); box-shadow: 6px 6px 0 var(--ink); }
  .nav.open { display: grid; }
  .menu-toggle { display: block; }
  .header-inner > .download-link { display: none; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 28px; padding: 34px 0 30px; }
  h1 { font-size: 40px; }
  .media-workspace { height: 310px; grid-template-columns: 42px 1fr 92px; gap: 8px; padding: 8px; box-shadow: 6px 6px 0 var(--teal); }
  .frame-main { min-height: 292px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .gallery-grid, .manage-grid { grid-template-columns: 1fr; }
  .gallery-grid { max-width: 560px; margin: auto; }
}

@media (max-width: 620px) {
  .rail, .prose { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 62px; }
  .nav { top: 62px; left: 14px; right: 14px; }
  .hero-grid { padding: 24px 0 24px; gap: 22px; }
  .eyebrow { margin-bottom: 12px; }
  h1 { font-size: 34px; line-height: 1.18; }
  .hero-copy p { margin-bottom: 18px; font-size: 15px; }
  .fact-row { margin-top: 16px; }
  .media-workspace { height: 270px; grid-template-columns: 34px 1fr 72px; }
  .media-index { font-size: 10px; }
  .media-index strong { font-size: 22px; }
  .media-index span { display: none; }
  .frame-main { min-height: 252px; }
  .section { padding: 54px 0; }
  .section-heading { display: block; margin-bottom: 24px; }
  h2 { font-size: 29px; }
  .section-note { margin-top: 10px; }
  .feature-grid, .faq-preview { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--ink); }
  .feature:last-child { border-bottom: 0; }
  .gallery-card img { height: 260px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(odd), .step:nth-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--ink); }
  .step:last-child { border-bottom: 0; }
  .cta-inner { min-height: 300px; align-items: flex-start; justify-content: center; flex-direction: column; }
  .inner-hero { padding: 44px 0; }
  .inner-hero h1 { font-size: 35px; }
  .prose { padding-top: 48px; }
}

