.note-hero {
  padding: 92px 0 54px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(15, 45, 86, 0.94)),
    radial-gradient(circle at 86% 16%, rgba(20, 184, 166, 0.28), transparent 34%);
}

.note-hero .container {
  max-width: 920px;
}

.note-hero h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 62px);
}

.note-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.note-hero-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.note-hero-summary span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.note-shell {
  padding: 60px 0 96px;
  background: var(--surface);
}

.note-list-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.note-list-header h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
}

.note-category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.note-category-list span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  color: var(--slate-700);
  font-size: 13px;
  font-weight: 800;
  background: var(--white);
  border: var(--border);
  border-radius: 999px;
}

.note-list {
  display: grid;
  gap: 18px;
}

.note-card {
  display: grid;
  gap: 14px;
  padding: 26px;
  color: var(--navy-900);
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.note-card:hover,
.note-card:focus {
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: var(--shadow);
}

.note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  color: var(--slate-600);
  font-size: 14px;
}

.note-tag {
  width: fit-content;
  padding: 6px 10px;
  color: var(--blue-700);
  background: var(--sky-100);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.note-card h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.note-card p {
  max-width: 780px;
  margin: 0;
  color: var(--slate-600);
}

.note-read-more {
  margin-top: 4px;
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 900;
}

.note-article-shell {
  padding: 58px 0 92px;
  background: var(--white);
}

.note-article {
  width: min(100% - 40px, 880px);
  margin: 0 auto;
}

.note-article-header {
  padding-bottom: 34px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.34);
}

.note-article-header h1 {
  margin-bottom: 18px;
  color: var(--navy-900);
  font-size: clamp(36px, 5vw, 58px);
}

.note-article-summary {
  margin-bottom: 18px;
  color: var(--slate-600);
  font-size: 19px;
}

.note-content {
  color: var(--navy-900);
  font-size: 18px;
}

.note-content h2 {
  margin: 44px 0 14px;
  font-size: clamp(26px, 3vw, 36px);
}

.note-content h3 {
  margin: 32px 0 10px;
}

.note-content p {
  margin-bottom: 18px;
  color: var(--slate-700);
}

.note-content ul,
.note-content ol {
  padding-left: 24px;
  margin: 0 0 22px;
  color: var(--slate-700);
}

.note-content li + li {
  margin-top: 8px;
}

.note-content code {
  padding: 2px 5px;
  background: var(--slate-100);
  border-radius: 6px;
}

.note-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 54px;
  padding: 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 18%, rgba(20, 184, 166, 0.22), transparent 32%),
    linear-gradient(135deg, var(--navy-900), var(--blue-700));
  border-radius: var(--radius);
}

.note-cta h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.note-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.note-back {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--blue-700);
  font-weight: 800;
}

@media (max-width: 760px) {
  .note-hero {
    padding: 82px 0 44px;
  }

  .note-shell,
  .note-article-shell {
    padding: 42px 0 82px;
  }

  .note-list-header {
    display: grid;
    align-items: start;
  }

  .note-category-list {
    justify-content: flex-start;
  }

  .note-article {
    width: min(100% - 28px, 880px);
  }

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