/* Network template. Reference: independent AI research sites (Artificial Analysis, Epoch AI,
   a16z research). Tokens replaced per site at build: #1d5b45 #cfeadc #121212 #f6f4ee. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader-latin-opsz-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --ink: #121212;
  --paper: #f6f4ee;
  --accent: #1d5b45;
  --highlight: #cfeadc;
  --white: #fffefb;
  --text: #121212;
  --body: #2a2a28;
  --muted: #66645e;
  --faint: #9a978f;
  --rule: #e2ded4;
  --rule-strong: #cfcabd;
  --focus: #2457d6;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--body); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11"; }
a { color: var(--text); text-decoration: none; }
p a:not(.pill):not(.more), .prose a, .list a:not(.term), .sources a, .compare-table td a, .vendor-line a, .fine a {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--rule-strong);
}
p a:hover, .prose a:hover, .sources a:hover, .compare-table td a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { margin: 0; color: var(--text); }
h1 { font: 400 clamp(2.6rem, 6.4vw, 5rem)/1.02 var(--serif); letter-spacing: -0.02em; font-optical-sizing: auto; }
p, ul, ol, dl { margin: 0 0 1em; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 40px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 60; }
.skip:focus { left: 8px; }
.ico { width: 15px; height: 15px; flex: none; }
.muted { color: var(--muted); }
.fine { font-size: 0.82rem; color: var(--muted); margin-top: 12px; }

/* entity markers */
.sq { display: inline-block; width: 10px; height: 10px; flex: none; background: var(--accent); }
.sq-lg { width: 0.42em; height: 0.42em; margin-right: 0.28em; vertical-align: 0.18em; }

