@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --bg-paper: hsl(40, 20%, 98%);
  --color-ink: hsl(25, 3%, 15%);
  --color-ink-muted: hsl(30, 5%, 45%);
  --color-accent: hsl(220, 60%, 35%);
  --color-rule: hsl(30, 10%, 90%);
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html, body {
  background: var(--bg-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* 纸感分隔线 */
.rule {
  border-top: 1px solid var(--color-rule);
}

.rule-thin {
  border-top: 2px solid var(--color-rule);
}

/* 左侧竖线标记（节点展开样式）*/
.mark-left {
  border-left: 2px solid var(--color-rule);
  padding-left: 12px;
}
