/*
 * Shared design tokens for AINav site.
 *
 * Loaded by ainav / report / login / interview / forecast / summary 等頁面。
 * 各頁仍可在自己的 <style> 內 override variable 或定義 component-level CSS。
 *
 * 變數總和取自原本散落於四份 HTML 的 :root 宣告（colors / typography /
 * spacing / shadows / gradient / glass）。任何想新增的設計 token 應加在這裡，
 * 不要再回到各頁 inline 宣告。
 */

:root {
  /* ── Surface ───────────────────────────────────────── */
  --bg: #f5f7fa;
  --card: #ffffff;
  --card2: #eef2f7;
  --surface: #f0f4f8;

  /* ── Text ──────────────────────────────────────────── */
  --text: #1a2332;
  --text2: #5a6a7a;
  --text3: #8a96a4;

  /* ── Brand ─────────────────────────────────────────── */
  --primary: #0f6b5e;
  --primary-light: #e8f4f1;
  --primary-dark: #0a4e45;
  --accent: #d4860a;
  --accent-light: #fef6e8;

  /* ── Semantic palette ──────────────────────────────── */
  --blue: #2563a8;
  --red: #c4382a;
  --green: #2a8a5a;
  --purple: #6a4ca8;
  --line-green: #06c755;

  /* ── Borders & elevation ───────────────────────────── */
  --border: rgba(15, 107, 94, 0.12);
  --shadow-card: 0 2px 12px rgba(26, 35, 50, 0.06);
  --shadow-hover: 0 4px 20px rgba(26, 35, 50, 0.10);

  /* ── Radius ────────────────────────────────────────── */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  /* ── Typography scale ──────────────────────────────── */
  --fs-hero: 2.5rem;
  --fs-h1: 2rem;
  --fs-h2: 1.5rem;
  --fs-h3: 1.25rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-caption: 0.75rem;

  /* ── Hero gradient + glass ─────────────────────────── */
  --gradient-hero: linear-gradient(135deg, #071f1b 0%, #0a4e45 25%, #0f6b5e 50%, #147a6a 75%, #1a8a7a 100%);
  --gradient-hero-size: 200% 200%;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-blur: 16px;
}

/* ── Universal reset ─────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