/* tags */
.tag { display: inline-block; padding: 1px 8px; border: 1px solid var(--accent); border-radius: 4px; color: var(--accent); font: 500 0.74rem/1.6 var(--sans); background: transparent; }
.tag-date { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; font-size: 0.78rem; color: var(--muted); }
.tag-date::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--text); }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--text); color: var(--white); font: 500 0.88rem/1.3 var(--sans); border: 1px solid var(--text); white-space: nowrap; transition: background 0.15s ease, color 0.15s ease; }
.pill:hover { background: #333; }
.pill-ghost { background: transparent; color: var(--text); border-color: var(--rule-strong); }
.pill-ghost:hover { background: var(--white); }
.pill-lg { padding: 12px 22px; font-size: 0.95rem; }
.pill-block { width: 100%; justify-content: center; padding: 12px 16px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; border-bottom: 1px solid var(--text); padding-bottom: 1px; }
.linkbtn { background: none; border: 0; padding: 0; font: 500 0.86rem var(--sans); color: var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 0.98rem/1 var(--sans); letter-spacing: -0.01em; color: var(--text); }
.logo { width: 26px; height: 26px; flex: none; }
.lg-bg { fill: var(--ink); } .lg-fg { fill: var(--paper); } .lg-dot { fill: var(--highlight); }
.site-header nav ul { display: flex; align-items: center; gap: 4px 26px; list-style: none; margin: 0; padding: 0; }
.site-header nav a:not(.pill) { font-size: 0.9rem; color: var(--body); padding: 6px 0; border-bottom: 1px solid transparent; }
.site-header nav a:not(.pill):hover, .site-header nav a[aria-current="page"]:not(.pill) { border-bottom-color: var(--text); color: var(--text); }
@media (max-width: 759px) {
  .site-header nav { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .site-header nav::-webkit-scrollbar { display: none; }
  .site-header nav ul { gap: 18px; }
  .site-header nav li { white-space: nowrap; }
  .nav-cta { margin-left: auto; }
}

/* hero */
.hero { padding: 56px 0 0; }
@media (min-width: 980px) { .hero { padding-top: 88px; } }
.hero-grid { display: grid; gap: 48px; }
@media (min-width: 1040px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 80px; align-items: start; } }
.hero h1 { max-width: 13ch; }
.hero-sub { font-size: 1.12rem; line-height: 1.55; color: var(--body); max-width: 58ch; margin: 24px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; }
.latest { border-top: 1px solid var(--text); }
.latest-h { font: 500 0.78rem/1 var(--sans); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 14px 0 6px; }
.latest ul { list-style: none; margin: 0; padding: 0; }
.latest li a { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.latest-meta { grid-column: 1 / -1; }
.latest-title { font: 400 1.12rem/1.3 var(--serif); color: var(--text); }
.latest li a:hover .latest-title { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.latest .ico { align-self: center; color: var(--muted); }
.figures { display: grid; grid-template-columns: 1fr; margin: 64px 0 0; border-top: 1px solid var(--rule-strong); }
@media (min-width: 760px) { .figures { grid-template-columns: repeat(3, 1fr); } }
.figures div { padding: 22px 0 26px; border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) { .figures div { padding: 26px 32px 30px 0; border-bottom: 0; } .figures div + div { padding-left: 32px; border-left: 1px solid var(--rule); } }
.figures dt { display: flex; align-items: baseline; gap: 12px; color: var(--text); font-weight: 500; }
.fig { font: 300 3.4rem/1 var(--serif); letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: lining-nums; }
.figures dd { margin: 8px 0 0; font-size: 0.9rem; color: var(--muted); max-width: 34ch; }

/* sections */
.sec { padding: 64px 0 0; }
.sec-last { padding-bottom: 88px; }
.sec-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 18px; border-top: 1px solid var(--text); }
.sec-title.mt { margin-top: 56px; }
.sec-title h2 { display: inline-flex; align-items: center; gap: 12px; font: 400 clamp(1.7rem, 3vw, 2.25rem)/1.1 var(--serif); letter-spacing: -0.015em; }
.sec-title h2 .sq { width: 12px; height: 12px; }
.sec-sub { margin: 10px 0 28px; color: var(--muted); max-width: 70ch; }
.sec-title + .matrix-wrap, .sec-title + .filters, .sec-title + .features, .sec-title + .rows, .sec-title + .principles, .sec-title + .tbl-wrap, .sec-title + .name-grid { margin-top: 24px; }

/* coverage matrix (signature exhibit) */
.matrix-wrap { position: relative; overflow-x: auto; background: var(--white); border: 1px solid var(--rule); }
.tbl-wrap { position: relative; }
.matrix { border-collapse: collapse; width: 100%; min-width: 860px; font-size: 0.86rem; }
.matrix thead th { font: 500 0.78rem/1.25 var(--sans); color: var(--muted); padding: 14px 8px 12px; text-align: center; border-bottom: 1px solid var(--rule-strong); vertical-align: bottom; width: 10%; }
.matrix thead th a { color: var(--muted); }
.matrix thead th a:hover { color: var(--text); text-decoration: underline; }
.matrix th.m-v { text-align: left; padding-left: 18px; width: auto; position: sticky; left: 0; background: var(--white); z-index: 1; }
.matrix tbody th.m-v a { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text); white-space: nowrap; }
.matrix tbody th.m-v a:hover { text-decoration: underline; }
.matrix td, .matrix tbody th { padding: 9px 8px; border-bottom: 1px solid var(--rule); text-align: center; }
.matrix tbody tr:hover td, .matrix tbody tr:hover th { background: #faf8f2; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--rule-strong); vertical-align: middle; }
.dot.on { width: 14px; height: 14px; background: var(--accent); }
.m-total td, .m-total th { font-weight: 600; color: var(--text); border-bottom: 0; background: #faf8f2; font-variant-numeric: tabular-nums; }

/* filters + landscape table */
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 18px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.filters[hidden] { display: none; }
.f { display: flex; flex-direction: column; gap: 4px; min-width: 160px; flex: 1 1 160px; }
.f span { font-size: 0.75rem; color: var(--muted); }
.f select { min-height: 40px; padding: 7px 30px 7px 12px; border: 1px solid var(--rule-strong); border-radius: 6px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2366645e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center / 14px; color: var(--text); font: 400 0.9rem var(--sans); appearance: none; }
.chk { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text); min-height: 40px; cursor: pointer; white-space: nowrap; }
.chk input, .pick input, .picker-grid input { width: 16px; height: 16px; accent-color: var(--text); margin: 0; }
.count { flex: 1 1 100%; margin: 0; font-size: 0.82rem; color: var(--muted); order: 10; }
.filters .linkbtn { min-height: 40px; }
.tbl-wrap { background: var(--white); border: 1px solid var(--rule); margin-top: 16px; }
.tbl-wrap.scroll { overflow-x: auto; }
.landscape { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.landscape thead th { text-align: left; font: 500 0.76rem/1.2 var(--sans); color: var(--muted); padding: 14px 14px 12px; border-bottom: 1px solid var(--rule-strong); white-space: nowrap; }
.landscape td, .landscape tbody th { padding: 13px 14px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: middle; }
.landscape tbody tr:last-child > * { border-bottom: 0; }
.landscape tbody tr:hover > * { background: #faf8f2; }
.landscape tr[hidden] { display: none; }
.c-vendor { display: flex; align-items: center; gap: 12px; font-weight: 400; min-width: 230px; }
.c-vendor .sq { margin-top: 1px; }
.v-text { display: flex; flex-direction: column; }
.v-text a { font-weight: 600; color: var(--text); }
.v-text a:hover { text-decoration: underline; }
.v-sub { font-size: 0.78rem; color: var(--muted); }
.c-own, .c-price { color: var(--muted); white-space: nowrap; }
.c-cert { text-align: center !important; width: 84px; }
.c-pick { width: 110px; text-align: right !important; }
.yes { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: var(--white); vertical-align: middle; }
.yes svg { width: 11px; height: 11px; }
.no { display: inline-block; width: 10px; height: 1.5px; background: var(--faint); vertical-align: middle; }
.pub { color: var(--accent); font-weight: 600; }
.pick { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.84rem; color: var(--muted); min-height: 32px; }
.pick[hidden] { display: none; }
.pick:hover { color: var(--text); }
.empty { padding: 28px; text-align: center; color: var(--muted); margin: 0; }
@media (max-width: 899px) {
  .landscape thead { display: none; }
  .landscape, .landscape tbody { display: block; }
  .landscape tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 18px 16px; border-bottom: 1px solid var(--rule); }
  .landscape tr[hidden] { display: none; }
  .landscape td, .landscape tbody th { padding: 0; border: 0; width: auto !important; text-align: left !important; background: none !important; }
  .c-vendor { grid-column: 1 / -1; min-width: 0; }
  .landscape td[data-label]::before { content: attr(data-label); display: block; font-size: 0.72rem; color: var(--faint); margin-bottom: 2px; }
  .c-cert { display: flex !important; align-items: center; gap: 10px; }
  .c-cert::before { margin: 0 !important; min-width: 70px; }
  .c-pick { grid-column: 1 / -1; }
}

/* features (Epoch-style cards with generative art) */
.features { display: grid; gap: 32px 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .features { grid-template-columns: 2fr 1fr 1fr 1fr; } .features-3 { grid-template-columns: repeat(3, 1fr); } }
.feature { display: flex; flex-direction: column; gap: 12px; color: var(--text); }
.art { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; }
.features > .feature:first-child .art { aspect-ratio: auto; height: 100%; min-height: 220px; max-height: 340px; }
@media (min-width: 1040px) { .features:not(.features-3) > .feature:first-child { grid-row: span 1; } }
.art-svg { display: block; width: 100%; height: 100%; transition: transform 0.4s ease; }
.feature:hover .art-svg { transform: scale(1.03); }
.feature-title { font: 400 1.4rem/1.2 var(--serif); letter-spacing: -0.01em; }
.features > .feature:first-child .feature-title { font-size: 1.75rem; }
.feature:hover .feature-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.feature-text { color: var(--muted); font-size: 0.94rem; }

/* rows */
.split { display: grid; gap: 56px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } }
.rows { list-style: none; padding: 0; margin: 0; }
.rows li a { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--rule); color: var(--text); }
.rows li a span:first-child { flex: 1; }
.rows li a:hover span:first-child { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.rows .n { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 0.86rem; }
.rows .ico { color: var(--muted); }
.rows-sm li a { padding: 11px 0; font-size: 0.92rem; }
.rows-inline { margin-top: 24px; }
@media (min-width: 760px) { .rows-inline { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; } }
.principles { counter-reset: p; list-style: none; padding: 0; margin: 0 0 20px; }
.principles li { counter-increment: p; display: grid; grid-template-columns: 44px 1fr; padding: 15px 0; border-bottom: 1px solid var(--rule); color: var(--text); }
.principles li::before { content: counter(p, decimal-leading-zero); font: 400 1.1rem/1.4 var(--serif); color: var(--accent); }
.note-box { margin: 28px 0 0; padding: 16px 18px; background: var(--white); border: 1px solid var(--rule); font-size: 0.92rem; }
.note-box p { margin: 0; }
.name-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 24px; }
.name-grid a { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.name-grid a:hover { text-decoration: underline; }

/* page heads */
.phead { padding: 28px 0 48px; border-bottom: 1px solid var(--rule); }
.phead-grid { display: grid; gap: 32px; }
@media (min-width: 980px) { .phead-art .phead-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; align-items: end; } }
.phead h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 18ch; }
.phead-meta { margin: 0 0 18px; }
.phead-visual { aspect-ratio: 16 / 11; overflow: hidden; border-radius: 6px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 40px; font-size: 0.82rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule-strong); }

