* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #283618;
  background-color: #fefae0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(96, 108, 56, 0.03) 10px,
    rgba(96, 108, 56, 0.03) 20px
  );
}

article {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.article-header {
  margin-bottom: 60px;
  padding: 40px;
  background: #606c38;
  border-left: 8px solid #dda15e;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.2s forwards;
}

.article-header h1 {
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 2.5rem;
  line-height: 1.2;
  color: #fefae0;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

section {
  margin-bottom: 50px;
  opacity: 0;
}

section.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

section:nth-child(2) { animation-delay: 0.4s; }
section:nth-child(3) { animation-delay: 0.6s; }
section:nth-child(4) { animation-delay: 0.8s; }
section:nth-child(5) { animation-delay: 1s; }
section:nth-child(6) { animation-delay: 1.2s; }
section:nth-child(7) { animation-delay: 1.4s; }
section:nth-child(8) { animation-delay: 1.6s; }

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: #606c38;
  text-transform: uppercase;
  letter-spacing: -0.3px;
  position: relative;
  padding-bottom: 12px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: #dda15e;
  background-image: repeating-linear-gradient(
    90deg,
    #dda15e,
    #dda15e 5px,
    transparent 5px,
    transparent 10px
  );
}

p {
  margin-bottom: 20px;
}

a {
  color: #606c38;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  transition: all 0.3s ease;
}

a:hover {
  color: #dda15e;
  text-decoration-color: #dda15e;
}

.article-footer {
  margin-top: 80px;
  padding-top: 30px;
  border-top: 3px dashed #606c38;
  text-align: center;
  color: #606c38;
  font-size: 14px;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 1.8s forwards;
}

@media (max-width: 768px) {
  article {
    padding: 40px 16px;
  }

  .article-header {
    padding: 24px;
    margin-bottom: 40px;
  }

  .article-header h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  section {
    margin-bottom: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  section.fade-in,
  .article-header,
  .article-footer {
    opacity: 1;
    animation: none;
  }
}
