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

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fafafa;
}

/* Header */
.site-header {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1rem 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-home {
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 1.1rem;
}

.header-home:hover {
  text-decoration: underline;
}

.header-nav {
  display: flex;
  gap: 1.25rem;
}

.header-nav a {
  color: #555;
  text-decoration: none;
  font-size: 0.95rem;
}

.header-nav a:hover,
.header-nav a.active {
  color: #1a1a1a;
  text-decoration: underline;
}

.header-nav .lang-switch {
  border-left: 1px solid #ccc;
  padding-left: 1.25rem;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 6rem;
  gap: 1rem;
}

.landing h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 1.15rem;
  color: #555;
}

.landing-description {
  margin-top: 1rem;
  font-size: 1.05rem;
  max-width: 34rem;
  color: #333;
}

.cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.65rem 1.5rem;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.cta:hover {
  background: #333;
}

.cta-secondary {
  background: transparent;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
}

.cta-secondary:hover {
  background: #1a1a1a;
  color: #fff;
}

.landing-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.landing-nav .cta {
  margin-top: 0;
}

.landing-lang {
  font-size: 0.9rem;
  color: #777;
}

.landing-lang a {
  color: #555;
  text-decoration: underline;
}

.landing-lang a:hover {
  color: #1a1a1a;
}

/* List pages */
.list-page {
  padding-top: 3rem;
}

.section-description {
  color: #555;
  margin-top: 0.5rem;
}

.post-list {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.post-list a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.post-list a:hover {
  text-decoration: underline;
}

.post-list time {
  display: block;
  font-size: 0.85rem;
  color: #777;
}

.post-list p {
  margin-top: 0.25rem;
  color: #444;
  font-size: 0.95rem;
}

.empty-section {
  margin-top: 2rem;
  color: #777;
}

/* Footer */
.site-footer {
  max-width: 42rem;
  margin: 4rem auto 0;
  padding: 2rem 1rem;
  border-top: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #777;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-socials a {
  color: #555;
  display: flex;
  align-items: center;
}

.footer-socials a:hover {
  color: #1a1a1a;
}

.footer-copyright {
  margin: 0;
}
