.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  font-weight: 800;
  background: var(--blue-700);
  border-radius: 6px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.note-hero {
  padding: 70px 0 44px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(7, 17, 31, 0.98), rgba(17, 48, 88, 0.96));
}

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

.note-hero h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 54px);
}

.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: start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 22px;
}

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

.note-list-intro {
  max-width: 660px;
  margin: 10px 0 0;
  color: var(--slate-600);
}

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

.note-category-list button {
  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;
  cursor: pointer;
}

.note-category-list button:hover,
.note-category-list button:focus,
.note-category-list button.is-active {
  color: var(--blue-700);
  background: var(--sky-100);
  border-color: rgba(37, 99, 235, 0.22);
}

.note-list-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin: -6px 0 22px;
}

.note-search {
  display: grid;
  flex: 1 1 360px;
  max-width: 480px;
  grid-template-columns: auto minmax(220px, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 800;
}

.note-search input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  color: var(--navy-900);
  font: inherit;
  font-weight: 700;
  background: var(--white);
  border: var(--border);
  border-radius: 8px;
  outline: none;
}

.note-search input:focus {
  border-color: rgba(37, 99, 235, 0.52);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.note-result-count {
  margin: 0;
  color: var(--slate-600);
  font-size: 14px;
  font-weight: 800;
}

.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-image {
  display: block;
  aspect-ratio: 16 / 9;
  margin: -26px -26px 2px;
  overflow: hidden;
  background: var(--surface);
  border-bottom: var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
}

.note-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.note-card:hover .note-card-image img,
.note-card:focus .note-card-image img {
  transform: scale(1.025);
}

.note-card[hidden] {
  display: none;
}

.note-empty {
  margin: 18px 0 0;
  padding: 24px;
  color: var(--slate-700);
  font-weight: 800;
  text-align: center;
  background: var(--white);
  border: 1px dashed rgba(100, 116, 139, 0.38);
  border-radius: var(--radius);
}

.note-empty[hidden] {
  display: none;
}

.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(32px, 4.3vw, 50px);
  line-height: 1.12;
}

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

.note-cover-image {
  margin: 30px 0 0;
}

.note-cover-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface);
  border: var(--border);
  border-radius: 10px;
}

.note-cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.note-cover-image figcaption,
.note-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 10px;
  color: var(--slate-600);
  font-size: 13px;
  line-height: 1.55;
}

.note-toc {
  margin: -8px 0 38px;
  padding: 22px 24px;
  background: var(--surface);
  border: var(--border);
  border-radius: 8px;
}

.note-toc-title {
  margin: 0 0 12px;
  color: var(--navy-900);
  font-size: 15px;
  font-weight: 900;
}

.note-toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.note-toc a {
  color: var(--slate-700);
  font-size: 15px;
  font-weight: 800;
}

.note-toc a:hover,
.note-toc a:focus {
  color: var(--blue-700);
}

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

.note-content h2 {
  margin: 48px 0 16px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.25;
}

