* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #1f2937;
  background: #f7f7f5;
}

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
  border-bottom: 1px solid #dddddd;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px 48px 24px;
}

.site-title {
  margin: 0 0 14px 0;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  color: #374151;
}

.page-title {
  margin: 0 0 20px 0;
  font-size: 84px;
  font-weight: 700;
  line-height: 1.02;
  color: #111827;
}

h1 {
  margin: 0;
}

.lead {
  max-width: 900px;
  margin: 0 0 16px 0;
  font-size: 24px;
  line-height: 1.5;
  color: #1f2937;
}

.sublead {
  max-width: 920px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #4b5563;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px 56px 24px;
}

/* Fade / slide message feature */
.message-rotator {
  position: relative;
  height: 180px;
  margin-bottom: 30px;
  border: 1px solid #d1d5db;
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
}

.message-card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 28px 32px;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 700;
  color: #111827;
  opacity: 0;
  transform: translateY(16px);
  animation: fade-rotate 60s infinite;
}

.message-card:nth-child(2) {
  animation-delay: 12s;
}

.message-card:nth-child(3) {
  animation-delay: 24s;
}

.message-card:nth-child(4) {
  animation-delay: 36s;
}

.message-card:nth-child(5) {
  animation-delay: 48s;
}

@keyframes fade-rotate {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  1% {
    opacity: 1;
    transform: translateY(0);
  }
  18% {
    opacity: 1;
    transform: translateY(0);
  }
  19% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.nav-block {
  margin-top: 42px;
  padding: 28px;
  border: 1px solid #d1d5db;
  border-radius: 18px;
  background: #ffffff;
}

.nav-block h2 {
  margin: 0 0 18px 0;
  font-size: 28px;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-card {
  display: inline-block;
  padding: 16px 20px;
  border-radius: 12px;
  background: #f3f4f6;
  color: #111827;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.15s ease;
}

.nav-card:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}

.content-card {
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid #d1d5db;
  border-radius: 18px;
  background: #ffffff;
}

.content-card h2 {
  margin: 0 0 12px 0;
  font-size: 30px;
  color: #111827;
}

.section-intro {
  margin: 0 0 18px 0;
  font-size: 18px;
  line-height: 1.6;
  color: #4b5563;
}

.resource-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.resource-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #f3f4f6;
  color: #111827;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.resource-item:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}

.resource-title {
  font-size: 18px;
  font-weight: 700;
}

.resource-note {
  font-size: 15px;
  color: #6b7280;
}