.container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  width: 100%;
}

/* Header layout */
header {
  height: 64px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  background: var(--bg-main);
}

/* Site title */
.site-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
}

/* Main spacing */
main {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-light);
  padding: 20px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  word-wrap: break-word;
}

/* -------------------- */
/* PREMIUM ENHANCEMENTS */
/* -------------------- */

/* Section rhythm & breathing space */
section {
  margin-bottom: 56px;
}

/* Section headings clarity */
section > h2 {
  margin-bottom: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

/* Hero / first section polish */
section:first-of-type h1 {
  font-weight: 700;
}

section:first-of-type p {
  font-size: 1rem;
  margin-top: 12px;
}

/* Footer subtle premium background */
footer {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.015),
    transparent
  );
}

/* Footer link tap-area clarity */
footer a {
  margin: 0 6px;
  display: inline-block;
}

/* -------------------- */
/* RESPONSIVE POLISHING */
/* -------------------- */

/* Small screens refinement */
@media (max-width: 480px) {
  main {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .site-title {
    font-size: 1.125rem;
  }

  section {
    margin-bottom: 44px;
  }
}

/* Desktop premium spacing & typography */
@media (min-width: 1024px) {
  main {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  section {
    margin-bottom: 72px;
  }

  section > h2 {
    font-size: 1.6rem;
  }
}

/* Large desktop readability */
@media (min-width: 1280px) {
  .container {
    max-width: 1180px;
  }
}
