/* Kokam — 37signals-inspired styling */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap');

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: #ffffff;
  min-height: 100vh;
  transition: background-color 0.4s ease;
  display: flex;
  flex-direction: column;
}

a {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */

.navbar {
  padding: 28px 0;
}

.navbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.85;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 500;
  font-size: 14px;
  opacity: 0.9;
}

.nav-links a:hover {
  opacity: 1;
}

/* Main / hero */

main {
  flex: 1;
}

.hero {
  padding: 60px 0 48px;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 820px;
}

.hero p.lede {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
  max-width: 640px;
  opacity: 0.92;
  margin: 0;
}

/* Posts list */

.posts {
  padding: 20px 0 80px;
}

.post-item {
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-item .post-num {
  font-weight: 700;
}

.post-item h2 {
  font-size: clamp(20px, 3vw, 28px);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

.post-item p {
  margin: 0;
  max-width: 680px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
}

.read-more {
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  margin-top: 4px;
}

/* Simple page (about / contact) */

.page {
  padding: 60px 0 100px;
}

.page h1 {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.page p {
  font-size: 16px;
  line-height: 1.7;
  max-width: 640px;
  opacity: 0.92;
  margin: 0 0 20px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.contact-list li {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 14px;
}

/* Article */

.article {
  padding: 60px 0 100px;
}

.article .post-num {
  font-weight: 600;
  font-size: 13px;
  opacity: 0.7;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 14px;
}

.article h1 {
  font-size: clamp(26px, 4.5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  max-width: 800px;
}

.article .body p {
  font-size: 16px;
  line-height: 1.75;
  max-width: 680px;
  opacity: 0.94;
  margin: 0 0 22px;
}

.back-link {
  display: inline-block;
  margin-bottom: 40px;
  font-weight: 600;
  font-size: 14px;
  opacity: 0.85;
}

/* Footer */

footer {
  padding: 32px 0;
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-size: 13px;
  opacity: 0.75;
}

.social-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-links a {
  font-weight: 600;
  font-size: 13px;
  opacity: 0.85;
}

.social-links a:hover {
  opacity: 1;
}

@media (max-width: 600px) {
  .nav-links {
    gap: 16px;
  }
}