.note-content h2 span {
  padding: 0 0.08em 0.02em;
  background: linear-gradient(to top, rgba(14, 165, 233, 0.28) 0 42%, transparent 42% 100%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.note-content h3 {
  margin: 34px 0 12px;
  color: var(--navy-900);
  font-size: 23px;
  line-height: 1.35;
}

.note-content strong {
  color: var(--blue-700);
  font-weight: 900;
}

.note-content mark {
  padding: 0.1em 0.18em 0.12em;
  color: var(--navy-900);
  background: linear-gradient(to top, rgba(125, 211, 252, 0.52) 0 52%, rgba(125, 211, 252, 0.16) 52% 100%);
  border-radius: 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

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

.note-content .note-body-link {
  color: var(--blog-green-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  text-decoration-skip-ink: auto;
}

.note-content .note-body-link:hover {
  color: var(--blog-green);
  text-decoration-thickness: 0.12em;
}

.note-content .note-body-link:focus-visible {
  color: var(--blog-green-dark);
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}

.note-reference-link {
  margin-left: 0.12em;
  font-size: 0.68em;
  line-height: 0;
  vertical-align: super;
}

.note-reference-link + .note-reference-link {
  margin-left: 0.2em;
}

.note-reference-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35em;
  height: 1.35em;
  padding: 0 0.18em;
  color: var(--blue-700);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  background: rgba(14, 165, 233, 0.12);
  border-radius: 999px;
}

.note-reference-link a:hover,
.note-reference-link a:focus-visible {
  color: #fff;
  background: var(--blue-700);
  outline: none;
}

.note-reference-list li {
  padding-left: 0.3em;
  scroll-margin-top: 96px;
}

.note-reference-list li:target {
  background: rgba(14, 165, 233, 0.1);
  border-radius: 6px;
}

.note-figure {
  margin: 32px 0;
}

.note-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  background: var(--surface);
  border: var(--border);
  border-radius: 10px;
}

.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 .note-task-list {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.note-task-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  background: var(--surface);
  border: var(--border);
  border-radius: 8px;
}

.note-task-box {
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  background: var(--white);
  border: 2px solid rgba(37, 99, 235, 0.42);
  border-radius: 5px;
}

.note-task-item.is-checked .note-task-box {
  background: var(--blue-700);
  border-color: var(--blue-700);
}

.note-task-item.is-checked .note-task-box::after {
  position: absolute;
  top: 1px;
  left: 5px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.note-content blockquote {
  margin: 30px 0;
  padding: 20px 22px;
  color: var(--navy-900);
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.96), rgba(248, 250, 252, 0.98));
  border-left: 4px solid var(--blue-700);
  border-radius: 8px;
}

.note-content blockquote p {
  margin: 0;
  color: var(--navy-900);
  font-size: 17px;
  font-weight: 800;
}

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

.note-callout-label {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 900;
}

.note-content .note-callout-warning {
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.98), rgba(255, 251, 235, 0.94));
  border-left-color: #f59e0b;
}

.note-content .note-callout-warning .note-callout-label {
  color: #b45309;
}

.note-content .note-callout-tip {
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.98), rgba(240, 253, 250, 0.94));
  border-left-color: #10b981;
}

.note-content .note-callout-tip .note-callout-label {
  color: #047857;
}

.note-content .note-callout-key {
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(238, 242, 255, 0.94));
  border-left-color: var(--blue-700);
}

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

.note-table-wrap {
  width: 100%;
  margin: 30px 0;
  overflow-x: auto;
  background: var(--white);
  border: var(--border);
  border-radius: 8px;
}

.note-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.65;
}

.note-table th,
.note-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(148, 163, 184, 0.26);
}

.note-table th {
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 900;
  background: var(--slate-100);
}

.note-table td {
  color: var(--slate-700);
}

.note-table td:first-child {
  color: var(--navy-900);
  font-weight: 800;
}

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

.note-inline-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 42px 0;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 64, 175, 0.94));
  border-radius: 8px;
}

.note-inline-cta strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 20px;
}

.note-inline-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
}

.note-inline-cta a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  background: var(--white);
  border-radius: 8px;
}

.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: 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;
}

.note-related {
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid rgba(148, 163, 184, 0.34);
}

.note-related-header {
  margin-bottom: 16px;
}

.note-related-header h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: 28px;
}

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

.note-related-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  color: var(--navy-900);
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius);
}

.note-related-card:hover,
.note-related-card:focus {
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.note-related-card span {
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 900;
}

.note-related-card strong {
  font-size: 18px;
}

.note-related-card p {
  margin: 0;
  color: var(--slate-600);
}

.blog-footer {
  padding: 26px 0;
}

.blog-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.blog-footer strong {
  display: block;
  color: var(--white);
}

.blog-footer p {
  max-width: 680px;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.blog-footer-cta {
  display: inline-flex;
  min-height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  background: var(--blue-600);
  border-radius: 8px;
}

.blog-footer-cta:hover,
.blog-footer-cta:focus {
  color: var(--white);
  background: var(--blue-700);
}

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

  .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-list-tools {
    align-items: stretch;
  }

  .note-search {
    max-width: none;
    grid-template-columns: 1fr;
  }

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

  .note-article-header h1 {
    font-size: clamp(30px, 8.3vw, 34px);
  }

  .note-toc {
    padding: 18px;
  }

  .note-task-item {
    padding: 11px 12px;
  }

  .note-inline-cta {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .note-inline-cta a {
    width: fit-content;
  }

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

  .blog-footer-inner {
    display: grid;
  }

  .blog-footer-cta {
    width: fit-content;
  }
}
