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

body { background-color: #fff; color: #111827; }
.brand-text { color: #166534; }
.brand-text-hover:hover { color: #166534; }
.brand-bg { background-color: #166534; color: #fff; }
.brand-bg:hover:not(:disabled) { background-color: #14532d; }
.brand-bg:focus { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #166534; }
.brand-focus:focus { outline: none; border-color: #166534; box-shadow: 0 0 0 1px #166534; }
.peer:checked ~ .brand-selected { background-color: #166534; color: #fff; }

.home-header { background: transparent; box-shadow: none; }
.home-header a,
.home-header button { color: #fff; }
.home-header a:hover,
.home-header button:hover { color: #fff; }

.home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  margin-top: -4rem;
  overflow: hidden;
}
.home-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.28) 45%, rgba(0, 0, 0, 0.5));
}
.home-hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 6rem 1.25rem 2rem;
  text-align: center;
}
.home-hero h1 {
  color: #fff;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.home-hero p {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.125rem;
}
.home-search {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 1.75rem;
  padding: 0.4rem 0.4rem 0.4rem 1.15rem;
  background: #fff;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}
.home-search-field {
  position: relative;
  flex: 1;
  min-width: 0;
}
.home-search-field::before {
  content: "ZIP code";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  color: #9ca3af;
  font-size: 1rem;
  line-height: 1.5rem;
  pointer-events: none;
}
.home-search-field:has(input:not(:placeholder-shown))::before {
  visibility: hidden;
}
.home-search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #111827;
  cursor: text;
}
.home-search input:focus { outline: none; box-shadow: none; }
.home-search input::-webkit-contacts-auto-fill-button,
.home-search input::-webkit-credentials-auto-fill-button {
  visibility: hidden;
  display: none !important;
  pointer-events: none;
}
.home-search [data-lastpass-icon-root],
.home-search [data-lastpass-root] {
  display: none !important;
}
.home-search button {
  border: 0;
  border-radius: 9999px;
  padding: 0.75rem 1.25rem;
  white-space: nowrap;
}
.home-hero-footer {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1rem 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
}
.home-hero-footer a { color: #fff; text-decoration: underline; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 768px) {
  .home-hero h1 { font-size: 4rem; }
  .home-hero-inner { max-width: 46rem; }
}
