/* NoahPhenseServ — shared design tokens.
   Single source of truth for the color palette. Edit a value here and every
   page that links this file re-themes at once. Component/layout CSS still
   lives inline per page; only the :root tokens are centralized.
   Linked as: <link rel="stylesheet" href="/assets/app.css"> (before inline <style>). */
:root {
  --bg: #090b10;
  --panel: #151922;
  --panel-hover: #1d2430;
  --border: #2c3443;
  --text: #f5f7fa;
  --muted: #9ca6b5;
  --accent: #5da9ff;
  --glow: rgba(93,169,255,0.22);
  --success: #7ee787;
  --warning: #ffd166;
  --danger: #fc8181;
  --purple: #c4a8ff;
}

/* Logo is a link to home on every page — keep it looking like the text mark. */
.logo { text-decoration: none; }

/* ── Micro-polish: entrance animation, loading skeletons, greeting ── */
@keyframes nps-fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.info-panel, .card, .proj-card, .stat-card, .panel { animation: nps-fade-up 0.45s ease both; }

@keyframes nps-shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.09) 37%, rgba(255,255,255,0.04) 63%);
  background-size: 800px 100%;
  animation: nps-shimmer 1.4s linear infinite;
  border-radius: 8px;
  color: transparent !important;
}

.greeting { color: var(--accent); font-weight: 700; font-size: 0.95rem; margin: 0 0 6px; letter-spacing: 0.3px; }

@media (prefers-reduced-motion: reduce) {
  .info-panel, .card, .proj-card, .stat-card, .panel { animation: none; }
  .skeleton { animation: none; }
}

/* ── Mobile safety net (site-wide) ── */
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
img, svg, video, iframe, table { max-width: 100%; }
