:root {
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --border-color: #cbd5e1;
  --border-card: #94a3b8;
  --text-main: #0f172a;
  --text-muted: #1e293b;
  --text-dim: #64748b;
  --accent: #0284c7;
  --accent-glow: rgba(2, 132, 199, 0.14);
  --card-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  --card-shadow-hover: 0 10px 28px rgba(2, 132, 199, 0.16);
  --canvas-dot: rgba(148, 163, 184, 0.35);
  --canvas-line: rgba(203, 213, 225, 0.3);
}

body.dark-mode {
  --bg-page: #080c14;
  --bg-card: #0f1523;
  --bg-subtle: #182032;
  --border-color: #1e293b;
  --border-card: #334155;
  --text-main: #f8fafc;
  --text-muted: #e2e8f0;
  --text-dim: #94a3b8;
  --accent: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.18);
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --card-shadow-hover: 0 12px 32px rgba(56, 189, 248, 0.2);
  --canvas-dot: rgba(56, 189, 248, 0.25);
  --canvas-line: rgba(30, 41, 59, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  line-height: 1.5;
  padding: 36px 32px;
  position: relative;
  min-height: 100vh;
  transition: background-color 0.25s ease, color 0.25s ease;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-top: 4px;
}
