:root {
    --paper: #f6f8fa;
    --surface: #ffffff;
    --surface-2: #edf2f6;
    --ink: #223449;
    --muted: #65758a;
    --line: #dee5ec;
    --blue: #315f80;
    --blue-2: #20465f;
    --orange: #cc5933;
    --orange-soft: #fff0e9;
    --code: #203547;
    --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    color-scheme: light;
}
:root[data-theme="dark"] {
    --paper: #16202b;
    --surface: #1d2a38;
    --surface-2: #253648;
    --ink: #e5edf6;
    --muted: #a8b8cc;
    --line: #35475b;
    --blue: #9bc7e8;
    --blue-2: #c3ddf2;
    --orange: #ffad88;
    --orange-soft: #44322d;
    --code: #111b26;
    color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }
::selection { background: var(--orange-soft); color: var(--ink); }
.shell { width: min(1140px, calc(100% - 64px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { z-index: 100; position: fixed; top: 12px; left: 12px; padding: 8px 12px; background: var(--surface); }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* A quiet masthead; the articles carry the page. */
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: var(--surface); }
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 30px; }
.brand { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 29px; height: 29px; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 3px; }
.brand-mark::before, .brand-mark i { content: ""; display: block; background: var(--blue); border-radius: 2px; }
.brand-mark::before { grid-row: 1 / 3; }
.brand-mark i:first-child { background: var(--orange); }
.brand-mark i:nth-child(3) { grid-column: 2; }
.brand-mark i:nth-child(2) { display: none; }
.brand-type { display: grid; line-height: 1.25; }
.brand-type strong { font-size: 19px; letter-spacing: -.035em; font-weight: 750; }
.brand-type small { margin-top: 3px; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; flex: 1; gap: 22px; }
.site-nav a { padding: 8px 0; color: var(--muted); font-size: 13px; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--blue); }
.site-nav a.is-current { color: var(--ink); font-weight: 700; }
.header-actions { display: flex; flex-shrink: 0; gap: 4px; }
.header-actions button, .menu-toggle { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); }
.header-actions svg { width: 19px; height: 19px; }
.header-actions button:hover, .menu-toggle:hover { background: var(--surface-2); color: var(--ink); }
.menu-toggle { display: none; font-size: 13px; }
.search-drawer { border-top: 1px solid var(--line); background: var(--surface); }
.search-form { display: grid; grid-template-columns: 210px 1fr; align-items: center; gap: 24px; padding-block: 22px; }
.search-form label { font-size: 14px; }
.search-form > div { display: flex; min-width: 0; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); }
.search-form > div:focus-within { outline: 3px solid var(--blue); outline-offset: 4px; }
.search-form input:focus-visible { outline: none; }
.search-form button:focus-visible { outline-offset: -4px; outline-color: var(--surface); }
.search-form input { flex: 1; min-width: 0; padding: 11px 14px; border: 0; border-radius: 5px 0 0 5px; background: transparent; color: var(--ink); }
.search-form button { padding: 0 20px; border: 0; border-radius: 0 5px 5px 0; background: var(--blue); color: var(--surface); font-weight: 650; }

