.art { max-width: calc(760px + 2 * var(--gutter)); margin: 0 auto; padding-top: clamp(40px, 6vw, 76px); padding-bottom: clamp(64px, 8vw, 104px); }
.art.wide { max-width: calc(940px + 2 * var(--gutter)); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13.5px; color: var(--ink-faint); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.6px solid var(--line-strong); border-top: 1.6px solid var(--line-strong); transform: rotate(45deg); }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--accent); }

.art-head h1 { max-width: 20ch; }
.art-lede { margin-top: 18px; font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.6; color: var(--ink-soft); max-width: 62ch; }
.art-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 16px; font-family: var(--mono); font-size: 13px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.art-meta > * + *::before { content: "·"; margin-right: 10px; color: var(--ink-faint); }
.art-meta a { color: var(--accent-deep); }
.art-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }

.art h2 { margin-top: clamp(44px, 5vw, 60px); font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; }
.art h3 { margin-top: 26px; font-size: 1.12rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
.art p, .art li { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.65; max-width: 68ch; }
.art p { margin-top: 14px; }
.art strong { color: var(--ink); font-weight: 600; }
.art a.link { color: var(--accent-deep); font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
.art a.link:hover { text-decoration-color: var(--accent-deep); }
.art .key { font-family: var(--mono); font-size: 0.92em; color: var(--ink); background: var(--tint); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }

.dots { margin: 10px 0 0; padding: 0; list-style: none; }
.dots li { position: relative; margin-top: 10px; padding-left: 26px; }
.dots li::before { content: ""; position: absolute; left: 4px; top: 0.66em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.demo { margin: 30px 0 0; padding: 10px; background: var(--panel); border-radius: var(--r); box-shadow: var(--sh-1); }
.demo picture { display: block; }
.demo img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.demo figcaption { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 8px; padding: 12px 8px 4px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--ink-faint); }
.demo-btn { flex: none; padding: 5px 12px; font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--ink-soft); background: var(--panel); border: 1px solid var(--line-strong); border-radius: 8px; cursor: pointer; transition: border-color 140ms ease, color 140ms ease; }
.demo-btn:hover { color: var(--accent-deep); border-color: var(--accent); }
.demo-btn:focus-visible { outline: 3px solid var(--accent-line); outline-offset: 2px; }

.hsteps { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: hs; }
.hsteps > li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; padding-bottom: 26px; max-width: none; }
.hsteps > li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 46px; bottom: 6px; width: 2px; background: var(--line-strong); }
.hsteps > li::after { counter-increment: hs; content: counter(hs, decimal-leading-zero); grid-row: 1 / span 2; grid-column: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 700; color: var(--accent-deep); background: var(--accent-wash); }
.hsteps h3 { grid-column: 2; margin-top: 8px; color: var(--ink); }
.hsteps p { grid-column: 2; margin-top: 6px; }

.note { margin-top: 26px; padding: 18px 22px; background: var(--tint); border-radius: 12px; }
.note p { margin-top: 6px; font-size: 1rem; }
.note p:first-child { margin-top: 0; }