/* profile */
.vendor-h1 { display: flex; align-items: baseline; }
.vendor-line { margin: 18px 0 0; color: var(--muted); font-size: 0.92rem; }
.cats { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.cats li { padding: 3px 10px; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: 0.8rem; color: var(--body); background: var(--white); }
.profile { display: grid; gap: 48px; padding-top: 8px; padding-bottom: 88px; }
@media (min-width: 1040px) { .profile { grid-template-columns: minmax(0, 1fr) 340px; gap: 80px; } }
.pblock { display: grid; gap: 8px 40px; padding: 32px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) { .pblock { grid-template-columns: 200px minmax(0, 1fr); } }
.pblock h2 { font: 400 1.35rem/1.25 var(--serif); letter-spacing: -0.01em; }
.pblock p, .pblock li { max-width: 68ch; color: var(--body); }
.pblock > div > :last-child { margin-bottom: 0; }
.list { list-style: none; padding: 0; }
.list li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1.5px; background: var(--accent); }
.pricing { font: 400 1.25rem/1.45 var(--serif); color: var(--text) !important; }
.src { font-size: 0.8rem; color: var(--faint); margin: 10px 0 0; }
.src a { color: var(--muted); }
a.term { text-decoration: underline dotted; text-decoration-color: var(--faint); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a.term:hover { text-decoration-color: var(--accent); }
.sources ol { list-style: none; padding: 0; counter-reset: s; margin: 0; }
.sources li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 0.9rem; overflow-wrap: anywhere; }
.sources li::before { content: counter(s); grid-row: span 3; font: 400 1.05rem/1.4 var(--serif); color: var(--accent); }
.sources .claim { color: var(--text); }
.sources .fine { margin: 2px 0 0; }
.profile-side { display: flex; flex-direction: column; gap: 24px; padding-top: 32px; }
@media (min-width: 1040px) { .profile-side { position: sticky; top: 24px; align-self: start; } }
.glance { background: var(--white); border: 1px solid var(--rule); padding: 20px 22px 22px; }
.glance h2, .side-links h2 { font: 500 0.78rem/1 var(--sans); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 10px; }
.glance dl { margin: 0 0 20px; }
.glance dl div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 0.9rem; }
.glance dt { color: var(--muted); }
.glance dd { margin: 0; text-align: right; color: var(--text); font-weight: 500; }
.pick-side { width: 100%; justify-content: center; margin-top: 10px; padding: 10px; border: 1px solid var(--rule-strong); border-radius: 999px; color: var(--text); }

