:root {
    color-scheme: light;
    --bg: #f5f8fc;
    --surface: #ffffff;
    --ink: #12243c;
    --muted: #465a71;
    --line: #d9e2eb;
    --strong-line: #7a8da2;
    --brand: #806019;
    --accent: #11604b;
    --action: #173d66;
    --action-hover: #102e50;
    --on-action: #ffffff;
    --soft: #e6f1ec;
    --cover: #e5edf7;
    --band: #e8f0f8;
    --badge-bg: #173d66;
    --badge-ink: #ffe3a2;
    --warning: #f6eedb;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0c1420;
    --surface: #142132;
    --ink: #eff4fa;
    --muted: #b5c3d4;
    --line: #293c50;
    --strong-line: #647b93;
    --brand: #e8c77d;
    --accent: #86d6b5;
    --action: #a9caf0;
    --action-hover: #c4ddf8;
    --on-action: #102138;
    --soft: #19352f;
    --cover: #172a42;
    --band: #192c44;
    --badge-bg: #e8c77d;
    --badge-ink: #211a10;
    --warning: #342c1f;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        color-scheme: dark;
        --bg: #0c1420;
        --surface: #142132;
        --ink: #eff4fa;
        --muted: #b5c3d4;
        --line: #293c50;
        --strong-line: #647b93;
        --brand: #e8c77d;
        --accent: #86d6b5;
        --action: #a9caf0;
        --action-hover: #c4ddf8;
        --on-action: #102138;
        --soft: #19352f;
        --cover: #172a42;
        --band: #192c44;
        --badge-bg: #e8c77d;
        --badge-ink: #211a10;
        --warning: #342c1f;
    }
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--sans); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .17em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.02; letter-spacing: -.035em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.65rem, 2.9vw, 2.4rem); }
h3 { font-size: 1.24rem; }
button, input, select, textarea { font: inherit; }
button, .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .6rem .95rem;
    border: 1px solid transparent;
    border-radius: .35rem;
    background: var(--action);
    color: var(--on-action);
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
}
button:hover, .button:hover { background: var(--action-hover); color: var(--on-action); }
[hidden] { display: none !important; }
.subtle { background: var(--surface); border-color: var(--strong-line); color: var(--ink); }
.subtle:hover { background: var(--soft); color: var(--ink); }
.shell { width: min(100% - 2.5rem, 1360px); margin-inline: auto; }
.skip-link { position: absolute; top: -100%; left: 1rem; z-index: 3; background: var(--surface); padding: .7rem; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.muted { color: var(--muted); }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .11em; font: 750 .69rem/1.4 var(--sans); }

