* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #f7f7f5;
  color: #171717;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid #deded8;
  background: rgba(247, 247, 245, 0.92);
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: #565656;
}

nav a:hover {
  color: #111;
}

.hero {
  padding: 110px 0 90px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #666;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.intro {
  max-width: 650px;
  margin: 28px 0 0;
  font-size: 1.2rem;
  color: #525252;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-block;
  padding: 11px 16px;
  border: 1px solid #cfcfc8;
  border-radius: 10px;
  background: #fff;
}

.button.primary {
  background: #171717;
  color: white;
  border-color: #171717;
}

.section {
  padding: 60px 0;
  border-top: 1px solid #deded8;
}

h2 {
  margin: 0 0 24px;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card,
.note {
  padding: 24px;
  border: 1px solid #deded8;
  border-radius: 16px;
  background: #fff;
}

.card h3,
.note h3 {
  margin-top: 0;
}

.tag {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #efefeb;
  color: #555;
  font-size: 0.82rem;
}

.date {
  margin: 0 0 6px;
  color: #777;
  font-size: 0.85rem;
}

.site-footer {
  padding: 30px 0 50px;
  color: #777;
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  nav {
    gap: 14px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 80px 0 65px;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
