/* ==========================================================================
   TOKENS — 设计令牌
   取色自南京市住宿业协会 LOGO：深海军蓝环 + 四色花瓣
   ========================================================================== */

:root {
  /* ---- 色彩：墨色系（LOGO 外环） ---- */
  --ink-950: #050d20;
  --ink-900: #0a1733;   /* 主墨色，LOGO 深蓝的可用化版本 */
  --ink-800: #10244c;
  --ink-700: #1a3568;
  --ink-600: #2a4a85;
  --ink-100: #e7ecf6;

  /* ---- 色彩：纸色系（暖象牙，反 AI 味的温润底） ---- */
  --paper-0:  #fdfbf6;
  --paper-1:  #f6f1e7;
  --paper-2:  #ece4d4;
  --paper-3:  #dcd1ba;

  /* ---- 色彩：强调（LOGO 橙花瓣） ---- */
  --amber-300: #f0c37a;
  --amber-400: #e3a94e;
  --amber-500: #cf8b2c;   /* 主强调色 */
  --amber-600: #a86c1c;

  /* ---- 色彩：四瓣辅色（仅用于标识与极少量点缀） ---- */
  --petal-orange: #efa83f;
  --petal-red:    #c2372c;
  --petal-blue:   #3f8fc9;
  --petal-green:  #5c9a4a;

  /* ---- 语义色 ---- */
  --color-bg: var(--paper-1);
  --color-surface: var(--paper-0);
  --color-surface-alt: var(--ink-950);
  --color-text: #16213a;
  --color-text-soft: #556075;
  --color-text-invert: #f4efe4;
  --color-muted: #666c79;   /* 4.68:1 on paper-1，满足小字号对比度 */
  --color-accent: var(--amber-500);
  --color-accent-soft: var(--amber-300);
  --color-border: rgba(16, 36, 76, 0.14);
  --color-border-strong: rgba(16, 36, 76, 0.28);
  --color-border-invert: rgba(244, 239, 228, 0.18);
  --color-success: #3f7d58;
  --color-error: #b4453a;

  /* ---- 字体 ---- */
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", sans-serif;
  --font-latin: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  /* ---- 字阶（模块化 1.25） ---- */
  --fs-2xs: 0.6875rem;  /* 11px 标签 */
  --fs-xs:  0.8125rem;  /* 13px */
  --fs-sm:  0.9375rem;  /* 15px */
  --fs-base: 1.0625rem; /* 17px */
  --fs-lg:  1.375rem;   /* 22px */
  --fs-xl:  1.875rem;   /* 30px */
  --fs-2xl: 2.625rem;   /* 42px */
  --fs-3xl: 4rem;       /* 64px */
  --fs-4xl: clamp(3.5rem, 8.5vw, 7.5rem); /* 英雄标题 */

  --lh-tight: 1.08;
  --lh-snug: 1.32;
  --lh-body: 1.78;
  --ls-display: -0.025em;
  --ls-body: 0.015em;
  --ls-label: 0.22em;

  /* ---- 间距 ---- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 132px;

  /* ---- 圆角（克制，机构气质） ---- */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-pill: 999px;

  /* ---- 阴影（带环境色，不用纯黑） ---- */
  --sh-1: 0 2px 10px rgba(10, 23, 51, 0.06);
  --sh-2: 0 10px 36px rgba(10, 23, 51, 0.10);
  --sh-3: 0 28px 70px rgba(10, 23, 51, 0.16);

  /* ---- 动效 ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur-base: 340ms;
  --dur-slow: 680ms;

  /* ---- 布局 ---- */
  --wrap: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --header-h: 88px;
  --topbar-h: 34px;
}