.masthead, .identity, .head-actions, .footer-top { display: flex; align-items: center; }
.masthead { justify-content: space-between; gap: .9rem; padding-block: .8rem; border-bottom: 1px solid var(--strong-line); }
.identity, .head-actions { gap: 1rem; }
.site-brand { display: flex; }
.wordmark { display: inline-block; text-decoration: none; color: var(--ink); font: 800 clamp(2.25rem, 4.6vw, 3.65rem)/.93 var(--serif); letter-spacing: -.075em; white-space: nowrap; }
.wordmark span, .tagline .brand-accent { color: var(--brand); }
.tagline { border-left: 1px solid var(--strong-line); padding-left: 1rem; font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .16em; }
.tagline .brand-accent { font-weight: 900; }
.search { display: flex; align-items: center; min-height: 2.5rem; border: 1px solid var(--strong-line); background: var(--surface); border-radius: .35rem; }
.search input { background: transparent; border: 0; color: var(--ink); width: clamp(6rem, 11vw, 12rem); padding: .35rem .65rem; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search button {
    display: grid;
    place-items: center;
    align-self: stretch;
    flex: none;
    width: 2.375rem;
    padding: 0;
    border: 0;
    border-radius: 0 .3rem .3rem 0;
    background: transparent;
    color: var(--ink);
}
.search button:hover { background: var(--soft); color: var(--accent); }
.search button:focus-visible { outline-offset: -3px; }
.search button svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.head-actions { gap: .45rem; flex-wrap: wrap; }
.head-actions .subtle { font-size: .76rem; white-space: nowrap; padding: .45rem .65rem; }
.head-actions .theme-toggle {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
}
.theme-toggle svg {
    display: none;
    width: 1.15rem;
    height: 1.15rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.theme-toggle[data-next-theme="dark"] .theme-icon-moon,
.theme-toggle[data-next-theme="light"] .theme-icon-sun { display: block; }
.primary-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .15rem .7rem; border-bottom: 2px solid var(--ink); }
.primary-nav a { padding: .66rem .13rem; text-decoration: none; font-size: .72rem; text-transform: uppercase; font-weight: 750; }
.primary-nav a:hover { box-shadow: inset 0 -2px var(--accent); }
.primary-nav a[aria-current="true"] { color: var(--action); box-shadow: inset 0 -2px var(--brand); }

.main { min-height: 54vh; }
.front-grid { display: grid; grid-template-columns: minmax(0, 2.55fr) minmax(15.5rem, 1fr); gap: 1.15rem; margin-top: clamp(.75rem, 1.5vw, 1.2rem); }
.cover { position: relative; display: flex; align-items: center; min-height: clamp(15.5rem, 26vw, 22rem); overflow: hidden; border-radius: .46rem; isolation: isolate; background: var(--cover); }
.cover-art { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 55%; height: 100%; object-fit: cover; object-position: 59%; clip-path: polygon(25% 0, 100% 0, 100% 100%, 9% 100%); }
.cover::after { position: absolute; content: ''; inset: 0; z-index: -1; background: none; }
.cover-copy { padding: clamp(.85rem, 1.8vw, 1.5rem); width: 52%; }
.badge { display: inline-block; padding: .3rem .63rem; border-radius: .25rem; background: var(--badge-bg); color: var(--badge-ink); font-size: .71rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 750; margin-bottom: .8rem; }
.cover h2 { font-size: clamp(1.55rem, 2.85vw, 2.8rem); line-height: 1.05; letter-spacing: -.047em; }
.cover a, .story-card a, .latest-item, .guide-entry { text-decoration: none; }
.cover-deck { margin-top: .65rem; padding-left: .65rem; border-left: 3px solid var(--brand); max-width: 49ch; font-size: clamp(.83rem, 1.15vw, .96rem); line-height: 1.45; }
.cover-meta { margin-top: .8rem; font-size: .74rem; font-weight: 700; }
.latest { border-left: 1px solid var(--line); padding-left: .85rem; }
.latest-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding: .4rem 0 .55rem; }
.latest-head h2 { font-size: clamp(1.55rem, 2.05vw, 2rem); }
.latest-item { display: grid; grid-template-columns: minmax(0, 1fr) 5.45rem; gap: .7rem; align-items: center; border-top: 1px solid var(--line); padding: .55rem 0; }
.latest-item .art { height: 3.35rem; border-radius: .25rem; }
.latest-item h3 { font-size: 1.04rem; margin-top: .12rem; }

