.notes-page-body {
  padding-top: 58px;
  padding-bottom: 92px;
}

.notes-intro {
  margin-bottom: 40px;
}

.notes-list {
  border-top: 1px solid var(--line);
}

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

.note-card h2 {
  margin: 4px 0 10px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.028em;
}

.note-card h2 a {
  color: var(--text);
  text-decoration: none;
}

.note-card h2 a:hover {
  color: var(--accent);
}

.note-card > p:not(.note-meta):not(.note-origin) {
  margin: 0 0 14px;
  color: var(--muted);
}

.note-meta {
  margin: 0;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.note-origin {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: .86rem;
}

.note-origin a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

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

.note-lead p {
  margin: 0;
}

.note-lead a {
  color: inherit;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.note-body {
  padding-top: 44px;
  padding-bottom: 92px;
}

.note-source-link {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}

.note-source-link > span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}

.note-source-link a {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  text-align: right;
}

.note-source-link a:hover {
  color: var(--accent);
}

.note-prose > p:first-child {
  font-size: 1.12rem;
  line-height: 1.7;
}

.note-back {
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 620px) {
  .header-inner {
    gap: 12px;
  }

  .nav {
    gap: 9px;
  }

  .nav a {
    font-size: .84rem;
  }

  .notes-page-body,
  .note-body {
    padding-top: 42px;
    padding-bottom: 64px;
  }

  .note-source-link {
    flex-direction: column;
    gap: 5px;
  }

  .note-source-link a {
    text-align: left;
  }
}
