/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Prototype accent colour: Laravel 315, Rails 75, Nest+React 195 (same S/L). */
:root {
  --color-accent: hsl(75 67% 56%);
}

/* Navbar linking the three prototypes; the current one is highlighted. */
.prototype-nav {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.prototype-nav a {
  color: inherit;
  text-decoration: none;
}

.prototype-nav a:hover,
.prototype-nav a[aria-current="page"] {
  color: var(--color-accent);
}

.prototype-nav a[aria-current="page"] {
  font-weight: 600;
}

/*
 * Background, grid and font from modern_sleek_kanban_board.html (repo root).
 * Grid line colours are the reference's pattern colours pre-blended at its
 * overlay opacity (40% light, 20% dark).
 */
:root {
  --color-bg: #f8f7f4;
  --color-grid: #ebe8e2;
  --color-text: #171717;
  --color-text-muted: #525252;
  --color-border: #e4e4e7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0f1117;
    --color-grid: #13161e;
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-border: #27272a;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    linear-gradient(to right, var(--color-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--color-grid) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-font-smoothing: antialiased;
}

.front-page {
  padding: 3rem 1.5rem;
}

.front-page h1 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
}

.front-page p {
  margin: 0.5rem 0 0;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--color-text-muted);
}
