:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1d1d1f;
  background: #fbfbfd;
  line-height: 1.65;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #a43808; text-underline-offset: .2em; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(100% - 36px, 920px); margin-inline: auto; }
.site-header { border-bottom: 1px solid #e7e7eb; }
.site-header .wrap { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { color: inherit; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; }
.hero { padding-block: clamp(42px, 8vw, 84px) 36px; }
h1, h2, p, figure { margin: 0; }
h1 { max-width: 16em; font-size: clamp(32px, 6vw, 58px); line-height: 1.16; letter-spacing: -.035em; }
h2 { font-size: clamp(21px, 3vw, 26px); line-height: 1.3; }
.hero p { margin-top: 16px; max-width: 36em; color: #535358; }
.primary { display: inline-block; margin-top: 22px; padding: 10px 20px; border-radius: 99px; background: #a43808; color: #fff; font-weight: 650; text-decoration: none; }
.info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { border: 1px solid #e7e7eb; border-radius: 18px; background: #fff; padding: clamp(18px, 4vw, 30px); }
.card p { margin-top: 8px; color: #535358; }
.case { margin-block: 16px; display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); align-items: center; gap: 24px; }
.case img { width: 100%; border-radius: 12px; }
#book { scroll-margin-top: 18px; }
.qr-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; align-items: start; }
details { border: 1px solid #e7e7eb; border-radius: 12px; padding: 10px 14px; }
summary { min-height: 32px; color: #a43808; font-weight: 650; cursor: pointer; }
details img { width: min(100%, 236px); margin: 12px auto 4px; }
.related { margin-block: 22px 34px; }
footer { border-top: 1px solid #e7e7eb; padding: 18px 0 max(18px, env(safe-area-inset-bottom)); font-size: 13px; color: #535358; }
footer a { display: inline-block; color: inherit; margin-right: 10px; }
@media (max-width: 560px) {
  .info, .case, .qr-options { grid-template-columns: 1fr; }
  .case { gap: 14px; }
}
