:root {
  color-scheme: light;
  --ink: #1a1a1a;
  --muted: #555;
  --accent: #b53522;
  --line: #deded8;
  --paper: #fff;
  --soft: #f6f6f3;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.75 var(--sans); }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { max-width: 100%; }
.skip-link { position: absolute; top: -6rem; left: 1rem; padding: .5rem 1rem; background: var(--ink); color: white; z-index: 1; }
.skip-link:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); border-top: 4px solid #ce422b; }
.navigation, .site-footer, .home { max-width: 1120px; margin: auto; padding-left: 32px; padding-right: 32px; }
.navigation { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 1.25rem; letter-spacing: -.04em; }
.brand img { object-fit: contain; }
.brand-press { display: inline-block; margin-left: 7px; font-weight: 450; color: var(--muted); letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: .875rem; }
.nav-links a { color: var(--ink); text-decoration: none; }
.nav-links a:hover { text-decoration: underline; }
.language-link { border-left: 1px solid var(--line); padding-left: 24px; }
.eyebrow { color: var(--accent); font: 600 .75rem/1.5 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.25; text-wrap: balance; }
.home-header { padding-top: 76px; padding-bottom: 64px; }
.home-header h1 { max-width: 900px; font-size: clamp(2.5rem, 5vw, 4.25rem); letter-spacing: -.05em; font-weight: 720; margin: 22px 0; }
.intro { max-width: 640px; font-size: 1.125rem; color: var(--muted); }
.articles { padding-bottom: 100px; }
.articles > h2 { font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.article-preview { display: grid; grid-template-columns: 200px 1fr; gap: 36px; padding: 28px 0 40px; border-bottom: 1px solid var(--line); }
.preview-meta { display: flex; flex-direction: column; gap: 7px; color: var(--muted); font: .8rem/1.7 var(--mono); }
.article-preview h3 { margin: 0 0 14px; max-width: 720px; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.025em; }
.article-preview h3 a { color: var(--ink); text-decoration: none; }
.article-preview h3 a:hover { text-decoration: underline; }
.article-preview p { max-width: 680px; color: var(--muted); margin: 0 0 18px; }
.read-link { font-weight: 600; text-decoration: none; font-size: .9rem; }
.article { max-width: 872px; margin: auto; padding: 64px 32px 80px; }
.article-header h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -.04em; margin: 20px 0 28px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: .8rem; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 32px; }
.contents { margin: 32px 0; background: var(--soft); border-left: 3px solid var(--line); padding: 14px 20px; font-size: .9rem; }
.contents summary { cursor: pointer; font-weight: 600; }
.contents ol { padding-left: 22px; margin-bottom: 4px; }
.contents li { padding: 3px 0; }
.contents a { color: var(--ink); }
.prose { font-size: 1.0625rem; overflow-wrap: anywhere; }
.prose > p:first-child { font-size: 1.1875rem; line-height: 1.8; }
.prose p { margin: 1.3em 0; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); letter-spacing: -.025em; margin: 2.4em 0 .8em; scroll-margin-top: 2rem; }
.prose code { font: .875em/1.65 var(--mono); background: var(--soft); padding: .1em .25em; border-radius: 3px; }
.prose pre { overflow-x: auto; max-width: 100%; background: #f6f8fa; border: 1px solid #e1e4e8; border-radius: 4px; padding: 20px; line-height: 1.65; margin: 1.75em 0; white-space: pre; overflow-wrap: normal; tab-size: 4; }
.prose pre code { background: transparent; padding: 0; border-radius: 0; font-size: .8125rem; }
.giallo-l { display: inline-block; min-height: 1lh; width: 100%; }
.prose table { width: 100%; border-collapse: collapse; font-size: .875rem; margin: 1.8em 0; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--soft); }
.prose em { color: var(--muted); }
.back-link { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 28px; font-size: .9rem; }
.site-footer { border-top: 1px solid var(--line); padding-top: 32px; padding-bottom: 32px; display: grid; grid-template-columns: 1fr auto; gap: 16px 36px; color: var(--muted); font-size: .8rem; }
.site-footer p { margin: 0; }
.site-footer .footer-name { color: var(--ink); font-weight: 650; font-size: 1rem; margin-bottom: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-content: start; }
.footer-links a { color: var(--muted); }
.legal { grid-column: 1 / -1; font-size: .7rem; }
@media (max-width: 640px) {
  .navigation, .site-footer, .home { padding-left: 20px; padding-right: 20px; }
  .navigation { min-height: 104px; flex-wrap: wrap; justify-content: flex-start; gap: 8px 16px; padding-top: 12px; padding-bottom: 12px; }
  .brand { width: 100%; font-size: 1.125rem; }
  .brand img { width: 28px; height: 28px; }
  .nav-links { gap: 20px; }
  .language-link { padding-left: 20px; }
  .home-header { padding-top: 42px; padding-bottom: 36px; }
  .article-preview { grid-template-columns: 1fr; gap: 14px; }
  .preview-meta { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
  .article { padding: 38px 20px 48px; }
  .article-header h1 { font-size: 2rem; }
  .prose { font-size: 1rem; }
  .prose > p:first-child { font-size: 1.0625rem; }
  .prose pre { padding: 16px; }
  .prose th, .prose td { padding: 10px 8px; }
  .site-footer { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .site-footer, .contents, .back-link { display: none; }
  .article { max-width: none; padding: 0; }
  .prose pre { white-space: pre-wrap; overflow-wrap: anywhere; }
}