.front-section { margin-top: 1.15rem; }
.section-title { display: flex; align-items: center; gap: 1rem; margin-bottom: .68rem; }
.section-title::after { content: ''; height: 2px; background: var(--brand); flex: 1; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.story-card { background: var(--surface); border: 1px solid var(--line); border-radius: .45rem; overflow: hidden; }
.story-card a { display: block; height: 100%; }
.story-copy { padding: .76rem .86rem .9rem; }
.story-copy h3 { margin-block: .25rem .34rem; font-size: clamp(1.2rem, 2.1vw, 1.7rem); }
.story-copy p, .guide-entry p { color: var(--muted); font-size: .86rem; line-height: 1.38; overflow-wrap: anywhere; }
.story-date { display: block; margin-top: .27rem; color: var(--muted); font-size: .75rem; }
.art { background: linear-gradient(131deg, var(--art-deep), var(--art-bright)); color: var(--art-line); overflow: hidden; height: clamp(6rem, 12vw, 11rem); }
.art svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.art-fintech { --art-deep: #172a45; --art-bright: #305f8d; --art-line: #cde2fb; }
.art-crypto { --art-deep: #2c261a; --art-bright: #715224; --art-line: #f3d58c; }
.art-banking { --art-deep: #162a38; --art-bright: #395267; --art-line: #d5e5f1; }
.art-ai-finance { --art-deep: #182833; --art-bright: #2e5a65; --art-line: #c4ebee; }
.art-payments { --art-deep: #14342b; --art-bright: #28664e; --art-line: #bcebd1; }
.art-startups { --art-deep: #233348; --art-bright: #436176; --art-line: #f0d593; }
.art-markets { --art-deep: #112b32; --art-bright: #2d6659; --art-line: #bdeedd; }
.guides-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr);
    align-items: start;
    gap: clamp(1rem, 3vw, 2rem);
    background: linear-gradient(110deg, var(--band), var(--soft));
    border-radius: .45rem;
    padding: clamp(1rem, 3vw, 2rem);
    margin-block: 1.25rem;
}
.guides-band h2 { font-style: italic; margin-block: .25rem .4rem; }
.guides-intro > p:last-child { max-width: 33ch; color: var(--muted); }
.guide-list { display: grid; gap: .55rem; }
.guide-entry {
    display: grid;
    grid-template-columns: minmax(0, 5.5rem) minmax(0, 1fr);
    align-items: center;
    gap: .75rem;
    padding: .6rem;
    border: 1px solid var(--line);
    border-radius: .35rem;
    background: var(--surface);
}
.guide-entry .art { height: 3.9rem; border-radius: .25rem; }
.guide-entry h3 { margin-block: .15rem .2rem; font-size: 1.14rem; line-height: 1.15; }

.footer { border-top: 1px solid var(--strong-line); margin-top: 1.4rem; padding-block: 1rem; }
.footer-top { justify-content: space-between; gap: 1rem; }
.footer .wordmark { font-size: 2.05rem; }
.footer p, .footer a:not(.wordmark) { color: var(--muted); font-size: .82rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .75rem; }
.copyright { margin-top: .75rem; border-top: 1px solid var(--line); padding-top: .6rem; }

.archive, .reading { margin-block: 2rem; }
.archive h1, .reading h1 { margin-block: .45rem .8rem; }
.archive .story-grid { margin-top: 1rem; }
.authors h1 { font-size: clamp(1.85rem, 3.3vw, 2.55rem); }
.author-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin-top: 1.2rem; }
.author-card, .author-profile {
    display: flex;
    align-items: center;
    gap: clamp(.75rem, 2.5vw, 1.65rem);
    border: 1px solid var(--line);
    border-radius: .45rem;
    background: var(--surface);
    padding: clamp(.9rem, 2.6vw, 1.65rem);
}
.author-card { text-decoration: none; }
.author-card h2 { margin-top: .22rem; font-size: clamp(1.25rem, 2.3vw, 1.8rem); }
.author-profile { margin-bottom: 1.75rem; }
.author-profile h1 { margin-block: .25rem .55rem; }
.author-profile p:last-child { max-width: 74ch; color: var(--muted); }
.author-portrait {
    width: clamp(4.5rem, 12vw, 9rem);
    height: auto;
    aspect-ratio: 1;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center 36%;
    border: 1px solid var(--line);
    border-radius: 50%;
}
.author-card .author-portrait { width: clamp(3.25rem, 7vw, 5rem); }
.reading { width: min(100%, 49rem); margin-inline: auto; }
.reading p { margin-bottom: .8rem; overflow-wrap: anywhere; }
.info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    margin-block: clamp(1.25rem, 3vw, 2rem);
}
.info-grid.has-sidebar { grid-template-columns: minmax(0, 1fr) 300px; }
.info-grid .reading { width: 100%; margin: 0; }
.info-grid h1 { margin-block: 0 1rem; font-size: clamp(1.85rem, 3.3vw, 2.55rem); line-height: 1.12; }
.site-info h2 { margin-block: 1.5rem .5rem; font-size: 1.3rem; line-height: 1.2; }
.site-info .page-updated { color: var(--muted); font-size: .84rem; }
.reading-sidebar { padding-left: 1.05rem; border-left: 1px solid var(--line); }
.reading-sidebar > h2 { padding-bottom: .6rem; border-bottom: 2px solid var(--brand); font-size: 1.4rem; }
.sidebar-section { margin-top: 1.15rem; }
.sidebar-section + .sidebar-section { border-top: 1px solid var(--strong-line); padding-top: .9rem; }
.sidebar-section h3 { margin-block: .2rem .55rem; font-size: 1.23rem; line-height: 1.12; }
.reading-sidebar .latest-item { padding-block: .72rem; }
.reading-sidebar .latest-item h4 {
    margin: .12rem 0 0;
    font: 700 1.04rem/1.18 var(--serif);
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}
.reading .deck { font-size: clamp(1.05rem, 2.6vw, 1.35rem); color: var(--muted); }
.breadcrumbs, .byline { color: var(--muted); font-size: .85rem; margin-bottom: .7rem; }
.article-art { border-radius: .5rem; height: clamp(8rem, 24vw, 17rem); margin-block: 1.25rem; }
.article-body { font: 1.17rem/1.7 var(--serif); }
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1rem; }

.panel { margin: 1.5rem auto; background: var(--surface); padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: .6rem; }
.panel h1 { font-size: clamp(2rem, 4.5vw, 3.45rem); margin-top: .25rem; }
.login-panel { max-width: 28rem; }
.editor { max-width: 55rem; }
.panel-heading, .admin-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.panel-heading { margin-bottom: .8rem; flex-wrap: wrap; }
.admin-row { padding-block: .7rem; border-top: 1px solid var(--line); }
.admin-row a { font-weight: 700; overflow-wrap: anywhere; }
.admin-row p { font-size: .78rem; }
.status { padding: .18rem .55rem; color: var(--accent); background: var(--soft); border-radius: .3rem; font-size: .76rem; }
.fields { display: grid; gap: .82rem; margin-top: 1rem; }
.fields label { display: grid; gap: .25rem; font-size: .89rem; font-weight: 650; }
.fields :is(input:not([type="checkbox"]), textarea, select) { width: 100%; border-radius: .32rem; border: 1px solid var(--strong-line); padding: .55rem .6rem; color: var(--ink); background: var(--bg); }
.fields textarea { resize: vertical; }
.fields .checkbox { display: flex; align-items: center; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.form-actions { display: flex; gap: .55rem; flex-wrap: wrap; }
.notice, .errors { margin: .8rem 0; padding: .55rem .8rem; border-left: 3px solid var(--accent); background: var(--soft); }
.errors { border-left-color: var(--brand); background: var(--warning); }
ul.errors { padding-left: 1.7rem; }

@media (max-width: 980px) {
    .tagline { display: none; }
}
@media (max-width: 720px) {
    .info-grid.has-sidebar { grid-template-columns: minmax(0, 1fr); }
    .reading-sidebar { padding: 1rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
    .shell { width: calc(100% - 1.4rem); }
    .masthead { flex-wrap: wrap; }
    .primary-nav { justify-content: start; gap: 0 .75rem; }
    .primary-nav a { padding-block: .38rem; }
    .front-grid { grid-template-columns: 1fr; }
    .cover { min-height: 16rem; }
    .latest { border-left: 0; padding-left: 0; }
    .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .guides-band { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 440px) {
    .cover { display: block; padding-top: 7.5rem; }
    .cover-art { width: 100%; height: 8.5rem; object-position: center 49%; clip-path: none; }
    .cover::after { background: linear-gradient(to bottom, transparent 5.5rem, var(--cover) 8.5rem); }
    .cover-copy { width: 100%; }
    .story-grid, .form-grid { grid-template-columns: 1fr; }
    .author-directory { grid-template-columns: 1fr; }
    .author-profile { flex-direction: column; align-items: start; }
    .footer-top { align-items: start; flex-direction: column; }
}

.article-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-brief {
    margin: 1.25rem 0;
    padding: clamp(.9rem, 2vw, 1.25rem) clamp(1rem, 2.5vw, 1.4rem);
    border: 1px solid var(--line);
    border-inline-start: 3px solid var(--brand);
    border-radius: .5rem;
    background: var(--surface);
    color: var(--ink);
}
.news-brief h2 { margin: 0 0 .55rem; font: 700 clamp(1.15rem, 1.8vw, 1.4rem)/1.2 var(--serif); }
.news-brief ul { margin: 0; padding-inline-start: 1.2rem; font: 1rem/1.55 var(--sans); }
.news-brief li + li { margin-block-start: .3rem; }
.news-brief li::marker { color: var(--accent); }
.article-photo { margin: 1.25rem 0; }
.article-photo img { display: block; width: 100%; max-height: 33rem; object-fit: cover; border-radius: .5rem; }
.article-photo figcaption { margin-top: .45rem; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.article-body h2 { margin-top: 1.7em; font-size: 1.5em; }
.article-table { max-width: 100%; overflow-x: auto; }
.article-table table { width: 100%; border-collapse: collapse; font-size: .9em; }
.article-table th, .article-table td { padding: .55rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-sources { margin-top: 2rem; }

.article-share { margin-top: 1.75rem; padding: 1rem; border: 1px solid var(--line); border-top: 2px solid var(--brand); border-radius: .45rem; background: var(--surface); }
.article-share h2 { margin-bottom: .72rem; font-size: 1.25rem; }
.share-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.share-chip {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .5rem;
    min-width: 0;
    min-height: 2.65rem;
    padding: .4rem .55rem;
    background: var(--bg);
    color: var(--ink);
    border: 1px solid var(--strong-line);
    border-radius: .3rem;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}
.share-chip:hover { background: var(--soft); color: var(--accent); }
.share-copy { grid-column: 1 / -1; justify-content: center; }
.share-mark {
    display: grid;
    place-items: center;
    flex: none;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: .25rem;
    background: #fff;
}
.share-mark-copy { background: var(--soft); color: var(--accent); }
.share-chip svg, .share-float summary svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.share-tools .share-status { margin: 0; color: var(--accent); font-size: .8rem; }
.share-tools .share-status:not(:empty) { margin-top: .45rem; }
.share-float { position: fixed; z-index: 2; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); }
.share-float summary {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .8rem;
    background: var(--action);
    color: var(--on-action);
    border-radius: .4rem;
    border: 1px solid var(--brand);
    font-size: .8rem;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
}
.share-float summary::-webkit-details-marker { display: none; }
.share-float summary:hover { background: var(--action-hover); }
.share-float-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + .4rem);
    width: min(20rem, calc(100vw - 2rem));
    padding: .75rem;
    border: 1px solid var(--strong-line);
    border-radius: .4rem;
    background: var(--surface);
}

@media (min-width: 1050px) {
    .article-share .share-links { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .article-share .share-copy { grid-column: auto; justify-content: flex-start; }
}


.glossary-index { margin-block: 1.35rem 2.5rem; }
.glossary-intro {
    padding: clamp(.9rem, 2.2vw, 1.7rem);
    border: 1px solid var(--line);
    border-inline-start: 3px solid var(--brand);
    border-radius: .55rem;
    background: var(--cover);
}
.glossary-intro h1 { margin: .2rem 0 .45rem; font-size: clamp(1.95rem, 3.6vw, 3rem); }
.glossary-intro > p:not(.eyebrow) { max-width: 78ch; margin-block: 0; color: var(--muted); }
.glossary-jump { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; }
.glossary-jump a, .glossary-jump span, .glossary-article-links a {
    display: inline-block;
    padding: .36rem .65rem;
    border: 1px solid var(--line);
    border-radius: .35rem;
    background: var(--surface);
    color: var(--action);
    font-weight: 650;
}
.glossary-jump a:hover, .glossary-article-links a:hover { color: var(--accent); border-color: var(--strong-line); }
.glossary-jump a { text-decoration: none; }
.glossary-jump [aria-current] { color: var(--ink); border-color: var(--brand); }
.glossary-group { margin-block: 1.4rem; scroll-margin-block-start: 1rem; }
.glossary-group .section-title { margin-block: 0 .45rem; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.glossary-group-note { margin-block: .3rem .65rem; color: var(--muted); font-size: .92rem; }
.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
    gap: .45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (max-width: 600px) {
    .glossary-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr)); }
}
.glossary-card { min-width: 0; }
.glossary-card a {
    display: grid;
    align-content: start;
    gap: .25rem;
    height: 100%;
    padding: .55rem .65rem;
    border: 1px solid var(--line);
    border-radius: .38rem;
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
    overflow-wrap: anywhere;
}
.glossary-card a:hover { border-color: var(--strong-line); }
.glossary-card a:hover .glossary-card-title { color: var(--action); text-decoration: underline; }
.glossary-card-title { font: 700 1.05rem/1.18 var(--serif); }
.glossary-card-excerpt { color: var(--muted); font-size: .82rem; line-height: 1.3; }
.glossary-entry .glossary-definition {
    margin-block: 1rem 1.5rem;
    padding: .85rem 1rem;
    border-inline-start: 3px solid var(--brand);
    background: var(--surface);
    color: var(--ink);
}
.glossary-prose { max-width: 68ch; font: 1.07rem/1.7 var(--sans); }
.glossary-prose section + section { margin-top: 1.35rem; }
.glossary-prose h2 { margin: 0 0 .4rem; font: 700 1.45rem/1.2 var(--serif); }
.glossary-prose .glossary-source { padding-top: .8rem; border-top: 1px solid var(--line); }
.glossary-source p { color: var(--muted); font-size: .93rem; }
.glossary-sidebar ul { margin: 0; padding: 0; list-style: none; }
.glossary-sidebar li { border-bottom: 1px solid var(--line); }
.glossary-sidebar li a { display: flex; justify-content: space-between; gap: .5rem; padding: .65rem 0; }
.glossary-story { margin-top: 1.25rem; }
.glossary-story h3 { margin: 0 0 .5rem; font-size: 1.16rem; }
.glossary-article-links { margin-block: 1.35rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.glossary-article-links h2 { margin: 0 0 .55rem; font-size: 1.24rem; }
.glossary-article-links ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
