/* 设计令牌与基础排版 · 折纸数学世界
   概念：页面是放在桌面上的一张纸；装饰线沿用折纸展开图的画法（谷折=虚线，山折=点划线）。*/
:root {
  color-scheme: light;
  --desk: #e7e9e4;
  --paper: #f8f9f6;
  --paper-2: #fdfdfb;
  --paper-3: #eef0eb;
  --ink: #17202b;
  --ink-2: #404c5a;
  --ink-3: #596472;
  --line: rgba(23, 32, 43, 0.13);
  --line-2: rgba(23, 32, 43, 0.3);
  --accent: #d9472b;
  --accent-ink: #b23820;
  --accent-soft: rgba(217, 71, 43, 0.08);
  --r: 3px;
  --fold: 56px;
  --font: "Geist Variable", "Noto Sans SC Variable", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "Geist Mono Variable", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.5rem;
  --fs-xl: 2rem;
  --fs-2xl: clamp(2rem, 1.2rem + 3vw, 3.25rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 1px 0 rgba(23, 32, 43, 0.04), 0 18px 40px -26px rgba(23, 32, 43, 0.35);
  --dots: radial-gradient(circle, rgba(23, 32, 43, 0.16) 0.8px, transparent 1.2px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--desk);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: anywhere;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: 1.25;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection {
  background: rgba(217, 71, 43, 0.18);
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.num {
  font-variant-numeric: tabular-nums;
}
.eyebrow {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.icon {
  flex: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r);
}
.skip:focus {
  top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
