/* Photographic village backdrop for the landing-page hero. */
.hero {
  background:
    linear-gradient(90deg, rgba(246, 251, 255, .94) 0%, rgba(242, 249, 255, .87) 43%, rgba(237, 248, 255, .48) 68%, rgba(240, 250, 255, .18) 100%),
    url('village-hero.png') center 58% / cover no-repeat;
  border-bottom: 2px solid #7d9c2e;
}

.landscape { display: none; }

.brand-icon {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
}

.mini-seal {
  object-fit: cover;
  border-radius: 50%;
}

.feature-grid i.feature-icon {
  display: grid;
  place-items: center;
  height: 42px;
}

.feature-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand img { width: 31px; height: 31px; object-fit: cover; border-radius: 50%; }
.footer-brand small { font-weight: 500; }

.site-header nav a { font-size: 14px; }

.official-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 8px;
  background: #0754c8;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(7, 84, 200, .2);
}

.official-login:hover { background: #03469f; }

.contact-heading { text-align: center; margin: 18px auto 8px; }
.contact-heading h2 { margin: 0; font-size: 22px; }
.contact-heading .underline { margin-bottom: 0; }

.contact {
  min-height: 78px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.contact > div { font-size: 29px; }
.contact p { font-size: 10px; line-height: 1.45; }

.announcement {
  display: block;
  width: 100%;
  margin-top: 18px;
  overflow: hidden;
  white-space: nowrap;
  border: 1px solid rgba(5, 85, 200, .35);
  border-radius: 7px;
  background: rgba(255, 255, 255, .8);
  color: #0754c8;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  line-height: 30px;
  box-shadow: 0 3px 10px rgba(35, 92, 152, .13);
}

.announcement span {
  display: inline-block;
  min-width: 100%;
  padding-left: 100%;
  animation: announcement-slide 12s linear infinite;
}

.announcement:hover span { animation-play-state: paused; }

@keyframes announcement-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .site-header { padding-left: 18px; padding-right: 18px; }
  .site-header nav { gap: 12px; }
  .official-login { padding: 0 10px; font-size: 11px; }
}

/* Keep the app screenshots inside the hero at tablet widths. */
@media (min-width: 701px) and (max-width: 1000px) {
  .phones { right: 20%; }
}

@media (max-width: 700px) {
  .contact-heading { margin-top: 15px; }
  .contact-heading h2 { font-size: 20px; }
  .contact > div { font-size: 24px; }
  .contact p { font-size: 8px; }
  .announcement { margin-top: 13px; font-size: 11px; }
  .hero {
    background-position: 60% center;
    background-image:
      linear-gradient(180deg, rgba(246, 251, 255, .93) 0%, rgba(242, 249, 255, .83) 52%, rgba(237, 248, 255, .36) 100%),
      url('village-hero.png');
  }
}
