.portal-home {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.5rem 0 2rem;
}

.portal-home-hero {
  text-align: center;
  padding: 1.5rem 0 1rem;
}

.portal-home-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 1rem;
}

.portal-home-headline {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #0f172a;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.portal-home-headline-accent {
  display: block;
  margin-top: 0.25rem;
}

.portal-home-subheadline {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 540px;
  margin: 0 auto 1.25rem;
}

.portal-home-greeting {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 1.5rem;
}

.portal-home-greeting strong {
  color: #0f172a;
  font-weight: 600;
}

.portal-home-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 1.5rem;
  background: #0f172a;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  text-decoration: none !important;
  transition: background 0.15s ease, transform 0.15s ease;
}

.portal-home-cta:hover,
.portal-home-cta:focus {
  background: #1e293b;
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

.portal-home-illustration {
  margin: 1.5rem auto 2.5rem;
  max-width: 640px;
  opacity: 0.9;
}

.portal-home-illustration svg {
  width: 100%;
  height: auto;
}

.portal-home-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 640px) {
  .portal-home-cards {
    grid-template-columns: 1fr;
  }
}

.portal-home-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none !important;
  color: inherit !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.portal-home-card:hover,
.portal-home-card:focus {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
  text-decoration: none !important;
  color: inherit !important;
}

.portal-home-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f1f5f9;
  color: var(--card-icon-color);
  font-size: 16px;
  margin-bottom: 0.85rem;
}

.portal-home-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.45rem;
}

.portal-home-card-description {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
  margin: 0 0 0.75rem;
  flex: 1;
}

.portal-home-card-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0284c7;
}

.portal-home-card:hover .portal-home-card-link {
  color: #0369a1;
}
