*, *::before, *::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; }
body { margin: 0; color: #000; background: #fff; font-family: inherit; line-height: inherit; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }

#site-root { display: flow-root; }
.site-shell { width: 100%; max-width: 1024px; margin: 56px auto; padding: 0 8px; }
.site-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; font-size: 24px; line-height: 32px; }
.brand { display: flex; cursor: pointer; color: #000; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }
.site-description { color: #6b7280; font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; font-weight: 100; }
.site-description::before { content: "\2014"; margin: 0 .2em; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.tools-link { color: #6b7280; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; font-size: 16px; line-height: 24px; }
.tools-link:hover { color: #000; }
.social-link { display: block; }

a { color: #1e40af; border-bottom: 1px solid #2563eb; font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; line-height: 20px; text-decoration: none; }
.no-underline { border-bottom: 0; text-decoration: none; }

.post-card, .post-page { padding: 20px 0; border-radius: 4px; line-height: 36px; }
.post-card > * + * { margin-top: 8px; }
.post-card h2, .post-page > h1, .privacy-page > h1 { margin: 16px 0; padding: 16px 0; color: #000; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; font-size: 48px; font-weight: 700; line-height: 48px; }
.post-title-link { display: block; color: #000; }
.post-title-link:hover h2 { color: #374151; }
.date-row { display: flex; align-items: center; padding-top: 8px; line-height: 36px; }
.date-item { display: flex; align-items: center; gap: 8px; }
.clock-icon { width: 20px; height: 20px; flex: 0 0 20px; color: #9ca3af; }
.post-excerpt { color: #374151; font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; font-size: 20px; line-height: 40px; }
.post-excerpt p { min-height: 1px; margin: 20px 0; color: #000; }
.continue-link { padding-top: 20px; }
.continue-link a { display: inline-block; padding-bottom: 4px; font-size: 20px; line-height: 28px; }

.article-dates { gap: 8px; }
.article-dates .date-item + .date-item { margin-left: 0; }
.prose { margin-top: 8px; color: #374151; font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; font-size: 20px; line-height: 40px; }
.prose p { min-height: 1px; margin: 20px 0; color: #000; }
.prose em { font-style: italic; }
.prose h1 { margin: 24px 0; color: #000; font-size: 36px; font-weight: 700; line-height: 40px; }
.prose h2 { margin: 20px 0; color: #000; font-size: 30px; font-weight: 700; line-height: 36px; }
.prose h3 { margin: 16px 0; color: #000; font-size: 24px; font-weight: 700; line-height: 32px; }
.prose blockquote { margin: 20px 0; padding-left: 20px; border-left-width: 1px; color: #000; }
.prose ol, .prose ul { margin: 10px; padding: 10px; color: #000; list-style-type: disc; }
.prose ol { list-style-type: decimal; }
.prose li { margin: 0; padding: 0; }
.prose hr { margin: 0; border-top-width: 1px; }
.prose pre { margin: 20px 0; padding: 16px; overflow-x: auto; border-radius: 4px; background: #f3f4f6; font: 14px/24px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.prose :not(pre) > code { padding: 2px 4px; border-radius: 3px; background: #f3f4f6; font-size: .875em; }
.prose figure { margin: 20px 0; }
.prose figcaption { color: #6b7280; font-size: 16px; line-height: 24px; }
.prose .callout { display: flex; gap: 12px; margin: 20px 0; padding: 16px; background: #f3f4f6; }
.prose .todo { display: flex; gap: 8px; }
.prose .table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; }
.prose td { padding: 8px; border-width: 1px; }
.prose .columns { display: flex; gap: 16px; }
.prose .column { flex: 1; min-width: 0; }

.tools-page { padding: 32px 0; }
.tools-page > h1 { margin: 24px 0; padding-bottom: 8px; color: #000; font-size: 48px; font-weight: 700; line-height: 48px; }
.tools-intro { margin: 20px 0; padding-bottom: 32px; color: #6b7280; font-size: 18px; line-height: 28px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tool-card { display: block; padding: 20px; border: 1px solid #e5e7eb; border-radius: 8px; color: #1e40af; transition: border-color .15s ease, box-shadow .15s ease; }
.tool-card:hover { border-color: #9ca3af; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.tool-card h3 { margin: 16px 0; color: #000; font-size: 18px; font-weight: 600; line-height: 28px; }
.tool-card span { display: block; margin-top: 8px; color: #9ca3af; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 14px; line-height: 20px; }

.not-found { padding: 32px 0; }
.not-found h1 { margin: 24px 0; font-size: 48px; line-height: 48px; }
.not-found p { margin: 20px 0; }
footer { display: flex; justify-content: center; margin-top: 40px; margin-bottom: 20px; }

@media (min-width: 768px) {
  .article-dates { gap: 8px; }
}

@media (max-width: 767px) {
  .site-header { align-items: center; }
  .brand { display: block; }
  .brand span { display: block; }
  .site-description::before { content: ""; margin: 0; }
  .article-dates { display: block; }
  .article-dates .date-item + .date-item { margin-top: 0; }
  .tool-grid { grid-template-columns: 1fr; }
  .prose .columns { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
