/* Blog typography inspired by Apple/Jobs aesthetics: clean, calm, readable */

.blog-typo {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color: #111827; /* gray-900 */
}

/* Keep nav/footer styling intact; scope to content */
.blog-typo article.prose {
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}

.blog-typo header h1 {
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.blog-typo p {
  line-height: 1.75;
  font-size: clamp(17px, 1.05rem, 18px);
  margin: 0.9em 0 0;
  color: #1f2937; /* gray-800 */
}

.blog-typo h1,
.blog-typo h2,
.blog-typo h3,
.blog-typo h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
  line-height: 1.2;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}

.blog-typo h2 {
  font-size: clamp(22px, 3.2vw, 28px);
}

.blog-typo h3 {
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 600;
}

.blog-typo a {
  color: #0a84ff; /* iOS system blue */
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.blog-typo a:hover {
  color: #0066cc;
}

.blog-typo ul,
.blog-typo ol {
  padding-left: 1.25em;
  margin: 0.75em 0 0;
}

.blog-typo li {
  margin-top: 0.4em;
}

.blog-typo li::marker {
  color: #9ca3af; /* gray-400 */
}

.blog-typo blockquote {
  border-left: 3px solid #e5e7eb; /* gray-200 */
  padding-left: 1em;
  color: #374151; /* gray-700 */
  margin: 1.2em 0;
  font-style: italic;
}

.blog-typo hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2.5em 0;
}

.blog-typo code,
.blog-typo pre {
  font-family: SFMono-Regular, ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 0.95em;
}

.blog-typo code {
  background: #f9fafb; /* gray-50 */
  padding: 0.15em 0.35em;
  border-radius: 0.375rem;
}

.blog-typo img {
  border-radius: 10px;
}

.blog-typo strong {
  font-weight: 600;
  color: #111827;
}

.blog-typo header p {
  margin-top: 0.75em;
  color: #374151;
}

@media (min-width: 1024px) {
  /* breathe on desktop */
  .blog-typo {
    letter-spacing: 0;
  }
  .blog-typo p {
    line-height: 1.8;
  }
}