/* reading pages */
.reading { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 88px; }
.reading > .prose { max-width: 720px; }
@media (min-width: 1040px) { .reading { grid-template-columns: 260px minmax(0, 720px); gap: 80px; } .reading > .prose:only-child { grid-column: 2; } .reading-toc > .toc { grid-column: 1; } }
.prose { font-size: 1.05rem; line-height: 1.72; color: var(--body); }
.prose h2 { font: 400 1.7rem/1.2 var(--serif); letter-spacing: -0.012em; margin: 44px 0 14px; }
.prose > h2:first-child, .prose > section:first-child h2 { margin-top: 0; }
.toc h2 { font: 500 0.78rem/1 var(--sans); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 12px; }
@media (min-width: 1040px) { .toc { position: sticky; top: 24px; align-self: start; } }
.toc ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); counter-reset: t; }
.toc li { counter-increment: t; border-bottom: 1px solid var(--rule); }
.toc ol:not(.plain) li a::before { content: counter(t, decimal-leading-zero); color: var(--accent); font: 400 0.95rem var(--serif); margin-right: 10px; }
.toc a { display: block; padding: 9px 0; font-size: 0.9rem; color: var(--body); }
.toc a:hover { color: var(--text); text-decoration: underline; }
.toc ol.plain { columns: 2; column-gap: 20px; border-top: 0; }
@media (min-width: 1040px) { .toc ol.plain { columns: 1; border-top: 1px solid var(--rule); } }
.step { padding-bottom: 8px; scroll-margin-top: 24px; }
.step + .step { border-top: 1px solid var(--rule); padding-top: 28px; margin-top: 28px; }
.step-n { font: 300 2.6rem/1 var(--serif); color: var(--accent); margin: 0 0 10px; }
.step h2 { margin-top: 0; }
.checklist-box { margin: 44px 0 28px; padding: 28px; background: var(--white); border: 1px solid var(--rule); }
.checklist-box h2 { margin-top: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid var(--rule); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; border: 1.5px solid var(--text); border-radius: 3px; }
.glossary { margin: 0; max-width: 720px; }
.glossary div { padding: 22px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 24px; }
.glossary div:first-child { padding-top: 0; }
.glossary div:target { background: var(--white); padding: 22px; margin: 0 -22px; }
.glossary dt a { font: 400 1.45rem/1.25 var(--serif); color: var(--text); }
.glossary dd { margin: 8px 0 0; font-size: 1.02rem; }

