/*
 * 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.
 */

:root {
  color-scheme: light dark;
  --accent: #0070f3;
  --muted: #666;
  --code-bg: #fafafa;
  --code-border: #eaeaea;
}

@media (prefers-color-scheme: dark) {
  :root {
    --muted: #999;
    --code-bg: #111;
    --code-border: #333;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  margin: 0;
}

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}

h1 {
  font-size: 3rem;
  margin: 0;
}

.tagline {
  color: var(--muted);
  font-size: 1.25rem;
  margin-top: 0.5rem;
}

.value-display {
  font-size: 1.5rem;
  margin-top: 3rem;
}

code, pre {
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: 5px;
  font-family: Menlo, Monaco, "Courier New", monospace;
}

code {
  padding: 0.2rem 0.5rem;
  color: var(--accent);
}

.usage {
  margin-top: 3rem;
  color: var(--muted);
}

.usage pre {
  padding: 0.75rem 1rem;
  overflow-x: auto;
  max-width: 90vw;
}
