/* CUT/ · design tokens
 * 与 DESIGN.md v1.0 逐字对应。改这里必须同步改文档，反之亦然。
 */
:root{
  /* ---- color ---- */
  --bg:#0A0A0B;
  --surface:#111113;
  --float:#161618;
  --hair:rgba(255,255,255,.07);
  --hair-hi:rgba(255,255,255,.16);
  --lime:#D7FF3E;
  --lime-40:rgba(215,255,62,.4);
  --ivory:#F5F3EF;
  --ash:#8A8A8F;
  --dim:#5A5A60;
  --coral:#FF6B57;

  /* ---- type ---- */
  --font-ui:"Inter Tight","PingFang SC","Microsoft YaHei",sans-serif;
  --font-display:"Instrument Serif",Georgia,serif;
  --font-mono:"JetBrains Mono",monospace;

  --h1:76px;      --h1-lh:1.02;  --h1-ls:-.03em;
  --h1-serif:79px;--h1s-lh:1.0;  --h1s-ls:-.01em;
  --h2:44px;      --h2-lh:1.1;   --h2-ls:-.03em;
  --h3:24px;      --h3-lh:1.3;   --h3-ls:-.02em;
  --h4:18px;      --h4-lh:1.4;   --h4-ls:-.01em;
  --body:16px;    --body-lh:1.6;
  --body-sm:15px;
  --caption:13px;
  --mono:11px;    --mono-ls:.04em;

  /* ---- space (4 base) ---- */
  --gap:24px;
  --pad:64px;
  --sec:140px;
  --card-pad:28px;

  /* ---- radius ---- */
  --r-card:14px;
  --r-media:12px;
  --r-input:10px;
  --r-pill:999px;

  /* ---- motion ---- */
  --ease:cubic-bezier(.16,1,.3,1);
  --t-fast:160ms;
  --t-card:260ms;
  --t-reveal:600ms;
  --reveal-shift:12px;

  /* ---- z ---- */
  --z-grain:1;
  --z-nav:40;
  --z-modal:60;
}

@media (max-width:1024px){
  :root{ --pad:40px; --sec:96px; }
}
@media (max-width:640px){
  :root{ --pad:20px; --sec:88px; --h1:38px; --h1-serif:40px; --h2:30px; }
}
