:root {
  --ink: #101816;
  --muted: #5a6561;
  --paper: #f7f5ef;
  --white: #ffffff;
  --mint: #27b18a;
  --mint-dark: #14765d;
  --coral: #f15f52;
  --cobalt: #2d5fd0;
  --line: #cad2cd;
  --soft: #e9eee9;
  --container: 1180px;
}

* { 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.7;
  letter-spacing: 0;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 245, 239, .96);
  border-bottom: 1px solid var(--ink);
}
.header-inner {
  width: min(var(--container), calc(100% - 48px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}
.brand-mark img { width: 38px; height: 38px; border-radius: 7px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  position: relative;
  padding: 22px 0 18px;
  color: #37423e;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 13px;
  height: 3px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--mint);
  color: #07120f;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
}
.download-link:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.download-link.secondary { background: var(--white); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  content: "";
  transition: transform .2s ease;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.hero {
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
}
.hero-inner {
  width: min(var(--container), calc(100% - 48px));
  min-height: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
  align-items: center;
  gap: 58px;
  padding: 44px 0 40px;
}
.eyebrow, .page-kicker, .mono-label {
  margin: 0 0 14px;
  color: var(--cobalt);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero h1, .page-hero h1 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(40px, 4.4vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}
.hero h1 { font-size: 38px; white-space: nowrap; }
.hero-brand-line, .hero-value-line { display: block; white-space: nowrap; }
.hero-lede {
  max-width: 610px;
  margin: 22px 0 0;
  color: #35413d;
  font-size: 17px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 590px;
  margin-top: 32px;
  border: 1px solid var(--ink);
  background: var(--white);
}
.signal-row div { padding: 12px 14px; border-right: 1px solid var(--ink); }
.signal-row div:last-child { border-right: 0; }
.signal-row strong { display: block; font-size: 14px; }
.signal-row span { display: block; color: var(--muted); font-size: 12px; }

.calibration-stage {
  position: relative;
  height: 510px;
  display: grid;
  place-items: center;
}
.calibration-stage::before, .calibration-stage::after {
  content: "";
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.calibration-stage::before { width: 430px; height: 430px; }
.calibration-stage::after { width: 332px; height: 332px; border-color: var(--coral); }
.axis-x, .axis-y { position: absolute; z-index: 0; background: var(--line); }
.axis-x { width: 100%; height: 1px; }
.axis-y { width: 1px; height: 100%; }
.hero-screen {
  position: relative;
  z-index: 2;
  width: 236px;
  padding: 9px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 14px 14px 0 rgba(45, 95, 208, .18);
}
.hero-screen img { width: 218px; height: auto; max-width: 400px; border-radius: 3px; }
.meter {
  position: absolute;
  z-index: 3;
  min-width: 122px;
  padding: 9px 11px;
  border: 1px solid var(--ink);
  background: var(--white);
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  line-height: 1.4;
}
.meter strong { display: block; color: var(--coral); font-size: 16px; }
.meter.zoom { top: 49px; right: 6px; }
.meter.focus { left: 2px; bottom: 54px; }
.scale-mark {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 50%;
  width: 1px;
  height: 38px;
  background: var(--coral);
}
.scale-mark::before { content: "阅读尺度"; position: absolute; top: -2px; left: 10px; width: 70px; font-size: 11px; font-weight: 800; }

.section { padding: 76px 0; border-bottom: 1px solid var(--line); }
.section.white { background: var(--white); }
.section.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.section-inner { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.15; letter-spacing: 0; }
.section-note { max-width: 520px; color: var(--muted); font-size: 14px; }
.dark .section-note { color: #bcc8c3; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--ink); background: var(--ink); gap: 1px; }
.feature-item { min-height: 218px; padding: 24px; background: var(--paper); }
.feature-index { color: var(--coral); font-family: Consolas, monospace; font-size: 12px; font-weight: 900; }
.feature-item h3 { margin: 42px 0 8px; font-size: 20px; }
.feature-item p { margin: 0; color: var(--muted); font-size: 14px; }
.feature-item:nth-child(2) { background: #eaf5f0; }
.feature-item:nth-child(3) { background: #eef1fb; }
.feature-item:nth-child(4) { background: #faece9; }

.calibration-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: center; }
.calibration-copy h3 { margin: 0 0 14px; font-size: 28px; }
.calibration-copy p { margin: 0 0 18px; color: #c7d0cc; }
.calibration-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #51605a; }
.calibration-list li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid #51605a; font-size: 14px; }
.calibration-list span { color: #87dfc4; font-family: Consolas, monospace; }
.search-panel { padding: 20px; border: 1px solid #81908a; background: #17211e; }
.search-panel img { width: min(100%, 349px); height: auto; max-width: 400px; margin: 0 auto; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.shot { margin: 0; border-top: 5px solid var(--ink); background: var(--soft); }
.shot-media { min-height: 430px; display: grid; place-items: center; padding: 22px; border: 1px solid var(--line); border-top: 0; overflow: hidden; }
.shot img { width: auto; height: auto; max-width: 100%; max-height: 388px; }
.shot figcaption { padding: 16px 2px 0; color: var(--muted); font-size: 14px; }
.shot figcaption strong { display: block; color: var(--ink); font-size: 16px; }

.route-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.route-panel { padding: 30px; border: 1px solid var(--ink); background: var(--white); }
.route-panel h3 { margin: 0 0 10px; font-size: 23px; }
.route-panel p { min-height: 76px; margin: 0 0 22px; color: var(--muted); }
.text-link { color: var(--cobalt); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.download-band { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding: 42px; border: 1px solid var(--ink); background: var(--mint); }
.download-band h2 { margin: 0; font-size: clamp(28px, 4vw, 48px); }
.download-summary { margin: 8px 0 0; max-width: 680px; }
.download-band .download-link { background: var(--paper); }

.page-hero { padding: 68px 0 56px; border-bottom: 1px solid var(--ink); }
.page-hero-inner { width: min(960px, calc(100% - 48px)); margin: 0 auto; }
.page-hero h1 { font-size: clamp(38px, 5vw, 62px); }
.page-hero p { max-width: 760px; margin: 20px 0 0; color: var(--muted); font-size: 17px; }
.content-shell { width: min(960px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0 84px; }
.content-section { margin-bottom: 58px; scroll-margin-top: 92px; }
.content-section h2 { margin: 0 0 22px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); font-size: 30px; }
.content-section h3 { margin: 28px 0 8px; font-size: 20px; }
.content-section p { margin: 0 0 16px; color: #39443f; }
.step-list { counter-reset: steps; display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.step-list li { counter-increment: steps; position: relative; padding: 22px 22px 22px 74px; border: 1px solid var(--line); background: var(--white); }
.step-list li::before { content: counter(steps, decimal-leading-zero); position: absolute; left: 20px; top: 20px; color: var(--coral); font-family: Consolas, monospace; font-weight: 900; }
.step-list strong { display: block; margin-bottom: 5px; }
.notice { padding: 20px 22px; border-left: 5px solid var(--coral); background: #faece9; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.check-card { padding: 20px; border: 1px solid var(--line); background: var(--white); }
.check-card h3 { margin: 0 0 8px; }
.check-card p { margin: 0; font-size: 14px; }

.faq-tools { display: flex; gap: 12px; margin-bottom: 22px; }
.faq-search { width: 100%; min-height: 48px; padding: 0 15px; border: 1px solid var(--ink); border-radius: 4px; background: var(--white); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--ink); }
.faq-item summary { position: relative; padding: 20px 48px 20px 0; cursor: pointer; font-size: 17px; font-weight: 800; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 8px; top: 13px; color: var(--mint-dark); font-size: 28px; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 48px 22px 0; color: #39443f; }
.faq-answer p { margin: 0 0 12px; }
.faq-empty { display: none; padding: 24px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }
.faq-empty.visible { display: block; }

.site-footer { background: var(--ink); color: #d8dfdc; }
.footer-inner { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; padding: 34px 0; text-align: center; }
.footer-inner p { margin: 6px auto; max-width: 860px; font-size: 13px; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-bottom: 18px; }
.footer-nav a { color: var(--white); font-size: 14px; font-weight: 700; }

@media (max-width: 900px) {
  .header-inner { width: min(100% - 32px, var(--container)); min-height: 64px; }
  .menu-toggle { display: inline-flex; }
  .header-download { display: none; }
  .site-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--paper);
    border-bottom: 1px solid transparent;
    transition: max-height .25s ease, border-color .25s ease;
  }
  .site-nav.open { max-height: 260px; border-color: var(--ink); }
  .site-nav a { padding: 15px 24px; border-top: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .hero-inner {
    width: min(100% - 32px, var(--container));
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 32px 0 28px;
  }
  .hero-copy { order: 1; }
  .calibration-stage { order: 2; height: 280px; }
  .hero h1 { font-size: 38px; }
  .hero-lede { margin-top: 15px; font-size: 15px; }
  .hero-actions { margin-top: 20px; }
  .signal-row { margin-top: 22px; }
  .calibration-stage::before { width: 266px; height: 266px; }
  .calibration-stage::after { width: 210px; height: 210px; }
  .hero-screen { width: 134px; padding: 6px; box-shadow: 8px 8px 0 rgba(45, 95, 208, .18); }
  .hero-screen img { width: 120px; }
  .meter { min-width: 100px; padding: 7px 8px; font-size: 9px; }
  .meter strong { font-size: 13px; }
  .meter.zoom { top: 16px; right: 2px; }
  .meter.focus { left: 0; bottom: 20px; }
  .scale-mark { top: 0; }
  .section { padding: 58px 0; }
  .section-inner, .content-shell, .page-hero-inner, .footer-inner { width: min(100% - 32px, var(--container)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calibration-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .shot-media { min-height: 360px; }
  .route-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .brand-mark { font-size: 15px; }
  .brand-mark img { width: 34px; height: 34px; }
  .hero h1 { max-width: none; font-size: 22px; }
  .hero-lede { max-width: 350px; }
  .signal-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .signal-row div { padding: 8px; border-right: 1px solid var(--ink); border-bottom: 0; }
  .signal-row div:last-child { border-right: 0; }
  .signal-row strong { font-size: 12px; }
  .signal-row span { font-size: 10px; }
  .calibration-stage { height: 220px; }
  .calibration-stage::before { width: 208px; height: 208px; }
  .calibration-stage::after { width: 162px; height: 162px; }
  .meter.zoom { top: 8px; }
  .meter.focus { bottom: 8px; }
  .scale-mark { display: none; }
  .section-heading { display: block; }
  .section-note { margin-top: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-item { min-height: 170px; }
  .feature-item h3 { margin-top: 24px; }
  .route-panel p { min-height: 0; }
  .download-band { grid-template-columns: 1fr; padding: 28px 22px; }
  .download-band .download-link { width: 100%; }
  .page-hero { padding: 46px 0 40px; }
  .page-hero h1 { font-size: 34px; }
  .content-shell { padding: 48px 0 64px; }
  .content-section h2 { font-size: 26px; }
  .check-grid { grid-template-columns: 1fr; }
}
