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

body {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  color: #333;
  background: #fef9ef;
  padding: 20px;
}

article {
  max-width: 1200px;
  margin: 0 auto;
}

.main-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 20px;
}

h1 {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: #9d8189;
  line-height: 1.2;
}

h2 {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #9d8189;
  line-height: 1.3;
}

h3 {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #9d8189;
  line-height: 1.3;
}

.widget-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.widget {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(157, 129, 137, 0.15);
}

.widget-intro {
  background: linear-gradient(135deg, #f4acb7 0%, #d8e2dc 100%);
  box-shadow: inset 0 3px 12px rgba(157, 129, 137, 0.2);
}

.widget-intro .widget-content p {
  color: #5a4a4e;
}

.widget-header {
  padding: 20px 25px;
  background: #f4acb7;
  border-bottom: 1px solid rgba(157, 129, 137, 0.2);
}

.widget-header h2,
.widget-header h3 {
  margin: 0;
  color: #5a4a4e;
}

.widget-content {
  padding: 25px;
}

.widget-content p {
  margin-bottom: 16px;
}

.widget-content p:last-child {
  margin-bottom: 0;
}

a {
  color: #9d8189;
  text-decoration: none;
  font-weight: 400;
  border-bottom: 1px solid #f4acb7;
  transition: all 0.2s ease;
}

a:hover {
  color: #f4acb7;
  border-bottom-color: #9d8189;
}

.article-footer {
  margin-top: 40px;
}

.widget-footer {
  background: #d8e2dc;
  box-shadow: inset 0 2px 8px rgba(157, 129, 137, 0.1);
}

.widget-footer .widget-header {
  background: transparent;
  border-bottom: 1px solid rgba(157, 129, 137, 0.15);
}

.widget-footer .widget-content {
  font-style: italic;
}

.widget-footer .widget-content p {
  color: #5a4a4e;
}

@media (min-width: 768px) {
  body {
    padding: 40px;
  }

  .main-header {
    padding: 60px 20px;
    margin-bottom: 60px;
  }

  h1 {
    font-size: 3rem;
  }

  .widget-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .widget-intro {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }
}
