html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background: #f6f7f4;
  color: #222;
}

.navbar,
.footer {
  background: #fff;
}

.btn,
.form-control,
.form-select,
.alert,
.metric-card,
.form-panel,
.auth-panel {
  border-radius: 8px;
}

.btn-primary {
  background: #216b4f;
  border-color: #216b4f;
}

.btn-primary:hover {
  background: #184e3a;
  border-color: #184e3a;
}

.app-hero {
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 56px;
  color: #fff;
  background: linear-gradient(115deg, rgba(19, 71, 52, 0.92), rgba(56, 68, 41, 0.78)), url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1600&q=80") center/cover;
  border-radius: 8px;
}

.app-hero h1,
.page-heading h1 {
  font-weight: 700;
}

.app-hero p {
  max-width: 720px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.8rem;
  color: #6b7b2d;
  font-weight: 700;
}

.app-hero .eyebrow {
  color: #dce9a7;
}

.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

.metric-card,
.form-panel,
.auth-panel {
  background: #fff;
  border: 1px solid #dfe3da;
  padding: 22px;
}

.metric-card {
  width: 100%;
  height: 100%;
  min-height: 136px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 16px 32px rgba(33, 44, 37, 0.14);
}

.metric-card span {
  display: block;
  color: #6b6f68;
  margin-bottom: 8px;
}

.metric-card strong {
  display: block;
  font-size: 1.2rem;
  max-width: 100%;
  text-align: center;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.action-grid a {
  display: block;
  padding: 18px;
  background: #fff;
  color: #216b4f;
  text-decoration: none;
  border: 1px solid #dfe3da;
  border-radius: 8px;
}

.auth-panel {
  max-width: 460px;
  margin: 40px auto;
}

.payment-check {
  padding-top: 38px;
  padding-left: 40px;
}

@media (max-width: 640px) {
  .app-hero {
    min-height: 280px;
    padding: 28px;
  }

  .page-heading {
    display: block;
  }
}
