html {
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #222;
  background: #fafafa;
  line-height: 1.6;
}

header {
  background: white;
  border-bottom: 1px solid #e5e5e5;
  padding: 16px 24px;
}

header a {
  color: #222;
  font-weight: 700;
  text-decoration: none;
  font-size: 22px;
}

main {
  max-width: 900px;
  margin: 32px auto;
  padding: 0 20px;
}

.page-preview {
  background: white;
  border: 1px solid #ddd;
  padding: 16px;
  margin: 24px 0;
  text-align: center;
}

.page-preview img {
  max-width: 100%;
  height: auto;
}

.download-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0 32px;
}

.button {
  display: inline-block;
  background: #222;
  color: white;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.button.secondary {
  background: #555;
}

.details-box {
  background: white;
  border: 1px solid #e5e5e5;
  padding: 18px 22px;
  border-radius: 10px;
}

.content-intro {
  margin-bottom: 28px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.coloring-card {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 14px;
}

.coloring-card a {
  color: #222;
  text-decoration: none;
}

.coloring-card img {
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
  background: white;
}

.coloring-card h3 {
  font-size: 18px;
  margin: 12px 0 6px;
}

.coloring-card p {
  font-size: 14px;
  color: #555;
}

.hero {
  background: white;
  border: 1px solid #e5e5e5;
  padding: 36px 28px;
  border-radius: 14px;
  margin-bottom: 36px;
  text-align: center;
}

.hero h1 {
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.hero p {
  font-size: 18px;
  color: #555;
  margin: 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 20px 0 36px;
}

.category-card {
  display: block;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px;
  color: #222;
  text-decoration: none;
}

.category-card h3 {
  margin: 0 0 8px;
}

.category-card p {
  color: #555;
  margin: 0;
}

.site-header {
  background: white;
  border-bottom: 1px solid #e5e5e5;
  padding: 0;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  color: #222;
  font-weight: 700;
  text-decoration: none;
  font-size: 22px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-nav a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.site-nav a:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    gap: 12px;
  }
}

.site-nav a.active {
  text-decoration: underline;
  font-weight: 700;
}
