/* ==========================================================================
   E-Welcome Card · Design Tokens
   Quiet Luxury & Editorial —— 克制、优雅、无干扰
   命名与刻度对齐 Tailwind 语义（rounded-lg / shadow），此处以 CSS 变量实现，
   避免引入构建链，保证部署零依赖。
   ========================================================================== */
:root {
  /* —— Canvas Neutral：温润米白与纸质浅灰 —— */
  --canvas-0: #FAF9F6;   /* 暖白主背景 */
  --canvas-1: #F4F1EA;   /* 羊皮纸灰 */
  --canvas-2: #EFEBE2;   /* 分隔/凹陷 */
  --paper: #FFFFFF;

  /* —— Accent / Metallic —— */
  --gold: #C5A880;        /* 香槟金 */
  --gold-deep: #A98C60;
  --gold-matte: #D4AF37;  /* 哑光香槟 */
  --midnight: #1C2833;    /* 深邃午夜蓝 */
  --midnight-soft: #24313D;

  /* —— Typography —— */
  --ink: #1F2421;         /* 深石墨炭黑 */
  --ink-2: #5D6D7E;       /* 中炭灰 */
  --ink-3: #85929E;       /* 浅灰提示 */
  --ink-inv: #FDFEFE;

  /* —— Lines & Elevation —— */
  --line: rgba(31, 36, 33, 0.08);
  --line-strong: rgba(31, 36, 33, 0.14);
  --line-gold: rgba(197, 168, 128, 0.45);
  --radius-lg: 12px;
  --radius: 10px;
  --radius-sm: 8px;
  --shadow-float: 0 10px 30px -10px rgba(0, 0, 0, 0.06);
  --shadow-soft: 0 1px 2px rgba(31, 36, 33, 0.04), 0 12px 32px -18px rgba(31, 36, 33, 0.18);
  --shadow-inset: inset 0 0 0 1px rgba(255, 255, 255, 0.5);

  /* —— Motion —— */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 220ms;

  /* —— Type stacks —— */
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, "SimSun", Georgia, serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--canvas-0);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: 0.01em; margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(197, 168, 128, 0.28); }

/* 细腻纸质纹理，避免大面积纯色带来的机械感 */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(31, 36, 33, 0.02) 1px, transparent 0);
  background-size: 3px 3px;
  opacity: 0.6;
}
#app { position: relative; z-index: 1; min-height: 100%; }
