#home-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.22), transparent 30%),
    linear-gradient(180deg, #eef4ff 0%, #f8fbff 38%, #ffffff 100%);
  color: #0f172a;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  transform: translateY(-200%);
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 999px;
  background: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

#home-page .home-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 72px;
}

#home-page .hero-block {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

#home-page .hero-panel {
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #60a5fa 100%);
  color: #fff;
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.22);
}

#home-page .hero-badge,
#home-page .section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

#home-page .hero-badge {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

#home-page .hero-title {
  margin: 18px 0 16px;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.04em;
}

#home-page .hero-text {
  max-width: 42rem;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

#home-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

#home-page .hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#home-page .hero-btn-primary {
  background: #ffffff;
  color: #1d4ed8;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

#home-page .hero-btn-primary:hover {
  transform: translateY(-2px);
}

#home-page .hero-btn-secondary {
  background: rgba(15, 23, 42, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

#home-page .hero-btn-secondary:hover {
  background: rgba(15, 23, 42, 0.22);
  transform: translateY(-2px);
}

#home-page .profile-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid #dbe7f5;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

#home-page .profile-frame {
  width: min(220px, 52vw);
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  padding: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #bfdbfe, #dbeafe, #ffffff);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.16);
}

#home-page .profile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

#home-page .profile-kicker {
  display: block;
  margin-bottom: 8px;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
  color: #2563eb;
}

#home-page .profile-name {
  margin: 0 0 10px;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
}

#home-page .profile-text {
  margin: 0;
  text-align: center;
  line-height: 1.8;
  color: #475569;
}

#home-page .section-block {
  margin-top: 28px;
}

#home-page .section-head {
  margin-bottom: 16px;
}

#home-page .section-badge {
  background: #dbeafe;
  color: #1d4ed8;
}

#home-page .section-title {
  margin: 14px 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

#home-page .section-copy {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

#home-page .card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

#home-page .card-grid-secondary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#home-page .nav-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 188px;
  padding: 24px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid #dbe7f5;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#home-page .nav-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
}

#home-page .nav-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1d4ed8;
  font-size: 1.2rem;
}

#home-page .nav-icon.subtle {
  background: #eef2ff;
  color: #4338ca;
}

#home-page .nav-title {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
}

#home-page .nav-text {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

#home-page a:focus-visible {
  outline: 2px solid #1d4ed8;
  outline-offset: 3px;
}

@media (max-width: 991px) {
  #home-page .hero-block {
    grid-template-columns: 1fr;
  }

  #home-page .hero-actions {
    flex-direction: column;
  }

  #home-page .hero-btn {
    width: 100%;
  }

  #home-page .card-grid,
  #home-page .card-grid-secondary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  #home-page .home-shell {
    width: min(calc(100% - 16px), 1120px);
    padding-top: 20px;
    padding-bottom: 56px;
  }

  #home-page .hero-panel,
  #home-page .profile-panel,
  #home-page .nav-card {
    border-radius: 24px;
  }

  #home-page .hero-panel,
  #home-page .profile-panel {
    padding: 22px;
  }

  #home-page .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  #home-page .hero-btn {
    width: 100%;
  }

  #home-page .profile-frame {
    width: min(180px, 48vw);
  }
}

@media (min-width: 768px) {
  #home-page .hero-block {
    grid-template-columns: 1.45fr 0.95fr;
  }

  #home-page .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #home-page .card-grid-secondary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
