:root {
	--blog-brand: #1457d9;
	--blog-brand-dark: #0b3388;
	--blog-ink: #17243b;
	--blog-muted: #66758d;
	--blog-line: #e3e9f2;
	--blog-surface: #fff;
	--blog-canvas: #f4f7fb;
	--blog-shadow: 0 12px 32px rgba(25, 48, 88, .08);
	--blog-radius: 20px;
	--blog-font: Inter, "Segoe UI", Arial, sans-serif;
	--blog-shell: 1160px;
}

* { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: 6rem;
}

body {
	min-width: 320px;
	min-height: 100vh;
	margin: 0;
	background:
		radial-gradient(ellipse at 88% 4%, rgba(20, 87, 217, .075), transparent 31rem),
		radial-gradient(ellipse at 8% 42%, rgba(27, 164, 183, .055), transparent 32rem),
		var(--blog-canvas);
	color: var(--blog-ink);
	font-family: var(--blog-font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--blog-brand); text-decoration: none; }
a:hover { color: var(--blog-brand-dark); }
button, input { font: inherit; }
button { color: inherit; }
h1, h2, h3, h4 { color: var(--blog-ink); line-height: 1.2; letter-spacing: -.035em; }

:focus-visible {
	outline: 3px solid rgba(20, 87, 217, .6);
	outline-offset: 3px;
}