.verdict { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.verdict > div { padding: 22px 24px; background: var(--panel); border-radius: var(--r); box-shadow: var(--sh-1); }
.verdict h3 { margin-top: 0; }
.verdict .dots li { font-size: 0.99rem; }
.verdict > .ours { color: #fff; background-color: var(--navy); background-image: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); box-shadow: var(--sh-navy); }
.verdict > .ours h3 { color: #fff; }
.verdict > .ours li { color: rgba(255,255,255,.82); }
.verdict > .ours .dots li::before { background: var(--accent-line); }
.verdict > .ours a.ref { color: var(--accent-line); }

.cmp-wrap.cmp-text-wrap { max-width: none; margin-top: 26px; }
.cmp.cmp-text th[scope="row"] { width: 26%; font-size: 14.5px; }
.cmp.cmp-text td { width: 37%; padding: 13px 18px; text-align: left; vertical-align: top; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.cmp.cmp-text td strong { color: var(--ink); font-weight: 600; }
.cmp.cmp-text thead th { text-align: left; padding: 16px 18px; }
.cmp.cmp-text thead th:first-child { padding-left: 22px; }

.refs { white-space: nowrap; font-family: var(--mono); font-size: 11px; font-weight: 700; line-height: 1; vertical-align: super; color: var(--accent-deep); }
a.ref { display: inline; padding: 0 1px; font-family: var(--mono); font-size: 11px; font-weight: 700; line-height: 1; vertical-align: super; color: var(--accent-deep); text-decoration: none; }
a.ref:hover { text-decoration: underline; text-underline-offset: 2px; }

.sources { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: src; }
.sources li { position: relative; margin-top: 10px; padding-left: 34px; font-size: 0.95rem; line-height: 1.55; color: var(--ink-soft); scroll-margin-top: 96px; }
.sources li::before { counter-increment: src; content: counter(src); position: absolute; left: 0; top: 0.1em; min-width: 22px; padding: 1px 0; font-family: var(--mono); font-size: 12px; font-weight: 700; text-align: center; color: var(--accent-deep); background: var(--accent-wash); border-radius: 6px; }
.sources li:target { color: var(--ink); }
.sources li:target::before { color: #fff; background: var(--accent); }
.sources a { color: var(--accent-deep); word-break: break-word; }
.sources a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sources .when { font-family: var(--mono); font-size: 12.5px; color: var(--ink-faint); }

.art .manifest { margin-top: 22px; }

.rel-links { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.rel-links li { max-width: none; border-bottom: 1px solid var(--line); }
.rel-links a { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 16px 2px; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.rel-links a span { font-size: 14px; font-weight: 400; color: var(--ink-faint); text-align: right; }
.rel-links a:hover { color: var(--accent-deep); }

.hub-list { margin: clamp(30px, 4vw, 44px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.hub-list li { max-width: none; border-bottom: 1px solid var(--line-strong); }
.hub-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 24px; padding: 24px 4px; transition: color 140ms ease; }
.hub-list a:hover .h-t { color: var(--accent-deep); }
.hub-list a:hover .h-go { transform: translateX(3px); }
.hub-list .h-t { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.hub-list .h-d { grid-column: 1; font-size: 0.99rem; line-height: 1.55; color: var(--ink-soft); }
.hub-list .h-m { grid-column: 1; font-family: var(--mono); font-size: 12.5px; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.hub-list .h-go { grid-row: 1 / span 3; grid-column: 2; width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 160ms ease; }

@media (max-width: 760px) {
  .verdict { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .cmp.cmp-text, .cmp.cmp-text tbody, .cmp.cmp-text tr, .cmp.cmp-text th, .cmp.cmp-text td { display: block; width: auto; }
  .cmp.cmp-text thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .cmp.cmp-text tbody tr { padding: 14px 18px 12px; }
  .cmp.cmp-text tr.cmp-group { padding: 20px 18px 0; }
  .cmp.cmp-text .cmp-group th { padding: 0; }
  .cmp.cmp-text th[scope="row"] { width: auto; padding: 0 0 6px; font-size: 15px; font-weight: 600; }
  .cmp.cmp-text td { padding: 5px 0 0; background: none; }
  .cmp.cmp-text td::before { content: attr(data-label); display: block; margin-bottom: 1px; font-size: 12.5px; font-weight: 600; color: var(--ink-faint); }
  .cmp.cmp-text td:last-child { margin-top: 6px; padding: 8px 10px; background: rgba(15,37,71,.035); border-radius: 8px; }
  .cmp.cmp-text td:last-child::before { color: var(--navy); }
}
@media (max-width: 620px) {
  .art-meta { flex-direction: column; gap: 2px; }
  .art-meta > * + *::before { content: none; }
  .art p, .art li { font-size: 1rem; }
  .hub-list a { padding: 20px; }
  .rel-links a { flex-direction: column; gap: 2px; }
  .rel-links a span { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-list .h-go { transition: none; }
  .hub-list a:hover .h-go { transform: none; }
}
