/* 墨禅品牌 token 子集（数字名片终版） */
:root {
  --bg-app: #f5f0e8;
  --bg-canvas: #e8e4dc;
  --bg-card: #fff;
  --surface-muted: #f3efe8;
  --text-primary: #1a1a1a;
  --text-secondary: #6b6560;
  --text-muted: #9a948c;
  --border: #e8e2d8;
  --brand-fire: #e85d04;
  --brand-fire-press: #c94e03;
  --brand-fire-muted: rgba(232, 93, 4, 0.12);
  --brand-earth: #c9a227;
  --brand-earth-bg: rgba(201, 162, 39, 0.12);
  --brand-earth-border: rgba(201, 162, 39, 0.4);
  --brand-earth-text: #8b6914;
  --ink-deep: #1a1f28;
  --radius-card: 26px;
  --radius-btn: 14px;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.06);
  --gradient-hero: linear-gradient(165deg, #f5f0e8 0%, #ede8dc 45%, #e8e4dc 100%);
  --gradient-cta: linear-gradient(90deg, #f0924a, var(--brand-fire));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-canvas);
}

a {
  color: var(--brand-fire);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn--primary {
  background: var(--gradient-cta);
  color: #fff;
}

.btn--ghost {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.toast {
  position: fixed;
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 300;
  padding: 0.75rem 1.25rem;
  background: var(--ink-deep);
  color: #fff;
  border-radius: var(--radius-btn);
  font-size: 14px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
  pointer-events: none;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
}
