/* ==========================================================
   GeoSeo Portal · Design Tokens
   统一设计令牌：颜色 / 渐变 / 表面 / 文字 / 字体 / 间距 / 圆角 / 阴影 / 动效 / 布局
   浅色主题：以中性浅灰为底，白色卡片 + 细边框，品牌色加深以保证白底可读
   ========================================================== */
:root {
  color-scheme: light;

  /* Brand palette（白底可读的加深版） */
  --c-cyan: #0e7490;
  --c-blue: #2563eb;
  --c-indigo: #4f46e5;
  --c-violet: #7c3aed;
  --c-fuchsia: #c026d3;
  --c-mint: #059669;
  --c-amber: #d97706;
  --c-rose: #e11d48;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #0e7490 0%, #2563eb 48%, #7c3aed 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(14, 116, 144, .14), rgba(124, 58, 237, .14));
  --grad-warm: linear-gradient(135deg, #d97706, #e11d48);
  --grad-mint: linear-gradient(135deg, #059669, #0e7490);

  /* Surfaces */
  --bg-0: #f5f7fb;
  --bg-1: #eef3fa;
  --bg-2: #e6ebf4;
  --surface: #ffffff;
  --surface-2: rgba(15, 23, 42, .05);
  --surface-3: rgba(15, 23, 42, .09);
  --border: rgba(15, 23, 42, .10);
  --border-strong: rgba(15, 23, 42, .18);
  --glass: rgba(255, 255, 255, .72);
  --glass-strong: rgba(255, 255, 255, .92);

  /* Text */
  --text-1: #0f172a;
  --text-2: #475569;
  --text-3: #64748b;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.375rem;
  --fs-2xl: 1.875rem;
  --fs-3xl: 2.75rem;
  --fs-4xl: clamp(2.5rem, 6vw, 4.75rem);

  /* Spacing */
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-24: 6rem;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadows & glows */
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, .06);
  --shadow-md: 0 16px 40px rgba(15, 23, 42, .10);
  --shadow-lg: 0 30px 80px rgba(15, 23, 42, .14);
  --glow-cyan: 0 0 32px rgba(14, 116, 144, .22);
  --glow-violet: 0 0 32px rgba(124, 58, 237, .22);

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-1: .18s;
  --dur-2: .32s;
  --dur-3: .6s;
  --dur-4: .9s;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 72px;
  --section-y: clamp(72px, 10vw, 132px);
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-1: 0s; --dur-2: 0s; --dur-3: 0s; --dur-4: 0s; }
}
