* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.6;
}
header {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  position: relative;
}
.logo {
  font-size: 1.5rem;
  font-weight: 600;
}
nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: #555;
  font-weight: 500;
}
footer {
  margin-top: 3rem;
  border-top: 1px solid #ddd;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
}
.footer-links a {
  margin: 0 0.5rem;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container article {
  margin: 0 auto;
  max-width: 900px;
}

.container code {
  padding: 0;
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border-bottom: 1px solid #eee;
    padding: 1rem;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  nav.active {
    display: flex;
  }

  nav a {
    display: block;
    padding: 0.75rem 0;
    margin-left: 0;
    border-bottom: 1px solid #f0f0f0;
  }

  nav a:last-child {
    border-bottom: none;
    margin-top: 0.5rem;
    text-align: center;
  }
}
