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: 80px;
  background: #f7f9fc;
  color: #1f2937;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.hero {
  max-width: 860px;
  margin: 3rem auto 1rem;
  padding: 2.5rem 1.5rem;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #e8f1ff;
  color: #1d4ed8;
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-subtitle {
  max-width: 760px;
  margin: 1rem auto 0;
  font-size: 1.15rem;
  line-height: 1.75;
  color: #4b5563;
}

.hero-note {
  max-width: 720px;
  margin: 1rem auto 0;
  color: #6b7280;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

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

.info-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
}

.info-card h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.info-card p {
  margin-bottom: 0;
  color: #4b5563;
  line-height: 1.7;
}

.policy-page {
  max-width: 900px;
  margin: 2rem auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.policy-page h1 {
  margin-bottom: 0.5rem;
}

.policy-page h2 {
  margin-top: 2rem;
  font-size: 1.2rem;
}

.policy-page p,
.policy-page li {
  line-height: 1.75;
  color: #374151;
}

.policy-updated {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.login-shell {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.login-card {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

.login-heading h1 {
  margin-bottom: 0.5rem;
}

.login-heading p {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.nav-login-btn {
  min-width: 88px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

.footer-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-sep {
  color: #9ca3af;
}
