:root {
  --bg: #f7f5ef;
  --text: #2f352f;
  --muted: #747a72;
  --accent: #73856f;
  --line: #dcded6;
  --card: #fbfaf6;
  --max: 860px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

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

a:hover {
  color: var(--accent);
}

.site-shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

header {
  padding: 38px 0 20px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero {
  padding: 105px 0 90px;
  max-width: 650px;
}

.kicker {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.7rem, 8vw, 5.4rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: 1.8rem;
  margin: 0 0 20px;
}

p {
  margin-top: 0;
}

.intro {
  max-width: 580px;
  font-size: 1.15rem;
  color: var(--muted);
}

.section {
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  min-height: 220px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #bcc4b8;
}

.card-icon {
  font-size: 1.45rem;
}

.card p,
.note p {
  color: var(--muted);
}

.recent-list {
  display: grid;
  gap: 0;
}

.note {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.note:last-child {
  border-bottom: 0;
}

.note-meta {
  color: var(--accent);
  font-size: 0.86rem;
  margin-bottom: 6px;
}

.page-title {
  padding: 75px 0 48px;
}

.page-title h1 {
  font-size: clamp(2.6rem, 7vw, 4.8rem);
}

.content-list {
  display: grid;
  gap: 18px;
  margin-bottom: 80px;
}

.entry {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}

.entry h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.entry small {
  color: var(--accent);
}

.placeholder {
  border-style: dashed;
  color: var(--muted);
}

footer {
  padding: 36px 0 50px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 700px) {
  header {
    padding-top: 26px;
  }

  nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding: 72px 0 70px;
  }

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

  .card {
    min-height: 170px;
  }
}
