/*
 * Propshaft serves every file in app/assets/stylesheets as-is (no Sprockets
 * manifest, no preprocessing). The layout links :app, which picks up this file.
 */

:root {
  color-scheme: light dark;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

body {
  margin: 0;
  background: light-dark(#fafaf8, #16181c);
  color: light-dark(#1f2328, #e6e8eb);
}

.page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.sample-label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: light-dark(#fff3cd, #4a3b0a);
  color: light-dark(#6b4f00, #ffe08a);
}

.card {
  border: 1px solid light-dark(#e2e4e8, #2c3038);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  background: light-dark(#ffffff, #1e2127);
}

.card h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

button {
  font: inherit;
  padding: 0.4rem 0.9rem;
  border-radius: 0.5rem;
  border: 1px solid light-dark(#c9ccd1, #3a3f48);
  background: light-dark(#f3f4f6, #2a2e36);
  color: inherit;
  cursor: pointer;
  margin-right: 0.75rem;
}

code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 0.3em;
  background: light-dark(#eef0f3, #2a2e36);
}
