.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 80;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  color: #0f172a;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.is-hidden {
  display: none !important;
}

.blog-card {
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
  border-color: #4f46e5;
  transform: translateY(-2px);
}

.clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prose {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
}

.prose p {
  margin: 1.05rem 0;
}

.prose h2 {
  font-family: Outfit, sans-serif;
  font-size: 1.7rem;
  line-height: 1.25;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
  scroll-margin-top: 6.5rem;
}

.prose h3 {
  font-family: Outfit, sans-serif;
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 650;
  color: #4f46e5;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  scroll-margin-top: 6.5rem;
}

.prose a {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose ul,
.prose ol {
  margin: 1rem 0 1.25rem;
  padding-left: 1.3rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin: 0.4rem 0;
}

.prose li::marker {
  color: #4f46e5;
}

.prose strong {
  color: #0f172a;
  font-weight: 650;
}

.prose code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.86em;
  background: #f1f5f9;
  padding: 0.12em 0.38em;
  border-radius: 0.35rem;
}

.prose pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  overflow-x: auto;
  margin: 1.25rem 0;
}

.prose pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: 0.82rem;
}

.prose blockquote {
  border-left: 4px solid #4f46e5;
  margin: 1.4rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  color: #475569;
}

.prose hr {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 2rem 0;
}

.chip[aria-pressed="true"] {
  background: #4f46e5;
  color: white;
  border-color: #4f46e5;
}