.shell { width: min(var(--blog-shell), calc(100% - 2rem)); margin-inline: auto; }
.visually-hidden { 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 { position: fixed; z-index: 20; top: .75rem; left: .75rem; padding: .7rem 1rem; transform: translateY(-160%); border-radius: 9px; background: var(--blog-brand-dark); color: #fff; font-weight: 700; }
.skip-link:focus { transform: translateY(0); color: #fff; }

.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid rgba(217, 227, 243, .85); background: rgba(255, 255, 255, .94); box-shadow: 0 8px 28px rgba(20, 39, 76, .06); backdrop-filter: blur(16px) saturate(145%); }
.header-inner { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; min-width: 0; align-items: center; gap: .6rem; color: var(--blog-brand); font-size: 1.1rem; font-weight: 850; letter-spacing: -.045em; white-space: nowrap; }
.brand:hover, .footer-brand:hover { color: var(--blog-brand-dark); }
.brand-mark { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 11px; background: linear-gradient(145deg, #3479ed, #1046b5); box-shadow: 0 5px 12px rgba(20, 87, 217, .2); color: #fff; font-size: 1rem; }
.brand-divider { margin-inline: .5rem; color: #a9bad5; }
.brand-section { color: var(--blog-muted); font-size: .73rem; font-weight: 800; letter-spacing: .13em; }
.nav-menu { position: relative; }
.nav-menu summary { display: none; }
.nav-links { display: flex; align-items: center; gap: .4rem; }
.nav-links a { padding: .55rem .8rem; border-radius: 10px; color: #40516d; font-size: .9rem; font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: #f0f5ff; color: var(--blog-brand); }
.nav-links .nav-cta { margin-left: .35rem; padding-inline: 1rem; background: var(--blog-brand); color: #fff; }
.nav-links .nav-cta:hover { background: var(--blog-brand-dark); color: #fff; }
.nav-cta span { padding-left: .25rem; }

.hero { position: relative; display: grid; min-height: 370px; grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr); align-items: center; overflow: hidden; margin-top: 2rem; padding: clamp(2rem, 6vw, 4.75rem); border: 1px solid #d5e3ff; border-radius: 28px; background: radial-gradient(circle at 88% 18%, rgba(255, 255, 255, .18), transparent 22rem), linear-gradient(125deg, #0b3388, #1457d9 62%, #3479ed); box-shadow: 0 24px 60px rgba(20, 67, 151, .2); color: #fff; }
.hero-copy { position: relative; z-index: 1; max-width: 690px; }
.eyebrow { margin: 0 0 .65rem; color: #cfe0ff; font-size: .74rem; font-weight: 850; letter-spacing: .16em; }
.eyebrow-blue { color: var(--blog-brand); }
.hero h1 { max-width: 680px; margin: 0; color: #fff; font-size: clamp(2.5rem, 5.2vw, 4.45rem); line-height: 1.04; }
.hero-copy > p:not(.eyebrow) { max-width: 600px; margin: 1rem 0 1.5rem; color: #e4edff; font-size: clamp(1rem, 2vw, 1.15rem); }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: .65rem; padding: .68rem 1rem; border: 1px solid transparent; border-radius: 12px; font-size: .92rem; font-weight: 750; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .97); box-shadow: 0 7px 20px rgba(5, 31, 86, .16); color: var(--blog-brand-dark); }
.button-light:hover { background: #fff; color: var(--blog-brand-dark); box-shadow: 0 11px 26px rgba(5, 31, 86, .23); }
.button-primary { background: var(--blog-brand); color: #fff; }
.button-primary:hover { background: var(--blog-brand-dark); color: #fff; }
.hero-art { position: relative; min-height: 235px; }
.hero-orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; transform: translate(-50%, -50%); }
.hero-orbit-one { width: 285px; height: 285px; }
.hero-orbit-two { width: 205px; height: 205px; }
.hero-note { position: absolute; z-index: 2; top: 20%; left: 4%; display: flex; align-items: center; gap: .55rem; padding: .65rem .85rem; border: 1px solid rgba(255, 255, 255, .38); border-radius: 12px; background: rgba(255, 255, 255, .96); box-shadow: 0 12px 26px rgba(5, 31, 86, .18); color: var(--blog-ink); font-size: .84rem; font-weight: 750; transform: rotate(-5deg); }
.hero-note-dot { width: 9px; height: 9px; border-radius: 50%; background: #2bb29f; box-shadow: 0 0 0 4px #dff7f2; }
.hero-stack { position: absolute; top: 50%; left: 52%; width: 174px; height: 190px; padding: 2.2rem 1.35rem; border: 1px solid rgba(255, 255, 255, .68); border-radius: 20px; background: linear-gradient(155deg, #fff, #edf3ff); box-shadow: 0 24px 50px rgba(5, 31, 86, .26); transform: translate(-50%, -50%) rotate(5deg); }
.hero-stack-line { display: block; width: 100%; height: 10px; margin-bottom: 16px; border-radius: 8px; background: #cad7ec; }
.hero-stack-line:first-child { width: 67%; height: 13px; background: var(--blog-brand); }
.hero-stack-line-short { width: 65%; }
.hero-stack-check { position: absolute; right: 1rem; bottom: 1rem; display: grid; width: 35px; height: 35px; place-items: center; border-radius: 11px; background: #ddf5ee; color: #14804a; font-size: 1.35rem; font-weight: 800; }

.article-section { padding-top: 4rem; padding-bottom: 5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; }
.section-heading h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.section-intro { margin: .35rem 0 0; color: var(--blog-muted); }
.homepage-articles { display: grid; gap: 2rem; padding-top: 3rem; }
.homepage-article-section .section-heading { margin-bottom: 1rem; }
.homepage-article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.homepage-articles-empty, .homepage-articles-error { margin: 0; padding: 1rem 1.2rem; border: 1px solid var(--blog-line); border-radius: 14px; background: #fff; color: var(--blog-muted); }
.homepage-articles-error { border-color: #f1c6c6; background: #fff5f5; color: #8e2d2d; }
.filter-panel { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); gap: 1.25rem 2rem; margin: 1.5rem 0 1rem; padding: 1.25rem; border: 1px solid var(--blog-line); border-radius: 18px; background: rgba(255, 255, 255, .88); box-shadow: 0 5px 18px rgba(25, 48, 88, .04); }
.search-field label, .filter-label { display: block; margin-bottom: .48rem; color: var(--blog-ink); font-size: .85rem; font-weight: 750; }
.date-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.sort-field label { display: block; margin-bottom: .48rem; color: var(--blog-ink); font-size: .85rem; font-weight: 750; }
.filter-input { width: 100%; min-height: 46px; padding: .55rem .7rem; border: 1px solid #d6e0ef; border-radius: 11px; background: #fff; color: var(--blog-ink); font-size: .9rem; }
.filter-input:focus-visible { border-color: #8db1f5; }
.search-control { display: flex; min-height: 46px; align-items: center; gap: .6rem; padding: 0 .75rem; border: 1px solid #d6e0ef; border-radius: 11px; background: #fff; }
.search-control:focus-within { border-color: #8db1f5; box-shadow: 0 0 0 3px rgba(20, 87, 217, .11); }
.search-control svg { width: 19px; flex: 0 0 19px; fill: none; stroke: #71819a; stroke-linecap: round; stroke-width: 1.8; }
.search-control input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--blog-ink); font-size: .9rem; }
.search-control input::placeholder { color: #8b98ac; }
.search-clear { width: 30px; height: 30px; flex: 0 0 30px; border: 0; border-radius: 8px; background: transparent; color: var(--blog-muted); font-size: 1.4rem; cursor: pointer; }
.search-clear:hover { background: #f0f5ff; color: var(--blog-brand); }
.category-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-chip { min-height: 36px; padding: .4rem .8rem; border: 1px solid #dce5f3; border-radius: 999px; background: #fff; color: #40516d; font-size: .83rem; font-weight: 700; cursor: pointer; transition: color .18s ease, border-color .18s ease, background .18s ease; }
.filter-chip:hover { border-color: #a8c3f5; color: var(--blog-brand); }
.filter-chip.is-active { border-color: var(--blog-brand); background: #edf3ff; color: var(--blog-brand-dark); }
.results-count { min-height: 1.5em; margin: 1.2rem 0 .9rem; color: var(--blog-muted); font-size: .9rem; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.article-card { min-width: 0; overflow: hidden; border: 1px solid var(--blog-line); border-radius: 19px; background: #fff; box-shadow: 0 8px 22px rgba(25, 48, 88, .05); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.article-card:hover { transform: translateY(-4px); border-color: #c5d6f4; box-shadow: 0 17px 34px rgba(25, 70, 150, .11); }
.card-image-link { display: block; overflow: hidden; background: #edf3ff; }
.card-image-link img { width: 100%; aspect-ratio: 1.6; object-fit: cover; transition: transform .35s ease; }
.article-card:hover .card-image-link img { transform: scale(1.025); }
.card-content { padding: 1.35rem; }
.card-category { margin: 0 0 .55rem; color: var(--blog-brand); font-size: .74rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.card-content h3 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.42rem); }
.card-content h3 a { color: var(--blog-ink); overflow-wrap: anywhere; }
.card-content h3 a:hover { color: var(--blog-brand); }
.card-excerpt { min-height: 3.2em; margin: .75rem 0 1rem; color: var(--blog-muted); font-size: .94rem; }
.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding-top: .8rem; border-top: 1px solid #edf1f7; color: var(--blog-muted); font-size: .8rem; }
.card-serial { display: inline-flex; align-items: center; width: fit-content; margin-bottom: .55rem; padding: .18rem .5rem; border-radius: 999px; background: #f0f5ff; color: var(--blog-brand-dark); font-size: .75rem; font-weight: 800; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .85rem; font-size: .9rem; font-weight: 800; }
.text-link span, .button span { transition: transform .18s ease; }
.text-link:hover span, .button:hover span { transform: translateX(3px); }
.empty-state { padding: 3rem 1rem; text-align: center; }
.empty-icon { display: grid; width: 46px; height: 46px; margin: 0 auto .8rem; place-items: center; border-radius: 15px; background: #edf3ff; color: var(--blog-brand); font-size: 1.25rem; font-weight: 800; }
.empty-state h3 { margin: .2rem 0; font-size: 1.35rem; }
.empty-state p { margin: .4rem auto 1.2rem; color: var(--blog-muted); }
.load-error, .no-script-note { padding: 1rem; border: 1px solid #f1c6c6; border-radius: 12px; background: #fff5f5; color: #8e2d2d; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 2rem; }
.page-button, .page-number { display: inline-flex; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; gap: .4rem; padding: .45rem .7rem; border: 1px solid #dce5f3; border-radius: 10px; background: #fff; color: #40516d; font-size: .86rem; font-weight: 750; cursor: pointer; }
.page-button:hover, .page-number:hover { border-color: #a8c3f5; color: var(--blog-brand); }
.page-button:disabled { background: #f3f5f8; color: #99a4b5; cursor: not-allowed; }
.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; }
.page-number[aria-current="page"] { border-color: var(--blog-brand); background: var(--blog-brand); color: #fff; }

.site-footer { position: relative; overflow: hidden; padding: 2.2rem 0 0; background: linear-gradient(rgba(134, 165, 226, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(134, 165, 226, .035) 1px, transparent 1px), radial-gradient(ellipse at 12% 0%, rgba(45, 105, 225, .28), transparent 36%), linear-gradient(120deg, #09152c, #10264e 58%, #0a1a37); background-size: 34px 34px, 34px 34px, 100% 100%, 100% 100%; color: #bac8e0; }
.site-footer::after { position: absolute; top: 0; right: 8%; left: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(116, 160, 255, .82), transparent); content: ""; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.3rem 1.4rem; border: 1px solid rgba(158, 188, 255, .18); border-radius: 18px; background: linear-gradient(110deg, rgba(46, 95, 185, .28), rgba(255, 255, 255, .045) 65%), rgba(9, 22, 46, .44); }
.footer-top h2 { margin: 0; color: #fff; font-size: clamp(1.1rem, 2.3vw, 1.55rem); }
.footer-top p:not(.eyebrow) { margin: .25rem 0 0; color: #c4cfe3; }
.footer-bottom { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .6rem 1.2rem; padding-block: 1.5rem; }
.footer-brand { color: #fff; font-size: 1.05rem; font-weight: 850; letter-spacing: -.04em; }
.footer-bottom > p { margin: 0; color: #bac8e0; font-size: .88rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.footer-bottom nav a { color: #c4cfe3; font-size: .85rem; }
.footer-bottom nav a:hover { color: #fff; }
.copyright { grid-column: 1 / -1; padding-top: .8rem; border-top: 1px solid rgba(255, 255, 255, .12); color: #aab9d1; font-size: .8rem; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.25rem 0 1.5rem; color: var(--blog-muted); font-size: .85rem; }
.breadcrumbs a { font-weight: 650; }
.breadcrumbs span[aria-hidden="true"] { color: #9aa8bb; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 2.25rem; align-items: start; padding-bottom: 4.5rem; }
.article-main { min-width: 0; }
.article-heading { margin-bottom: 1.5rem; }
.article-heading h1 { max-width: 900px; margin: .2rem 0 .8rem; font-size: clamp(2.15rem, 5vw, 3.75rem); line-height: 1.07; overflow-wrap: anywhere; }
.article-intro { max-width: 790px; margin: 0; color: #50617a; font-size: clamp(1.05rem, 2vw, 1.2rem); }
.article-byline { display: flex; flex-wrap: wrap; gap: .45rem 1.1rem; margin-top: 1.1rem; color: var(--blog-muted); font-size: .87rem; }
.article-byline span + span::before { padding-right: 1.1rem; color: #b6c1d0; content: "•"; }
.reading-progress { position: fixed; z-index: 20; top: 0; right: 0; left: 0; height: 3px; background: transparent; }
.reading-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #27b4a1, var(--blog-brand)); }
.article-hero-image { width: 100%; aspect-ratio: 1.75; margin: 1.5rem 0 1.8rem; overflow: hidden; border: 1px solid var(--blog-line); border-radius: 22px; background: #edf3ff; box-shadow: var(--blog-shadow); object-fit: cover; }
.article-content { min-width: 0; }
.article-content h2 { margin: 2.25rem 0 .7rem; font-size: clamp(1.45rem, 3vw, 1.9rem); }
.article-content h3 { margin: 1.4rem 0 .45rem; font-size: 1.2rem; }
.article-content p, .article-content li { color: #40516d; }
.article-content p { margin: .8rem 0; }
.article-content ul, .article-content ol { padding-left: 1.35rem; }
.article-content li { margin: .45rem 0; padding-left: .2rem; }
.article-content li::marker { color: var(--blog-brand); }
.article-content pre { overflow-x: auto; margin: 1rem 0; padding: 1rem; border: 1px solid #dce5f3; border-radius: 12px; background: #101b31; color: #edf3ff; font: .9rem/1.6 Consolas, "Courier New", monospace; }
.code-copy-button { display: block; margin: 1rem 0 -1rem auto; padding: .4rem .65rem; border: 1px solid #dce5f3; border-radius: 8px 8px 0 0; background: #fff; color: #40516d; font-size: .78rem; font-weight: 700; cursor: pointer; }
.article-content code { overflow-wrap: anywhere; }
.article-content strong { color: var(--blog-ink); }
.callout { margin: 1.5rem 0; padding: 1.1rem 1.2rem; border: 1px solid #cbdcff; border-left: 4px solid var(--blog-brand); border-radius: 13px; background: #f1f6ff; }
.callout p { margin: 0; }
.callout-title { margin-bottom: .3rem !important; color: var(--blog-brand-dark) !important; font-weight: 800; }
.checklist { margin: 1.1rem 0; padding: 1rem 1.2rem; border: 1px solid var(--blog-line); border-radius: 15px; background: #fff; }
.checklist li { list-style: none; position: relative; padding-left: 1.6rem; }
.checklist li::before { position: absolute; left: 0; color: #14804a; content: "✓"; font-weight: 850; }
.table-of-contents { padding: 1.15rem; border: 1px solid var(--blog-line); border-radius: 16px; background: #fff; box-shadow: 0 5px 18px rgba(25, 48, 88, .04); }
.table-of-contents h2 { margin: 0 0 .65rem; font-size: 1rem; letter-spacing: 0; }
.table-of-contents ol { margin: 0; padding-left: 1.2rem; }
.table-of-contents li { margin: .45rem 0; color: var(--blog-brand); font-size: .88rem; }
.table-of-contents .toc-subheading { margin-left: .55rem; font-size: .82rem; }
.toc-toggle { display: none; }
.article-sidebar { position: sticky; top: 96px; display: grid; gap: 1rem; }
.sidebar-card { padding: 1.15rem; border: 1px solid var(--blog-line); border-radius: 16px; background: #fff; box-shadow: 0 5px 18px rgba(25, 48, 88, .04); }
.sidebar-card h2 { margin: 0 0 .75rem; font-size: 1rem; letter-spacing: 0; }
.sidebar-card p { margin: 0; color: var(--blog-muted); font-size: .88rem; }
.sidebar-card ol { margin: 0; padding-left: 1.2rem; }
.sidebar-card li { margin: .55rem 0; color: var(--blog-brand); font-size: .87rem; }
.sidebar-card li a { color: #40516d; }
.sidebar-card li a:hover { color: var(--blog-brand); }
.share-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.share-link, .copy-link { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: .45rem .65rem; border: 1px solid #dce5f3; border-radius: 9px; background: #fff; color: #40516d; font-size: .79rem; font-weight: 750; cursor: pointer; }
.share-link:hover, .copy-link:hover { border-color: #a8c3f5; background: #f5f8ff; color: var(--blog-brand); }
.copy-feedback { min-height: 1.5em; margin-top: .5rem !important; font-size: .8rem !important; }
.copy-feedback[data-state="success"] { color: #176d47; }
.copy-feedback[data-state="error"] { color: #a53b3b; }
.related-card { margin-top: 2rem; padding: 1.25rem; border: 1px solid #d5e3ff; border-radius: 16px; background: linear-gradient(120deg, #fff, #edf3ff); }
.related-card .eyebrow { margin-bottom: .35rem; }
.related-card h2 { margin: 0 0 .55rem; font-size: 1.25rem; }
.related-card a { font-weight: 750; }
.author-card, .article-feedback { margin-top: 1.5rem; padding: 1.2rem; border: 1px solid var(--blog-line); border-radius: 16px; background: #fff; }
.author-card h2, .article-feedback h2 { margin: 0 0 .45rem; font-size: 1.15rem; }
.author-card p:not(.eyebrow) { margin: .35rem 0 0; color: var(--blog-muted); }
.feedback-options { display: flex; gap: .55rem; margin: .7rem 0; }
.feedback-options button { min-width: 72px; min-height: 40px; padding: .45rem .8rem; border: 1px solid #dce5f3; border-radius: 9px; background: #fff; color: #40516d; font-weight: 750; cursor: pointer; }
.feedback-options button:hover { border-color: #a8c3f5; color: var(--blog-brand); }
.article-feedback label { display: block; margin: .75rem 0 .35rem; color: var(--blog-muted); font-size: .82rem; font-weight: 650; }
.article-feedback textarea { width: 100%; min-height: 75px; padding: .65rem; border: 1px solid #d6e0ef; border-radius: 9px; color: var(--blog-ink); font: inherit; }
.article-back { display: inline-flex; margin: 1.5rem 0; font-size: .9rem; font-weight: 750; }
.demo-note { margin: 1rem 0; padding: .75rem 1rem; border: 1px solid #f0dfb7; border-radius: 11px; background: #fff9ec; color: #665027; font-size: .85rem; }

[hidden] { display: none !important; }

@media (max-width: 850px) {
	.hero { grid-template-columns: minmax(0, 1fr) 220px; padding: 2.6rem; }
	.hero-orbit-one { width: 220px; height: 220px; }
	.hero-orbit-two { width: 160px; height: 160px; }
	.hero-stack { width: 145px; height: 165px; padding: 1.9rem 1.1rem; }
	.hero-note { left: -1%; }
	.homepage-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.article-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 1.4rem; }
}

@media (max-width: 680px) {
	.header-inner { min-height: 66px; }
	.nav-menu summary { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--blog-line); border-radius: 11px; background: #fff; cursor: pointer; list-style: none; }
	.nav-menu summary::-webkit-details-marker { display: none; }
	.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 19px; height: 2px; border-radius: 3px; background: #40516d; }
	.menu-icon { position: relative; }
	.menu-icon::before, .menu-icon::after { position: absolute; left: 0; content: ""; }
	.menu-icon::before { top: -6px; }
	.menu-icon::after { top: 6px; }
	.nav-links { position: absolute; top: calc(100% + .55rem); right: 0; display: grid; width: min(290px, calc(100vw - 2rem)); gap: .25rem; padding: .65rem; border: 1px solid var(--blog-line); border-radius: 15px; background: #fff; box-shadow: var(--blog-shadow); }
	.nav-links a { padding: .72rem .8rem; }
	.nav-links .nav-cta { margin: .25rem 0 0; text-align: center; }
	.hero { min-height: auto; grid-template-columns: minmax(0, 1fr); margin-top: 1rem; padding: clamp(1.5rem, 7vw, 2.5rem); border-radius: 21px; }
	.hero h1 { font-size: clamp(2.25rem, 10vw, 3.25rem); }
	.hero-art { position: absolute; right: -85px; bottom: -105px; width: 245px; min-height: 245px; opacity: .43; pointer-events: none; }
	.hero-copy > p:not(.eyebrow) { max-width: 520px; }
	.article-section { padding-top: 3rem; padding-bottom: 3.5rem; }
	.homepage-article-grid { grid-template-columns: minmax(0, 1fr); }
	.filter-panel { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1rem; }
	.date-fields { gap: .65rem; }
	.article-grid { grid-template-columns: minmax(0, 1fr); }
	.card-excerpt { min-height: 0; }
	.footer-top { align-items: flex-start; flex-direction: column; }
	.footer-bottom { grid-template-columns: 1fr auto; }
	.footer-bottom nav { grid-column: 1 / -1; grid-row: 2; }
	.copyright { grid-column: 1 / -1; }
	.article-layout { grid-template-columns: minmax(0, 1fr); }
	.article-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.article-sidebar .table-of-contents { grid-column: 1 / -1; }
	.article-hero-image { aspect-ratio: 1.4; border-radius: 16px; }
	.article-toc-main .toc-toggle, .article-sidebar .toc-toggle { display: inline-flex; min-height: 36px; align-items: center; padding: .35rem .7rem; border: 1px solid #dce5f3; border-radius: 8px; background: #fff; color: var(--blog-brand); font-weight: 700; }
	.article-toc-main ol[hidden], .article-sidebar ol[hidden] { display: none; }
}

@media (max-width: 420px) {
	.brand { gap: .45rem; font-size: 1rem; }
	.brand-mark { width: 33px; height: 33px; flex-basis: 33px; }
	.brand-divider { margin-inline: .3rem; }
	.brand-section { font-size: .66rem; }
	.pagination { gap: .35rem; }
	.page-button, .page-number { min-width: 36px; min-height: 38px; padding-inline: .5rem; }
	.page-step span { display: none; }
	.article-sidebar { grid-template-columns: minmax(0, 1fr); }
	.article-sidebar .table-of-contents { grid-column: auto; }
	.article-byline { gap: .35rem .7rem; }
	.article-byline span + span::before { padding-right: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
