/* EasiMarket 即将上线页。颜色和字体沿用原型：暖白纸色底、宋体标题、细线。 */
:root {
  --bg: #F4F1EB;
  --ink: #1B1A17;
  --ink2: #48453F;
  --muted: #6B665D;
  --line: #DCD6CB;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141412; --ink: #ECE8E1; --ink2: #BEB8AD; --muted: #9A958B; --line: #36332E;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141412; --ink: #ECE8E1; --ink2: #BEB8AD; --muted: #9A958B; --line: #36332E;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.top, .wrap, .foot {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}
.top { padding-top: 28px; }
.mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .01em;
  text-decoration: none;
}

.wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 56px;
  padding-bottom: 56px;
}
.kicker {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--muted);
}
h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 7.4vw, 52px);
  line-height: 1.3;
  letter-spacing: .01em;
  text-wrap: balance;
}
.lede {
  margin: 20px 0 0;
  max-width: 34em;
  color: var(--ink2);
  text-wrap: pretty;
}
.rule {
  height: 1px;
  margin: 40px 0 36px;
  background: var(--line);
}
.en-h {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 4.2vw, 26px);
  line-height: 1.4;
  text-wrap: balance;
}
.wrap > .en-h + .lede { margin-top: 12px; }
.link { text-underline-offset: 3px; }
.nw { white-space: nowrap; }

.foot {
  padding-top: 20px;
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
@media (min-width: 768px) {
  .foot { border-top: 0; }
}