/* compare */
.compare-app #compare-output:not(:empty) { margin-bottom: 28px; }
.picker { margin: 0; padding: 18px 20px 20px; background: var(--white); border: 1px solid var(--rule); }
.picker[hidden] { display: none; }
.picker legend { padding: 0 6px; font: 400 1.2rem var(--serif); color: var(--text); }
.picker legend .fine { font-family: var(--sans); margin-left: 6px; }
.picker-grid { display: grid; gap: 2px 20px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin-top: 8px; }
.picker-grid label { display: flex; align-items: center; gap: 10px; min-height: 38px; cursor: pointer; font-size: 0.92rem; color: var(--text); }
.compare-table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 0.88rem; }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
.compare-table thead th { border-bottom: 1px solid var(--rule-strong); padding-top: 18px; }
.compare-table thead th a { display: inline-flex; align-items: center; gap: 10px; font: 400 1.3rem/1.2 var(--serif); color: var(--text); }
.compare-table tbody th { position: sticky; left: 0; background: var(--white); width: 150px; min-width: 130px; font: 500 0.78rem/1.4 var(--sans); color: var(--muted); }
.compare-table tr:last-child > * { border-bottom: 0; }
.compare-table td a { overflow-wrap: anywhere; }

/* compare tray */
.compare-tray { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 40; width: min(720px, calc(100% - 24px)); background: var(--text); color: var(--white); border-radius: 14px; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22); }
.compare-tray[hidden] { display: none; }
.tray-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 10px 10px 18px; }
.tray-names { flex: 1 1 220px; margin: 0; font-size: 0.86rem; color: rgba(255, 255, 255, 0.72); }
.tray-names strong { color: #fff; font-weight: 600; }
.tray-inner .btn { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; background: var(--white); color: var(--text); font: 500 0.88rem var(--sans); }
.tray-inner .btn-ghost { padding: 8px 14px; border-radius: 999px; background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); font: 500 0.86rem var(--sans); cursor: pointer; }
.page-compare .compare-tray { display: none; }

/* footer */
.site-footer { border-top: 1px solid var(--text); font-size: 0.88rem; padding-bottom: 96px; }
.footer-top { display: grid; gap: 40px; padding: 48px 0 40px; }
@media (min-width: 860px) { .footer-top { grid-template-columns: 2fr 1fr 1fr; gap: 64px; } }
.footer-brand p { margin-top: 18px; max-width: 54ch; color: var(--muted); }
.footer-h { font: 500 0.78rem/1 var(--sans); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer li a:hover { text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 0.8rem; color: var(--muted); }

.sq[data-c="0"]{background:#1d5b45}
.sq[data-c="1"]{background:#3a7ca5}
.sq[data-c="2"]{background:#c26a3d}
.sq[data-c="3"]{background:#7b5ea7}
.sq[data-c="4"]{background:#b8913a}
.sq[data-c="5"]{background:#2f8f83}
.sq[data-c="6"]{background:#a34a5f}
.sq[data-c="7"]{background:#55657a}
.sq[data-c="a"]{background:#1d5b45}