/* Compact introduction and content navigation. */
.home-intro { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 44px 36px; }
.intro-copy { min-width: 0; }
.intro-copy h1 { margin: 0; font-size: clamp(27px, 2.7vw, 36px); line-height: 1.35; letter-spacing: -.035em; font-weight: 750; }
.intro-lede { max-width: 580px; margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.discovery-search { flex: 0 0 310px; display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.discovery-search svg { flex-shrink: 0; width: 17px; height: 17px; color: var(--muted); }
.discovery-search input { min-width: 0; width: 100%; padding: 7px 0; border: 0; background: transparent; color: var(--ink); font-size: 13px; }
.discovery-search input::placeholder { color: var(--muted); }
.discovery-search button { flex-shrink: 0; min-height: 36px; padding: 0 12px; border: 0; border-radius: 5px; background: var(--surface-2); color: var(--blue); font-size: 13px; font-weight: 650; }
.browse-layout { display: grid; grid-template-columns: minmax(0, 1fr) 238px; gap: 40px; padding-bottom: 36px; }
.feed-column { min-width: 0; }
.feed-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.feed-heading h2 { margin: 0; font-size: 17px; font-weight: 700; }
.feed-heading > span { color: var(--muted); font-size: 11px; }
.project-feed { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.featured-project { display: grid; grid-template-columns: minmax(0, 1fr) 215px; gap: 16px; align-items: center; padding: 26px; background: linear-gradient(115deg, var(--surface) 38%, var(--surface-2)); }
.featured-body { min-width: 0; }
.featured-label { display: inline-block; margin-bottom: 14px; padding: 2px 8px; border-radius: 4px; background: var(--orange-soft); color: var(--orange); font-size: 11px; font-weight: 700; }
.repo-line { margin-bottom: 8px; color: var(--muted); font-family: var(--mono); font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.featured-project h2 { margin: 0; font-size: 25px; line-height: 1.48; letter-spacing: -.025em; font-weight: 700; text-wrap: pretty; }
.featured-project h2 a, .project-row h2 a { text-decoration: none; }
.featured-project h2 a:hover, .project-row h2 a:hover { color: var(--blue); }
.project-excerpt { color: var(--muted); font-size: 13px; line-height: 1.85; }
.featured-project .project-excerpt { margin-top: 12px; }
.project-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 20px; color: var(--muted); font-size: 11px; }
.project-meta span a { text-decoration: none; }
.read-link { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--blue); text-decoration: none; }
.featured-art { display: grid; place-items: center; min-width: 0; }
.featured-art img { width: 100%; aspect-ratio: 3 / 2; max-height: 245px; object-fit: contain; border-radius: 8px; }
.project-row { display: grid; grid-template-columns: minmax(0, 1fr) 136px; align-items: center; gap: 24px; padding: 26px; border-top: 1px solid var(--line); }
.project-row:first-child { border-top: 0; }
.project-row:hover { background: color-mix(in srgb, var(--surface-2) 45%, var(--surface)); }
.project-mark { display: grid; place-items: center; flex: 0 0 40px; height: 40px; margin-top: 2px; border-radius: 9px; background: var(--surface-2); color: var(--blue); font-size: 19px; font-weight: 650; }
.project-row:nth-child(3n) .project-mark { background: var(--orange-soft); color: var(--orange); }
.project-main { flex: 1; min-width: 0; }
.project-row h2 { margin: 0; font-size: 19px; line-height: 1.6; font-weight: 650; letter-spacing: -.015em; text-wrap: pretty; }
.project-row .project-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 8px; }
.project-thumb { display: block; align-self: center; min-width: 0; overflow: hidden; aspect-ratio: 3 / 2; border-radius: 7px; background: var(--surface-2); }
.project-thumb img { width: 100%; height: 100%; object-fit: contain; }
.row-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; color: var(--muted); font-size: 11px; }
.row-meta a { text-decoration: none; }
.row-meta time { margin-left: auto; }
.browse-aside { padding-top: 42px; }
.category-directory h2 { margin: 0 0 10px; font-size: 14px; font-weight: 650; }
.category-directory ul { margin: 0; padding: 0; list-style: none; }
.category-directory a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; text-decoration: none; }
.category-directory a:hover { color: var(--blue); }
.category-directory small { display: grid; place-items: center; min-width: 24px; padding-inline: 4px; height: 22px; border-radius: 4px; background: var(--surface-2); color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.editor-note { margin-top: 28px; padding: 22px 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.note-mark { display: block; margin-bottom: 12px; color: var(--blue); font-family: var(--mono); font-size: 16px; font-weight: 700; }
.editor-note h2 { margin: 0; font-size: 15px; font-weight: 650; }
.editor-note p { margin: 10px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.editor-note a { color: var(--blue); font-size: 12px; text-decoration: none; }
.archive-head { padding-block: 42px 32px; }
.archive-head p { margin: 0 0 7px; color: var(--muted); font-size: 12px; }
.archive-head h1 { margin: 0; font-size: 32px; line-height: 1.35; letter-spacing: -.03em; }
.archive-head span { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; }
.empty-state { padding: 70px 20px; text-align: center; }
.preview-notice { margin: 18px 0 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.empty-state h2 { font-size: 23px; }
.empty-state p { color: var(--muted); font-size: 14px; }
.pagination { padding-block: 28px 16px; }
.pagination ol { display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pagination a, .pagination span { display: grid; min-width: 36px; height: 36px; place-items: center; padding-inline: 12px; border: 1px solid var(--line); border-radius: 5px; font-size: 12px; text-decoration: none; }
.pagination .current a, .pagination .current span { border-color: var(--blue); background: var(--blue); color: var(--paper); }

/* Tutorial typography stays comfortable without poster-sized headings. */
.article-shell { padding-block: 48px 24px; }
.article-header { max-width: 850px; margin-bottom: 36px; }
.article-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 17px; color: var(--muted); font-size: 12px; }
.article-breadcrumb a { color: var(--blue); text-decoration: none; }
.article-header h1 { margin: 0; font-size: clamp(27px, 3vw, 38px); line-height: 1.5; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.article-deck { max-width: 700px; margin: 15px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.article-deck:empty { display: none; }
.article-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; color: var(--muted); font-size: 12px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 740px) minmax(210px, 1fr); gap: 60px; align-items: start; }
.article-content { min-width: 0; font-size: 17px; line-height: 1.9; overflow-wrap: anywhere; }
.article-content > :first-child { margin-top: 0; }
.article-content p { margin: 1.3em 0; }
.article-content figure { margin: 30px 0; }
.article-content figure > a { display: block; }
.article-content figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.article-content figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.article-content .article-check-note { padding: 14px 18px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.article-check-note .article-license { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.article-project-address { margin-top: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); }
.article-project-address span, .article-project-address small { display: block; color: var(--muted); font-size: 12px; }
.project-address-row { display: flex; align-items: center; gap: 12px; margin-block: 8px; padding: 9px 10px; border-radius: 4px; background: var(--surface-2); }
.article-content .article-project-address code { display: block; flex: 1; min-width: 0; margin: 0; padding: 0; background: none; color: var(--ink); user-select: text; overflow-wrap: anywhere; }
.copy-project-url { flex-shrink: 0; min-height: 36px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--blue); font-size: 12px; font-weight: 600; white-space: nowrap; }
.copy-project-url:hover { border-color: var(--blue); }
.toc { max-height: calc(100vh - 265px); overflow-y: auto; }
.article-content h2 { margin: 2em 0 .7em; font-size: 25px; line-height: 1.5; letter-spacing: -.02em; font-weight: 700; }
.article-content h3 { margin: 1.8em 0 .6em; font-size: 20px; line-height: 1.5; }
.article-content a { color: var(--blue); }
.article-content ul, .article-content ol { padding-left: 1.3em; }
.article-content li { margin: .45em 0; padding-left: .3em; }
.article-content blockquote { margin: 1.8em 0; padding: 16px 20px; border-left: 3px solid var(--blue); background: var(--surface-2); }
.article-content blockquote p { margin: 0; }
.article-content code { padding: .15em .35em; border-radius: 3px; background: var(--surface-2); font-family: var(--mono); font-size: .86em; }
.article-content pre { position: relative; overflow-x: auto; margin: 1.8em 0; padding: 22px; border-radius: 6px; background: var(--code); color: #dbe8ee; line-height: 1.65; }
.article-content pre code { padding: 0; background: none; color: inherit; overflow-wrap: normal; }
.copy-code { position: absolute; top: 8px; right: 8px; min-height: 32px; padding: 4px 9px; border: 1px solid #69859d; border-radius: 4px; background: #203b50; color: #fff; font-size: 11px; }
.article-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.8em 0; font-size: 14px; }
.article-content th, .article-content td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.article-content th { background: var(--surface-2); }
.article-content hr { margin: 2.5em 0; border: 0; border-top: 1px solid var(--line); }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; }
.article-tags span { margin-right: 8px; color: var(--muted); }
.article-tags a { padding: 3px 9px; border-radius: 4px; background: var(--surface-2); color: var(--blue); text-decoration: none; }
.article-aside { position: sticky; top: 24px; display: grid; gap: 26px; }
.repo-ticket { padding: 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.repo-ticket span { display: block; color: var(--muted); font-size: 12px; }
.repo-ticket strong { display: block; margin: 10px 0 18px; font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.repo-ticket a { display: block; padding: 8px 10px; border-radius: 4px; background: var(--surface-2); color: var(--blue); font-size: 12px; font-weight: 650; text-align: center; text-decoration: none; }
.toc { padding-top: 16px; border-top: 1px solid var(--line); }
.toc strong { font-size: 13px; }
.toc ol { margin: 12px 0 0; padding: 0; list-style: none; }
.toc li { margin: 9px 0; font-size: 12px; line-height: 1.6; }
.toc .toc-sub { padding-left: 12px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--blue); }
.mobile-toc { display: none; }
.post-recommendations { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); }
.post-recommendations > h2 { margin: 0 0 18px; font-size: 20px; font-weight: 650; }
.recommendation-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.recommendation-card { display: block; min-width: 0; text-decoration: none; }
.recommendation-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-2); }
.recommendation-card h3 { margin: 11px 0 0; font-size: 14px; line-height: 1.7; font-weight: 600; overflow-wrap: anywhere; }
.recommendation-card:hover h3 { color: var(--blue); }
.page-shell { max-width: 850px; padding-block: 48px; }
.page-article .article-content { max-width: 740px; }
.info-shell { padding-block: 48px; }
.info-layout { display: grid; grid-template-columns: 185px minmax(0, 740px); gap: 56px; }
.info-layout > article { min-width: 0; }
.info-nav { position: sticky; top: 28px; align-self: start; display: grid; gap: 10px; padding-right: 20px; border-right: 1px solid var(--line); font-size: 13px; }
.info-nav strong { margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 500; }
.info-nav a { padding-block: 4px; color: var(--muted); text-decoration: none; }
.info-nav a.is-current { color: var(--blue); font-weight: 700; }
.editor-note > a { display: block; margin-top: 10px; }
.intro-kicker { color: var(--muted); font-size: 13px; }
.comments { max-width: 740px; margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line); }
.comments h2 { font-size: 21px; }
.comment-list { padding: 0; list-style: none; }
.comment-list li { margin: 16px 0; padding: 18px; border-radius: 5px; background: var(--surface); }
.comment-list .comment-list { margin-left: 22px; }
.comment-meta { color: var(--muted); font-size: 12px; }
.respond { margin-top: 30px; }
.comment-privacy { color: var(--muted); font-size: 12px; line-height: 1.8; }
.respond label { display: grid; gap: 7px; margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.comment-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.respond input, .respond textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--ink); }
.respond textarea { resize: vertical; }
.respond button { padding: 10px 16px; border: 0; border-radius: 5px; background: var(--blue); color: var(--paper); font-size: 14px; }
.error-page { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.error-page span { color: var(--muted); font-size: 12px; }
.error-page h1 { margin: 14px 0; font-size: 36px; line-height: 1.4; letter-spacing: -.03em; }
.error-page p { max-width: 560px; color: var(--muted); font-size: 14px; }
.error-page > a { margin-top: 16px; padding: 9px 14px; border-radius: 5px; background: var(--blue); color: var(--paper); font-size: 14px; text-decoration: none; }
.site-footer { margin-top: 20px; border-top: 1px solid var(--line); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 28px; }
.footer-brand { font-size: 16px; font-weight: 700; text-decoration: none; }
.footer-grid p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; max-width: 720px; min-width: 0; color: var(--muted); font-size: 12px; }
.footer-meta, .footer-filings { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 18px; max-width: 100%; line-height: 1.7; }
.footer-meta > span { min-width: 0; }
.footer-filings a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.footer-filings img { display: block; flex: none; width: 16px; height: 18px; object-fit: contain; }
.preview-note { margin: 20px 0 0; color: var(--muted); font-size: 11px; }

