:root {
  --ink: #17212b;
  --muted: #65717a;
  --paper: #fffaf4;
  --surface: #ffffff;
  --line: #e8dfd6;
  --accent: #ef5b48;
  --accent-soft: #fff0ea;
  --sage: #708b73;
  --max: 1160px;
}

* { 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;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 244, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner, .hero-inner, .section-inner, .footer-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .02em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent; font-weight: 700; font-size: 14px; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(23, 33, 43, .1); }
.button-primary { color: #fff; background: var(--accent); }
.button-secondary { color: var(--ink); border-color: var(--line); background: var(--surface); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); font-size: 24px; }
.hero { padding: 76px 0 72px; background: linear-gradient(90deg, #fffaf4 0%, #fffaf4 62%, #fff2ea 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 470px); align-items: center; gap: 74px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.22; letter-spacing: 0; }
h1 { max-width: 620px; font-size: clamp(36px, 5vw, 64px); }
.hero-copy > p { max-width: 610px; margin: 22px 0 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--sage); font-size: 13px; }
.hero-media { position: relative; min-height: 520px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 18px; }
.screen { overflow: hidden; border-radius: 18px; border: 1px solid rgba(23, 33, 43, .12); background: #f6ede6; box-shadow: 0 20px 42px rgba(23, 33, 43, .13); }
.screen img { width: 100%; height: auto; }
.screen-main { transform: translateY(22px); }
.screen-side { transform: translateY(-24px); }
.media-tag { position: absolute; left: 14px; bottom: 8px; padding: 7px 12px; border-radius: 999px; background: var(--surface); color: var(--sage); border: 1px solid var(--line); font-size: 12px; }
.rail { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.rail-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); }
.rail-item { padding: 18px 20px; border-right: 1px solid var(--line); }
.rail-item:last-child { border-right: 0; }
.rail-item b { display: block; color: var(--accent); font-size: 12px; letter-spacing: .08em; }
.rail-item span { color: var(--muted); font-size: 14px; }
.section { padding: 88px 0; }
.section.alt { background: #f7efe8; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-heading h2 { font-size: clamp(26px, 3vw, 38px); }
.section-heading p, .section-note { max-width: 460px; margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 26px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; }
.feature b { display: block; margin-bottom: 12px; color: var(--accent); font-size: 14px; }
.feature h3 { font-size: 20px; }
.feature p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.gallery { display: grid; grid-template-columns: 1.1fr .9fr .9fr; align-items: end; gap: 20px; }
.gallery figure { margin: 0; padding: 14px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; }
.gallery figure:first-child { transform: translateY(-20px); }
.gallery figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; }
.notes { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: start; }
.note-list { display: grid; gap: 12px; }
.note { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.note strong { flex: 0 0 28px; color: var(--accent); font-size: 18px; }
.note p { margin: 0; color: var(--muted); }
.callout { padding: 28px; border-radius: 14px; background: var(--ink); color: #fff; }
.callout h3 { color: #fff; }
.callout p { color: #cdd7dd; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.faq-item button { width: 100%; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; background: transparent; color: var(--ink); text-align: left; font: inherit; font-weight: 700; cursor: pointer; }
.faq-item button span:last-child { color: var(--accent); font-size: 20px; }
.faq-answer { display: none; padding: 0 20px 18px; color: var(--muted); font-size: 14px; }
.faq-item.is-open .faq-answer { display: block; }
.download-band { padding: 70px 0; background: var(--accent-soft); }
.download-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.download-inner p { margin: 10px 0 0; color: var(--muted); }
.footer { padding: 28px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer p { margin: 0; }
.footer a { color: var(--ink); }
.page-hero { padding: 68px 0 50px; background: #f7efe8; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); }
.page-hero p { max-width: 760px; margin: 18px 0 0; color: var(--muted); }
.prose { max-width: 860px; }
.prose h2 { margin-top: 42px; font-size: 28px; }
.prose p { margin: 14px 0; color: var(--muted); }
.prose ul { padding-left: 22px; color: var(--muted); }
.prose li { margin: 8px 0; }
.info-table { width: 100%; border-collapse: collapse; margin-top: 24px; background: var(--surface); }
.info-table th, .info-table td { padding: 14px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 24%; color: var(--ink); background: #fff4ed; }
@media (max-width: 860px) {
  .nav, .header-actions { display: none; }
  .menu-toggle { display: block; }
  .site-header.menu-open .nav { position: absolute; left: 20px; right: 20px; top: 66px; display: grid; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 12px 24px rgba(23,33,43,.08); }
  .site-header.menu-open .nav a { padding: 11px 12px; }
  .hero { padding: 56px 0 52px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { min-height: 0; max-width: 560px; }
  .feature-grid, .gallery, .notes { grid-template-columns: 1fr; }
  .gallery figure:first-child { transform: none; }
  .download-inner, .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .header-inner, .hero-inner, .section-inner, .footer-inner, .rail-inner { width: min(100% - 28px, var(--max)); }
  h1 { font-size: 38px; }
  .hero-copy > p { font-size: 15px; }
  .hero-media { grid-template-columns: 1fr 1fr; gap: 10px; }
  .screen-main { transform: translateY(10px); }
  .screen-side { transform: translateY(-10px); }
  .rail-inner { grid-template-columns: 1fr; }
  .rail-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .rail-item:last-child { border-bottom: 0; }
  .section { padding: 62px 0; }
}
