:root {
  color-scheme: light;
  --site-fab-size: 48px;
  --site-fab-gap: 12px;
  --site-fab-bottom: 20px;
  --bg: #f6f8fa;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --border: #d0d7de;
  --text: #1f2328;
  --muted: #656d76;
  --muted-light: #57606a;
  --hire-bg: #fafafa;
  --hire-surface: #ffffff;
  --hire-surface-2: #f3f4f6;
  --hire-border: #e5e7eb;
  --hire-text: #111827;
  --hire-muted: #6b7280;
  --hire-accent-soft: rgba(242, 122, 26, 0.1);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1117;
  --bg-elevated: #161b22;
  --bg-card: #1c2128;
  --border: #30363d;
  --text: #f0f6fc;
  --muted: #8b949e;
  --muted-light: #8b949e;
  --hire-bg: #0c0c0c;
  --hire-surface: #141414;
  --hire-surface-2: #1c1c1c;
  --hire-border: #2a2a2a;
  --hire-text: #f5f5f5;
  --hire-muted: #a3a3a3;
  --hire-accent-soft: rgba(242, 122, 26, 0.12);
}

.site-header.is-scrolled,
.site-header.nav-open {
  background: color-mix(in srgb, var(--bg) 92%, transparent) !important;
}

.hero-glow {
  opacity: 0.35;
}

.mock-terminal,
.mock-crm {
  box-shadow: 0 16px 48px rgba(31, 35, 40, 0.12);
}

.site-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border, #d0d7de);
  border-radius: 10px;
  background: var(--bg-elevated, #ffffff);
  color: var(--text, #1f2328);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.site-theme-toggle:hover {
  border-color: var(--accent, #1f6feb);
}

.site-theme-toggle__icon {
  font-size: 1.05rem;
  line-height: 1;
}

.site-theme-toggle--fab {
  position: fixed;
  right: 1.25rem;
  bottom: calc(var(--site-fab-bottom) + var(--site-fab-size) + var(--site-fab-gap));
  z-index: 120;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hire-header__tools .site-theme-toggle {
  border-color: var(--hire-border);
  background: var(--hire-surface);
  color: var(--hire-text);
}

.hire-header__tools .site-theme-toggle:hover {
  border-color: var(--hire-orange, #f27a1a);
}
