:root {
  --ink: #202122;
  --muted: #54595d;
  --rule: #a2a9b1;
  --soft-rule: #c8ccd1;
  --link: #3366cc;
  --link-hover: #3056a9;
  --panel: #f8f9fa;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.62 var(--font); }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
img { max-width: 100%; }
h1, h2, h3, p, figure { margin-top: 0; }
.skip-link { position: absolute; top: -50px; left: 15px; padding: 8px 12px; background: var(--ink); color: #fff; z-index: 10; }
.skip-link:focus { top: 8px; color: #fff; }
.site-header { border-bottom: 1px solid var(--soft-rule); background: #fff; }
.site-header-inner { max-width: 1420px; margin: auto; min-height: 68px; display: flex; align-items: center; gap: 18px; padding: 0 32px; }
.site-name { color: var(--ink); font: bold 23px/1 var(--serif); white-space: nowrap; }
.site-name:hover { color: var(--ink); text-decoration: none; }
.site-description { color: var(--muted); font-size: 13px; padding-left: 17px; border-left: 1px solid var(--soft-rule); }
.site-header nav { margin-left: auto; display: flex; gap: 26px; font-size: 14px; }
.site-main { max-width: 1420px; margin: 0 auto; padding: 36px 32px 80px; }
.article-header { border-bottom: 1px solid var(--rule); padding-bottom: 13px; margin-bottom: 24px; }
.article-kicker { color: var(--muted); font-size: 13px; margin-bottom: 3px; }
.article-header h1 { font: normal 39px/1.17 var(--serif); margin: 0 0 3px; }
.article-subtitle { color: var(--muted); font-size: 14px; margin: 0; }
.article-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 35px; }
.contents { position: sticky; top: 25px; align-self: start; padding-top: 2px; border-right: 1px solid var(--soft-rule); font-size: 13px; line-height: 1.45; }
.contents-title { font-weight: 700; font-size: 15px; margin: 0 0 12px; }
.contents ol { list-style: none; margin: 0; padding: 0 18px 0 0; }
.contents li { margin: 0 0 10px; }
.contents li ol { margin: 9px 0 0 12px; padding-left: 11px; border-left: 1px solid var(--soft-rule); }
.contents li ol li { margin-bottom: 8px; }
.contents a { color: var(--ink); }
.contents a:hover { color: var(--link); }
.article-content { min-width: 0; max-width: 1050px; }
.article-content p, .article-content li { max-width: 78ch; }
.article-content p { margin-bottom: 16px; }
.lead { font-size: 17px; line-height: 1.65; }
.article-content section { scroll-margin-top: 20px; }
.article-content section h2 { font: normal 27px/1.3 var(--serif); border-bottom: 1px solid var(--rule); padding-bottom: 5px; margin: 31px 0 16px; }
.article-content section h3 { font-size: 19px; line-height: 1.35; margin: 24px 0 9px; }
.article-content section ul { padding-left: 25px; margin: 0 0 18px; }
.article-content section li { margin-bottom: 9px; }
.platform-links { columns: 3; column-gap: 32px; }
.platform-links li { break-inside: avoid; }
.ref { font-size: 11px; vertical-align: super; line-height: 0; margin-left: 2px; white-space: nowrap; }
.ref a { text-decoration: none; }
.infobox { float: right; width: 294px; margin: 3px 0 24px 28px; border: 1px solid var(--rule); background: var(--panel); font-size: 13px; line-height: 1.4; }
.infobox figure { padding: 8px 8px 0; margin: 0; }
.infobox img { display: block; width: 100%; height: 265px; object-fit: cover; object-position: center 29%; background: #d6dee3; }
.infobox figcaption { text-align: center; font-size: 13px; padding: 7px 4px 10px; }
.infobox table { width: 100%; border-collapse: collapse; }
.infobox th, .infobox td { text-align: left; vertical-align: top; padding: 7px 9px; border-top: 1px solid var(--soft-rule); }
.infobox th { width: 88px; font-weight: 700; }
.infobox td { overflow-wrap: anywhere; }
.references { padding-left: 29px; font-size: 13px; line-height: 1.55; }
.references li { padding-left: 3px; margin-bottom: 11px; max-width: none; overflow-wrap: anywhere; }
.references li:target { background: #eaecf0; }
.site-footer { max-width: 1420px; margin: auto; border-top: 1px solid var(--soft-rule); padding: 20px 32px 32px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }
@media (max-width: 1050px) {
  .article-layout { grid-template-columns: 150px minmax(0, 1fr); gap: 26px; }
  .contents { font-size: 12px; }
  .infobox { width: 270px; }
}
@media (max-width: 820px) {
  .site-header-inner { padding: 0 20px; }
  .site-main { padding: 26px 20px 65px; }
  .article-layout { display: block; }
  .contents { position: static; border: 1px solid var(--soft-rule); background: var(--panel); padding: 12px 15px 4px; margin: 0 0 24px; font-size: 13px; }
  .contents-title { margin-bottom: 8px; }
  .contents > ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .contents li ol { display: none; }
  .infobox { width: 260px; }
}
@media (max-width: 600px) {
  .site-header-inner { min-height: 57px; }
  .site-name { font-size: 20px; }
  .site-description { font-size: 12px; }
  .site-header nav { display: none; }
  .article-header h1 { font-size: 34px; }
  .article-content section h2 { font-size: 25px; }
  .infobox { float: none; width: min(100%, 330px); margin: 0 auto 23px; }
  .infobox img { height: 300px; }
  .lead { font-size: 16px; }
  .platform-links { columns: 2; }
  .site-footer { padding-inline: 20px; }
}
@media (max-width: 380px) {
  .site-description { display: none; }
  .contents > ol { grid-template-columns: 1fr; }
  .infobox { width: 100%; }
  .platform-links { columns: 1; }
  .site-footer { display: block; }
  .site-footer a { display: inline-block; margin-top: 8px; }
}
@media print {
  .site-header, .contents, .site-footer, .skip-link { display: none; }
  .site-main { max-width: none; padding: 0; }
  .article-layout { display: block; }
  a { color: inherit; text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
