/* CheckGoogle v1.0 — Google Logo 4-Color Dual-Mode Theme Tokens */
:root {
  --bg-canvas: #0E1015;
  --bg-surface: #161922;
  --bg-elevated: #1E222E;
  --bg-hover: #252A38;
  --border-subtle: #2A2F3D;
  --border-strong: #3C4254;

  --text-primary: #E8EAED;
  --text-secondary: #9AA0A6;
  --text-muted: #6E7480;

  /* Google Logo Primary Colors */
  --g-blue: #4285F4;
  --g-red: #EA4335;
  --g-yellow: #FBBC05;
  --g-green: #34A853;

  /* Dark Mode Accessible Semantic Pairs */
  --accent-fill: #4285F4;
  --accent-fill-hover: #5A95F5;
  --accent-text: #8AB4F8;
  --accent-bg: rgba(66, 133, 244, 0.14);
  --accent-border: rgba(66, 133, 244, 0.35);

  --ok-text: #81C995;
  --ok-bg: rgba(52, 168, 83, 0.14);
  --ok-border: rgba(52, 168, 83, 0.35);

  --warn-text: #FDD663;
  --warn-bg: rgba(251, 188, 5, 0.14);
  --warn-border: rgba(251, 188, 5, 0.35);

  --risk-text: #F28B82;
  --risk-bg: rgba(234, 67, 53, 0.14);
  --risk-border: rgba(234, 67, 53, 0.38);

  --shadow-modal: 0 24px 64px rgba(0, 0, 0, 0.65);
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

[data-theme="light"] {
  --bg-canvas: #F8F9FA;
  --bg-surface: #FFFFFF;
  --bg-elevated: #F1F3F4;
  --bg-hover: #E8EAED;
  --border-subtle: #DADCE0;
  --border-strong: #BDC1C6;

  --text-primary: #202124;
  --text-secondary: #5F6368;
  --text-muted: #80868B;

  --g-blue: #1A73E8;
  --accent-fill: #1A73E8;
  --accent-fill-hover: #1557B0;
  --accent-text: #1A73E8;
  --accent-bg: #E8F0FE;
  --accent-border: #AECBFA;

  --ok-text: #137333;
  --ok-bg: #E6F4EA;
  --ok-border: #A8DAB5;

  --warn-text: #B06000;
  --warn-bg: #FEF7E0;
  --warn-border: #FDE293;

  --risk-text: #C5221F;
  --risk-bg: #FCE8E6;
  --risk-border: #F6AEA9;

  --shadow-modal: 0 20px 50px rgba(32, 33, 36, 0.22);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: var(--accent-text);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

button {
  font-family: inherit;
  cursor: pointer;
}

code, pre, .mono {
  font-family: var(--font-mono);
}