@media (max-width: 1050px) {
    .site-nav { gap: 14px; }
    .header-inner { gap: 18px; }
    .browse-layout { grid-template-columns: minmax(0, 1fr) 205px; gap: 28px; }
    .featured-project { grid-template-columns: minmax(0, 1fr) 170px; padding: 22px; }
    .featured-project h2 { font-size: 23px; }
    .article-layout { gap: 36px; }
}
@media (max-width: 900px) {
    .info-layout { grid-template-columns: 1fr; gap: 28px; }
    .info-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px 18px; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 16px; }
    .info-nav strong { width: 100%; margin-bottom: 0; }
    .shell { width: calc(100% - 40px); }
    .header-inner { gap: 10px; }
    .menu-toggle { display: grid; margin-left: auto; padding-inline: 10px; }
    .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--surface); justify-content: flex-start; flex-wrap: wrap; }
    .site-nav.is-open { display: flex; }
    .home-intro { align-items: flex-start; gap: 24px; }
    .discovery-search { flex-basis: 270px; }
    .browse-layout { grid-template-columns: 1fr; }
    .browse-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; padding-top: 0; }
    .editor-note { margin-top: 0; }
    .featured-project { grid-template-columns: minmax(0, 1fr) 220px; }
    .article-layout { grid-template-columns: 1fr; }
    .article-content { max-width: 740px; }
    .article-aside { position: static; grid-template-columns: 1fr; }
    .toc { padding: 16px 20px; border: 1px solid var(--line); border-radius: 6px; }
    .toc { max-height: none; overflow: visible; }
    .article-aside .toc { display: none; }
    .mobile-toc { display: block; margin-bottom: 26px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); font-size: 14px; }
    .mobile-toc summary { cursor: pointer; color: var(--blue); }
    .mobile-toc ol { list-style: none; margin: 14px 0 0; padding: 0; }
    .mobile-toc li { margin: 8px 0; padding: 0; line-height: 1.7; }
    .mobile-toc .toc-sub { padding-left: 12px; }
    .mobile-toc a { text-decoration: none; }
    .mobile-toc + p { margin-top: 0; }
}
@media (max-width: 650px) {
    .recommendation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
    .info-shell { padding-top: 28px; }
    .footer-links { align-items: flex-start; }
    .footer-meta, .footer-filings { justify-content: flex-start; }
    .shell { width: calc(100% - 32px); }
    .header-inner { min-height: 64px; }
    .brand-type small { display: none; }
    .brand-type strong { font-size: 17px; }
    .brand-mark { width: 26px; height: 26px; }
    .header-actions { gap: 0; }
    .header-actions button { min-width: 36px; height: 40px; }
    .site-nav { top: 64px; }
    .search-form { grid-template-columns: 1fr; gap: 10px; padding-block: 16px; }
    .search-form > div { min-width: 0; }
    .home-intro { flex-direction: column; gap: 20px; padding-block: 28px 26px; }
    .intro-copy h1 { font-size: 27px; }
    .intro-lede { margin-top: 9px; font-size: 13px; }
    .discovery-search { flex-basis: auto; width: 100%; }
    .feed-heading { margin-bottom: 12px; }
    .feed-heading h2 { font-size: 16px; }
    .featured-project { grid-template-columns: minmax(0, 1fr) 88px; gap: 14px; padding: 20px; }
    .featured-art { display: grid; }
    .featured-label { margin-bottom: 12px; }
    .featured-project h2 { font-size: 21px; line-height: 1.55; }
    .featured-project .project-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
    .project-meta { margin-top: 16px; }
    .project-row { grid-template-columns: minmax(0, 1fr) 88px; padding: 22px 18px; gap: 14px; }
    .project-mark { flex-basis: 32px; height: 32px; font-size: 16px; border-radius: 6px; }
    .project-row h2 { font-size: 17px; }
    .row-meta { gap: 10px; }
    .browse-aside { grid-template-columns: 1fr; }
    .article-shell, .page-shell { padding-top: 30px; }
    .article-header { margin-bottom: 28px; }
    .article-header h1 { font-size: 27px; line-height: 1.5; }
    .article-deck { font-size: 14px; }
    .article-meta { gap: 8px 16px; }
    .article-layout { gap: 30px; }
    .article-aside { grid-template-columns: 1fr; }
    .article-content { font-size: 16px; }
    .article-content h2 { font-size: 23px; }
    .article-content pre { padding: 20px 16px; }
    .post-near, .comment-fields { grid-template-columns: 1fr; }
    .footer-grid { align-items: flex-start; flex-direction: column; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

