/*
 * 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;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  line-height: 1.5;
  color: #1a1a1a;
  background: #fff;
}

a {
  color: #1e3a8a;
}

a:focus,
.skip-link:focus {
  outline: 3px solid #1e3a8a;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3.5rem;
  z-index: 10;
  padding: 0.5rem 0.75rem;
  background: #1e3a8a;
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.5rem;
}

header,
main,
footer {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}
