/* 全站基础：字体、颜色变量、页面默认样式 */
@font-face {
  font-family: Neue;
  src: url("../../assets/fonts/neue.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Cenzo;
  src: url("../../assets/fonts/cenzo.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
:root {
  --cream: #f3eedf;
  --ink: #273830;
  --green: #54b27d;
  --pink: #df8eae;
  --yellow: #f6ca67;
  --blue: #638fc0;
  --coral: #d77c6c;
  --hero-bg: #54b27d;
  --hero-fg: #e58eaa;
  --hero-path: #f6ca67;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Neue, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  overflow-x: hidden;
}
button,
a {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
video {
  display: block;
  max-width: 100%;
}
::selection {
  background: var(--yellow);
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}
section {
  scroll-margin-top: 86px;
}
.app-shell {
  overflow: hidden;
}
.paper-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  background: url("../../assets/textures/paper.webp") center/cover;
  mix-blend-mode: multiply;
  opacity: 0.13;
}
