/* HRIStudio Design System */ :root { /* Light mode colors */ --background: 200 30% 97%; --foreground: 200 50% 20%; --card: 0 0% 100%; --card-foreground: 200 50% 20%; --popover: 0 0% 100%; --popover-foreground: 200 50% 20%; --primary: 200 85% 45%; --primary-foreground: 0 0% 100%; --secondary: 200 30% 96%; --secondary-foreground: 200 50% 20%; --muted: 200 30% 96%; --muted-foreground: 200 30% 40%; --accent: 200 85% 45%; --accent-foreground: 0 0% 100%; --border: 200 30% 90%; --radius: 0.5rem; } [data-theme="dark"] { --background: 200 30% 8%; --foreground: 200 20% 96%; --card: 200 25% 15%; --card-foreground: 200 15% 85%; --popover: 200 50% 8%; --popover-foreground: 200 20% 96%; --primary: 200 70% 40%; --primary-foreground: 0 0% 100%; --secondary: 200 30% 20%; --secondary-foreground: 200 20% 96%; --muted: 200 30% 20%; --muted-foreground: 200 30% 65%; --accent: 200 70% 40%; --accent-foreground: 0 0% 100%; --border: 200 30% 20%; } /* Base styles */ * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: system-ui, -apple-system, sans-serif; line-height: 1.5; color: hsl(var(--foreground)); background: hsl(var(--background)); transition: background-color 0.3s ease; } /* Layout */ .container { max-width: 64rem; margin: 0 auto; padding: 1.5rem; } .grid { display: grid; gap: 1.5rem; } .grid-cols-2 { grid-template-columns: repeat(2, 1fr); } /* Components */ .card { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); transition: background-color 0.3s ease, border-color 0.3s ease; } .header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; } .header img { width: 4rem; height: 4rem; border-radius: var(--radius); object-fit: contain; background: hsl(var(--secondary)); padding: 0.5rem; transition: background-color 0.3s ease; } .banner { width: 100%; height: 12rem; border-radius: calc(var(--radius) + 0.25rem); object-fit: cover; margin-bottom: 1.5rem; border: 1px solid hsl(var(--border)); background: hsl(var(--secondary)); transition: background-color 0.3s ease, border-color 0.3s ease; } .title { font-size: 1.875rem; font-weight: 600; margin-bottom: 0.25rem; color: hsl(var(--foreground)); transition: color 0.3s ease; } .description { color: hsl(var(--muted-foreground)); margin-bottom: 1rem; transition: color 0.3s ease; } .badge { display: inline-flex; align-items: center; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500; background: hsl(var(--primary) / 0.1); color: hsl(var(--primary)); margin: 0.25rem; transition: background-color 0.3s ease, color 0.3s ease; } .stat { display: flex; align-items: center; gap: 0.5rem; color: hsl(var(--muted-foreground)); font-size: 0.875rem; transition: color 0.3s ease; } .tag { display: inline-flex; align-items: center; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.875rem; background: hsl(var(--secondary)); color: hsl(var(--secondary-foreground)); margin: 0.25rem; transition: background-color 0.3s ease, color 0.3s ease; } code { font-family: ui-monospace, monospace; background: hsl(var(--secondary)); padding: 0.25rem 0.5rem; border-radius: calc(var(--radius) - 0.25rem); font-size: 0.875rem; transition: background-color 0.3s ease; } h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; color: hsl(var(--foreground)); transition: color 0.3s ease; } h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; margin-top: 1rem; color: hsl(var(--foreground)); transition: color 0.3s ease; } .content { display: grid; gap: 0.75rem; color: hsl(var(--foreground)); transition: color 0.3s ease; } .content a { color: hsl(var(--primary)); text-decoration: none; transition: color 0.3s ease; } .content a:hover { text-decoration: underline; } /* Theme Toggle */ .theme-toggle { position: fixed; top: 1rem; right: 1rem; padding: 0.5rem; border-radius: var(--radius); background: hsl(var(--card)); border: 1px solid hsl(var(--border)); color: hsl(var(--foreground)); cursor: pointer; transition: all 0.3s ease; } .theme-toggle:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); } /* Loading state */ #loading { text-align: center; padding: 3rem; color: hsl(var(--muted-foreground)); transition: color 0.3s ease; } .hidden { display: none; } /* Responsive */ @media (max-width: 768px) { .grid-cols-2 { grid-template-columns: 1fr; } .theme-toggle { top: auto; bottom: 1rem; } }