*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  background: #f7f8fa;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
html[data-theme="dark"] {
  background: #1a1a1a;
  color: #fff;
}
html[data-theme="dark"] body {
  background: #1a1a1a;
}
html[data-theme="dark"] .page-wrapper {
  background: #1a1a1a;
}
html[data-theme="dark"] .site-header {
  background: #1a1a1a;
  border-color: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .brand-title {
  color: #f3f4f6;
}
html[data-theme="dark"] .brand-subtitle {
  color: #6b7280;
}
html[data-theme="dark"] .nav-link {
  color: #9ca3af;
}
html[data-theme="dark"] .nav-link:hover {
  color: #f3f4f6;
}
html[data-theme="dark"] .brand-mark {
  color: #7fb0f5;
}
html[data-theme="dark"] .theme-toggle {
  background: rgba(255,255,255,0.06);
}
html[data-theme="dark"] .theme-toggle .toggle-light {
  color: #9ca3af;
}
html[data-theme="dark"] .theme-toggle .toggle-light.active {
  background: transparent;
  color: #9ca3af;
}
html[data-theme="dark"] .theme-toggle .toggle-dark.active {
  background: #fff;
  color: #1a1a1a;
}
html[data-theme="dark"] .card {
  background: #1e1e1e;
  border-color: rgba(255,255,255,0.08);
  box-shadow: none;
}
html[data-theme="dark"] .hero-card {
  background: #1e1e1e;
  border-color: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .article-title,
html[data-theme="dark"] .hero-title,
html[data-theme="dark"] .post-card-title,
html[data-theme="dark"] .archive-title,
html[data-theme="dark"] .next-title,
html[data-theme="dark"] .archive-year,
html[data-theme="dark"] .section-eyebrow {
  color: #f3f4f6;
}
html[data-theme="dark"] .article-deck,
html[data-theme="dark"] .hero-deck,
html[data-theme="dark"] .post-card-excerpt,
html[data-theme="dark"] .author-bio,
html[data-theme="dark"] .meta-date,
html[data-theme="dark"] .read-time-pill,
html[data-theme="dark"] .archive-date,
html[data-theme="dark"] .meta-label,
html[data-theme="dark"] .footer-note {
  color: #9ca3af;
}
html[data-theme="dark"] .author-name {
  color: #f3f4f6;
}
html[data-theme="dark"] .article-entry {
  color: #d1d5db;
}
html[data-theme="dark"] .article-entry h1,
html[data-theme="dark"] .article-entry h2,
html[data-theme="dark"] .article-entry h3,
html[data-theme="dark"] .article-entry h4,
html[data-theme="dark"] .article-entry h5,
html[data-theme="dark"] .article-entry h6 {
  color: #f3f4f6;
}
html[data-theme="dark"] .article-entry a {
  color: #2d72d7;
}
html[data-theme="dark"] .article-entry blockquote {
  border-color: rgba(255,255,255,0.1);
  color: #d1d5db;
}
html[data-theme="dark"] .article-entry code {
  background: rgba(255,255,255,0.06);
  color: #e5e7eb;
}
html[data-theme="dark"] .article-entry pre {
  background: #111;
  border-color: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .article-entry table th {
  background: #1e1e1e;
  color: #f3f4f6;
  border-color: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .article-entry table td {
  border-color: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .chip-topic {
  background: rgba(255,255,255,0.06);
  color: #d1d5db;
  border-color: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .btn-primary {
  background: #fff;
  color: #1a1a1a;
}
html[data-theme="dark"] .articles-section {
  background: #1a1a1a;
}
html[data-theme="dark"] .article-hero .meta-date,
html[data-theme="dark"] .article-hero .read-time-pill {
  color: #9ca3af;
}
html[data-theme="dark"] .site-footer {
  border-color: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .meta-value {
  color: #f3f4f6;
}
html[data-theme="dark"] .stat-value {
  color: #f3f4f6;
}
html[data-theme="dark"] .card-label {
  color: #9ca3af;
}
html[data-theme="dark"] .toc-card {
  background: #1e1e1e;
  border-color: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .toc-card .toc-label {
  color: #9ca3af;
}
html[data-theme="dark"] .toc-card a {
  color: #9ca3af;
}
html[data-theme="dark"] .toc-card a:hover {
  color: #2d72d7;
}
html[data-theme="dark"] .pagination a,
html[data-theme="dark"] .pagination span {
  color: #9ca3af;
  border-color: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .pagination .page-number:hover {
  border-color: #2d72d7;
  color: #2d72d7;
}
html[data-theme="dark"] .pagination .current {
  background: #2d72d7;
  color: #fff;
  border-color: #2d72d7;
}
html[data-theme="dark"] .archive-item {
  background: #1e1e1e;
  border-color: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .archive-item:hover {
  border-color: #2d72d7;
}
html[data-theme="dark"] .read-link {
  color: #2d72d7;
}
html[data-theme="dark"] .highlight-card {
  background: #1e1e1e;
  border-color: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .highlight-card .highlight-label {
  color: #9ca3af;
}
html[data-theme="dark"] .quote-card {
  background: #111;
}
html[data-theme="dark"] .post-card:hover {
  border-color: #2d72d7;
}
html[data-theme="dark"] .stat-item {
  background: #1e1e1e;
  border-color: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .progress-ring-bg {
  stroke: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .back-to-top-icon {
  color: #9ca3af;
}
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 20px;
}
@media (max-width: 767px) {
  .header-inner {
    padding: 0 16px;
  }
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: #2d72d7;
}
.brand-logo {
  display: block;
  height: 38px;
  width: auto;
}
.brand-logo .brush {
  animation: brand-write 1.9s cubic-bezier(0.45, 0.05, 0.35, 1) both;
}
.brand-logo .settle {
  animation: brand-settle 0.45s ease-out 1.45s both;
}
.brand-mark:hover .brand-logo .brush {
  animation-name: brand-write-again;
}
.brand-mark:hover .brand-logo .settle {
  animation-name: brand-settle-again;
}
@media (max-width: 479px) {
  .brand-logo {
    height: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-logo .brush {
    animation: none;
    stroke-dashoffset: 0;
  }
  .brand-logo .settle {
    animation: none;
    opacity: 1;
  }
  .brand-logo .nib {
    display: none;
  }
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.brand-title {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}
.brand-subtitle {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 11px;
  color: #6b7280;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
@media (max-width: 767px) {
  .header-nav {
    display: none;
  }
}
.nav-link {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  transition: color 0.15s;
}
.nav-link:hover {
  color: #1a1a1a;
}
.header-actions {
  display: flex;
  align-items: center;
}
.theme-toggle {
  display: flex;
  align-items: center;
  background: #f7f8fa;
  border-radius: 9999px;
  padding: 6px;
  border: none;
  cursor: pointer;
  gap: 6px;
}
.toggle-light,
.toggle-dark {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 600;
  border-radius: 9999px;
  padding: 6px 10px;
  transition: all 0.15s;
  line-height: 1;
}
.toggle-light {
  color: #1a1a1a;
}
.toggle-light.active {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.toggle-dark {
  color: #6b7280;
}
.toggle-dark.active {
  background: #1a1a1a;
  color: #fff;
}
@-moz-keyframes brand-write {
  0% {
    stroke-dashoffset: 1;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@-webkit-keyframes brand-write {
  0% {
    stroke-dashoffset: 1;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@-o-keyframes brand-write {
  0% {
    stroke-dashoffset: 1;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes brand-write {
  0% {
    stroke-dashoffset: 1;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@-moz-keyframes brand-write-again {
  0% {
    stroke-dashoffset: 1;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@-webkit-keyframes brand-write-again {
  0% {
    stroke-dashoffset: 1;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@-o-keyframes brand-write-again {
  0% {
    stroke-dashoffset: 1;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes brand-write-again {
  0% {
    stroke-dashoffset: 1;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@-moz-keyframes brand-settle {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes brand-settle {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes brand-settle {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes brand-settle {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes brand-settle-again {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes brand-settle-again {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes brand-settle-again {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes brand-settle-again {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.site-footer {
  border-top: 1px solid #e5e7eb;
  padding: 20px 0;
  margin-top: 20px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 767px) {
  .footer-inner {
    padding: 0 16px;
  }
}
.footer-note {
  font-family: 'Geist Mono', 'SF Mono', 'Fira Code', monospace;
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.45;
}
.card {
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  padding: 16px;
}
.card-label {
  display: block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: normal;
  color: #9ca3af;
  margin-bottom: 6px;
}
.card-eyebrow {
  display: block;
  font-family: 'Geist Mono', 'SF Mono', 'Fira Code', monospace;
  font-size: 11px;
  font-weight: normal;
  color: #2d72d7;
  margin-bottom: 6px;
}
.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  font-family: 'Geist Mono', 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 8px;
}
.chip-accent {
  background: rgba(99,91,255,0.1);
  color: #2d72d7;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  padding: 5px 10px;
}
.chip-topic {
  background: #f7f8fa;
  color: #374151;
  border: 1px solid #e5e7eb;
  padding: 5px 10px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.15s;
}
.chip-topic:hover {
  border-color: #2d72d7;
  color: #2d72d7;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.btn-primary {
  background: #1a1a1a;
  color: #fff;
}
.btn-primary:hover {
  opacity: 0.85;
}
.btn-secondary {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.btn-secondary:hover {
  border-color: #2d72d7;
}
.home-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 20px;
}
@media (max-width: 767px) {
  .home-page {
    padding: 0 16px;
  }
}
.home-layout {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
@media (max-width: 767px) {
  .home-layout {
    flex-direction: column;
  }
}
.home-main {
  flex: 1;
  max-width: 676px;
}
@media (max-width: 767px) {
  .home-main {
    max-width: 100%;
  }
}
.hero-section {
  margin-bottom: 20px;
}
.hero-card {
  border-radius: 20px;
  background: #f7f8fa;
  border: 1px solid #e5e7eb;
  padding: 20px;
}
.hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-title {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.08;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.hero-title a {
  color: inherit;
}
.hero-title a:hover {
  color: #2d72d7;
}
.hero-deck {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.55;
  margin-bottom: 16px;
}
.articles-section {
  padding-bottom: 20px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-eyebrow {
  font-family: 'Geist Mono', 'SF Mono', 'Fira Code', monospace;
  font-size: 11px;
  font-weight: normal;
  color: #2d72d7;
}
.section-count {
  font-family: 'Geist Mono', 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  color: #6b7280;
}
.articles-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.post-card {
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s;
}
.post-card:hover {
  border-color: #2d72d7;
}
.post-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.post-card-title {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}
.post-card-excerpt {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-footer {
  margin-top: auto;
}
.read-link {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #2d72d7;
}
.article-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 20px;
}
@media (max-width: 767px) {
  .article-page {
    padding: 0 16px;
  }
}
.article-content-split {
  display: flex;
  gap: 18px;
}
@media (max-width: 767px) {
  .article-content-split {
    flex-direction: column;
  }
}
.article-column {
  flex: 1;
  max-width: 676px;
}
@media (max-width: 767px) {
  .article-column {
    max-width: 100%;
  }
}
.article-hero {
  margin-bottom: 16px;
}
.article-hero .hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.article-hero .hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Geist Mono', 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  color: #6b7280;
}
.article-title {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.08;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.article-deck {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  color: #6b7280;
  line-height: 1.55;
  margin-bottom: 16px;
}
.author-card {
  margin-bottom: 16px;
}
.author-name {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}
.author-bio {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.45;
}
.article-entry {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  color: #374151;
  line-height: 1.6;
}
.article-entry h1,
.article-entry h2,
.article-entry h3,
.article-entry h4,
.article-entry h5,
.article-entry h6 {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1a1a;
  margin-top: 2em;
  margin-bottom: 0.5em;
}
.article-entry h1 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}
.article-entry h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
}
.article-entry h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}
.article-entry h4 {
  font-size: 17px;
  font-weight: 600;
}
.article-entry p {
  margin-bottom: 1.2em;
}
.article-entry a {
  color: #2d72d7;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-entry a:hover {
  opacity: 0.8;
}
.article-entry strong {
  font-weight: 600;
  color: #1a1a1a;
}
.article-entry ul,
.article-entry ol {
  margin-bottom: 1.2em;
  padding-left: 1.5em;
}
.article-entry li {
  margin-bottom: 0.4em;
}
.article-entry blockquote {
  border-left: 3px solid #2d72d7;
  padding: 12px 16px;
  margin: 1.5em 0;
  background: #f7f8fa;
  border-radius: 0 12px 12px 0;
  color: #6b7280;
  font-style: normal;
}
.article-entry blockquote p:last-child {
  margin-bottom: 0;
}
.article-entry img {
  border-radius: 16px;
  margin: 1.5em 0;
}
.article-entry code {
  font-family: 'Geist Mono', 'SF Mono', 'Fira Code', monospace;
  font-size: 0.9em;
  background: #f7f8fa;
  padding: 2px 6px;
  border-radius: 4px;
}
.article-entry pre {
  background: #f7f8fa;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
  overflow-x: auto;
  margin: 1.5em 0;
}
.article-entry pre code {
  background: none;
  padding: 0;
  border-radius: 0;
}
.article-entry table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 14px;
}
.article-entry table th {
  background: #f7f8fa;
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
}
.article-entry table td {
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
}
.article-entry hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2em 0;
}
.article-footer {
  margin-top: 40px;
  border-top: 1px solid #e5e7eb;
  padding-top: 20px;
}
.tag-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-label {
  font-family: 'Geist Mono', 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  color: #9ca3af;
}
.next-article {
  margin-top: 20px;
}
.next-title {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.next-title a {
  color: inherit;
}
.next-title a:hover {
  color: #2d72d7;
}
.hero-meta-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.meta-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.meta-label {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  color: #9ca3af;
}
.meta-value {
  font-family: 'Geist Mono', 'SF Mono', 'Fira Code', monospace;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}
.read-time-pill {
  font-family: 'Geist Mono', 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  color: #6b7280;
}
.meta-date {
  font-family: 'Geist Mono', 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  color: #6b7280;
}
.meta-sep {
  color: #e5e7eb;
  margin: 0 6px;
}
.highlight-card {
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  padding: 14px;
}
.highlight-label {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 6px;
}
.highlight-quote {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.2;
}
.quote-card {
  border-radius: 16px;
  background: #1a1a1a;
  padding: 20px;
  color: #fff;
  margin: 1.5em 0;
}
.quote-card .quote-mark {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 44px;
  color: #2d72d7;
  line-height: 0.9;
}
.quote-card .quote-body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.15;
  margin-top: 12px;
}
.quote-card .quote-source {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  color: #9ca3af;
  margin-top: 12px;
}
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 20px;
  width: 44px;
  height: 44px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  transform: rotate(-90deg);
}
.progress-ring-bg {
  stroke: #e5e7eb;
}
.progress-ring-fill {
  stroke: #2d72d7;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s;
}
.back-to-top-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #6b7280;
  line-height: 1;
}
.back-to-top:hover .back-to-top-icon {
  color: #2d72d7;
}
.support-rail {
  width: 286px;
  flex-shrink: 0;
  position: sticky;
  top: 85px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 767px) {
  .support-rail {
    width: 100%;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .support-rail .card {
    flex: 1;
    min-width: 200px;
  }
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sidebar-author .author-name,
.sidebar-author-card .author-name {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 6px;
}
.sidebar-author .author-bio,
.sidebar-author-card .author-bio {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}
.sidebar-topics .topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.toc-card {
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  position: sticky;
  top: 80px;
}
.toc-label {
  font-family: 'Geist Mono', 'SF Mono', 'Fira Code', monospace;
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 10px;
  display: block;
}
.toc-content {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
}
.toc-content ol {
  list-style: none;
  padding: 0;
}
.toc-content li {
  margin-bottom: 6px;
}
.toc-content a {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.5;
  display: block;
  padding: 4px 0;
}
.toc-content a:hover {
  color: #2d72d7;
}
.toc-content .toc-child {
  padding-left: 12px;
}
.toc-content .toc-child a {
  font-size: 11px;
}
.reading-stats-card .stats-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stat-item {
  background: #f7f8fa;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-label {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  color: #9ca3af;
}
.stat-value {
  font-family: 'Geist Mono', 'SF Mono', 'Fira Code', monospace;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}
.stat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.subscribe-card {
  background: #2d72d7;
  border-radius: 16px;
  padding: 16px;
  color: #fff;
}
.subscribe-card .subscribe-title {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  font-weight: 600;
}
.subscribe-card .subscribe-body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.85;
}
.subscribe-card .subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: #1a1a1a;
  border-radius: 9999px;
  padding: 6px 12px;
  font-family: 'Geist Mono', 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  margin-top: 12px;
}
.archive-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}
@media (max-width: 767px) {
  .archive-page {
    padding: 0 16px;
  }
}
.archive-year {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  margin-top: 20px;
}
.archive-year:first-child {
  margin-top: 0;
}
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.archive-item {
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.15s;
}
.archive-item:hover {
  border-color: #2d72d7;
}
.archive-date {
  font-family: 'Geist Mono', 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  color: #6b7280;
  flex-shrink: 0;
}
.archive-title {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a,
.pagination span {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  color: #6b7280;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.15s;
}
.pagination .page-number:hover {
  border-color: #2d72d7;
  color: #2d72d7;
}
.pagination .current {
  background: #2d72d7;
  color: #fff;
  border-color: #2d72d7;
}
.pagination .extend {
  border: none;
  padding: 6px 8px;
}
.pagination .extend:hover {
  border: none;
  color: #2d72d7;
}
.pagination .space {
  border: none;
  color: #6b7280;
}
.article-entry pre .highlight {
  background: transparent;
}
.article-entry pre .gutter .line {
  color: #9ca3af;
}
.article-entry pre .code .line {
  color: #374151;
}
.article-entry .highlight .comment,
.article-entry .highlight .quote {
  color: #9ca3af;
  font-style: italic;
}
.article-entry .highlight .keyword,
.article-entry .highlight .selector-tag,
.article-entry .highlight .addition {
  color: #635bff;
  font-weight: 500;
}
.article-entry .highlight .string,
.article-entry .highlight .attr,
.article-entry .highlight .value {
  color: #059669;
}
.article-entry .highlight .number,
.article-entry .highlight .literal,
.article-entry .highlight .type,
.article-entry .highlight .built_in {
  color: #d97706;
}
.article-entry .highlight .title,
.article-entry .highlight .section,
.article-entry .highlight .name {
  color: #1a1a1a;
  font-weight: 600;
}
.article-entry .highlight .variable,
.article-entry .highlight .template-variable {
  color: #635bff;
}
.article-entry .highlight .params {
  color: #374151;
}
.article-entry .highlight .meta {
  color: #9ca3af;
}
.article-entry .highlight .deletion {
  color: #ef4444;
}
