/*
 * Blog posts and comparison pages. Loaded only on those pages, after site.css,
 * so it can use its tokens (--brand, --ink, --line, --layer …).
 */

.art { padding-block: 56px 0; }
.art-head { display: grid; gap: 14px; max-width: 860px; }
.art-head h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -0.045em; font-weight: 660; }
.art-head .lede { max-width: 64ch; font-size: 19px; color: var(--ink-2); }

/* breadcrumb */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* byline */
.byline { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.byline p { display: grid; gap: 1px; font-size: 14.5px; line-height: 1.4; }
.byline a { font-weight: 600; color: var(--ink); text-decoration: none; }
.byline a:hover { text-decoration: underline; }
.byline span { color: var(--muted); }
.disclose { font-size: 14px; color: var(--muted); max-width: 70ch; border-left: 2px solid var(--line); padding-left: 12px; }

/* short answer */
.answer { margin-top: 32px; max-width: 860px; background: linear-gradient(180deg, #F4F5FA, #FBFBFD); border: 1px solid #E3E6F3; border-radius: 20px; padding: 24px 28px; display: grid; gap: 8px; }
.answer .eyebrow { color: var(--brand-deep); }
.answer > p:not(.eyebrow) { font-size: 17.5px; line-height: 1.6; color: var(--ink); }

/* layout: contents + call to action beside the text */
.art-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; margin-top: 64px; align-items: start; }
.art-side { position: sticky; top: 96px; display: grid; gap: 18px; }
.toc summary { list-style: none; cursor: pointer; font: 600 11px/1.2 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--faint); padding-bottom: 12px; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); border-left-color: var(--line-2); }
.toc a.on { color: var(--brand); border-left-color: var(--brand); font-weight: 600; }
.side-cta { border: 1px solid var(--line-2); border-radius: 18px; padding: 20px; display: grid; gap: 10px; background: linear-gradient(180deg, #F7F8FC, #fff); box-shadow: var(--sh-1); }
.side-cta .sc-title { font-weight: 640; font-size: 17px; line-height: 1.25; letter-spacing: -0.02em; }
.side-cta p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.side-cta .btn { width: 100%; }
.sc-link { font-size: 14px; color: var(--ink); font-weight: 600; text-decoration: none; }
.sc-link:hover { text-decoration: underline; }

/* body text */
.art-body { max-width: 68ch; min-width: 0; }
.art-body > * + * { margin-top: 1.1em; }
.art-body h2 { font-size: clamp(25px, 2.8vw, 32px); line-height: 1.18; letter-spacing: -0.035em; margin-top: 2.4em; scroll-margin-top: 96px; }
.art-body h2:first-child { margin-top: 0; }
.art-body h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.02em; margin-top: 1.8em; font-weight: 620; }
.art-body p, .art-body li { color: var(--ink-2); font-size: 17.5px; line-height: 1.7; }
.art-body b, .art-body strong { color: var(--ink); }
.art-body a:not(.btn) { color: var(--brand); text-underline-offset: 3px; text-decoration-color: var(--brand-line); }
.art-body a:not(.btn):hover { text-decoration-color: currentColor; }
.art-body li::marker { color: var(--brand); }
.art-body ul, .art-body ol { padding-left: 1.3em; display: grid; gap: .45em; }
.art-body .note { background: var(--paper); border: 1px solid var(--line-2); border-left: 3px solid var(--brand); border-radius: 14px; padding: 16px 20px; font-size: 16px; }
.art-body .mock { margin-top: 1.6em; }
.art-body .cap-note { font-size: 14.5px; color: var(--muted); margin-top: .6em; }

/* verdict */
.verdict { border: 1px solid var(--brand-line); background: linear-gradient(180deg, #F7F8FC, #fff); border-radius: 22px; padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin-top: 0; }
.v-col { display: grid; gap: 10px; align-content: start; }
.v-title { font-weight: 640; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }
.v-col:first-child .v-title { color: var(--brand); }
.verdict ul { list-style: none; padding: 0; gap: 8px; }
.verdict li { font-size: 15.5px; line-height: 1.5; padding-left: 22px; position: relative; }
.verdict li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 5px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.v-col:last-child li::before { border-color: var(--muted); }
.v-ctas { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.v-note { grid-column: 1 / -1; font-size: 13.5px !important; color: var(--muted) !important; margin: -6px 0 0; }
@media (max-width: 640px) { .verdict { grid-template-columns: 1fr; padding: 20px; } }

/* tables */
.tbl { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 18px; margin-top: 1.4em; background: var(--paper); box-shadow: var(--sh-1); }
.tbl:focus-visible { outline-offset: 2px; }
.tbl table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.tbl caption { text-align: left; padding: 16px 18px 4px; font: 600 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 13px 18px; border-bottom: 1px solid var(--line); line-height: 1.5; }
.tbl thead th { font-weight: 620; font-size: 15px; color: var(--ink); background: #fafafc; }
.tbl tbody th { font-weight: 600; color: var(--ink); width: 34%; }
.tbl td { color: var(--ink-2); }
.tbl .us { background: var(--brand-soft); }
.tbl thead .us { color: var(--brand-deep); }
.tbl td.yes { color: var(--ink); }
.tbl td.no { color: var(--muted); }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl .cta-row td, .tbl .cta-row th { padding-block: 14px 16px; }
.tbl-note { font-size: 14px !important; color: var(--muted) !important; }

/* try it in the chat */
.tryit { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; background: #0f1430; color: #fff; border-radius: 22px; padding: 24px 26px; margin-top: 1.8em; }
.tryit p { color: rgba(255, 255, 255, .86) !important; font-size: 16.5px !important; }
.tryit b { color: #fff !important; }
.tryit > div { display: grid; gap: 12px; justify-items: start; }
.tryit-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 650; font-size: 18px; }
.tryit-q { display: flex; flex-wrap: wrap; gap: 8px; }
.tryit-q span { background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 6px 12px; font-size: 14.5px; color: #dce5ff; }

/* call to action in the text */
.midcta { border: 1px solid var(--brand-line); background: linear-gradient(180deg, #F7F8FC, #fff); border-radius: 20px; padding: 22px 24px; display: grid; gap: 8px; margin-top: 1.8em; }
.midcta .mc-title { font-weight: 640; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); }
.midcta p { font-size: 16px !important; }
.mc-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

/* numbered steps */
.art-body .steplist { list-style: none; padding: 0; counter-reset: st; gap: 0; }
.steplist li { counter-increment: st; position: relative; padding: 0 0 20px 52px; }
.steplist li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); border: 1px solid var(--brand-line); color: var(--brand); display: grid; place-items: center; font: 600 14px/1 var(--mono); }
.steplist li::after { content: ""; position: absolute; left: 16px; top: 40px; bottom: 6px; width: 2px; background: var(--line); }
.steplist li:last-child::after { display: none; }
.st-title { font-weight: 620; color: var(--ink) !important; font-size: 17.5px; }

/* checklist */
.art-body .checklist { list-style: none; padding: 0; gap: 10px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border: 2px solid var(--brand); border-radius: 6px; }

/* end of article */
.art-final { margin-top: 96px; background: linear-gradient(180deg, #F4F5FA, #FBFBFD); border: 1px solid #E3E6F3; border-radius: 28px; padding: 56px 52px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; }
.af-title { font-weight: 650; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.05; letter-spacing: -0.045em; margin-bottom: 10px; }
.art-final p { color: var(--ink-2); }
.af-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .art-final { grid-template-columns: 1fr; padding: 32px 24px; } }

.related { margin-top: 72px; display: grid; gap: 16px; padding-bottom: 112px; }
.rel-grid, .hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.rel, .hub-card { border: 1px solid var(--line-2); border-radius: 20px; padding: 22px 24px; display: grid; gap: 8px; align-content: start; text-decoration: none; color: var(--ink); background: var(--paper); transition: border-color .2s, box-shadow .2s, transform .2s; }
.rel:hover, .hub-card:hover, .rel:focus-visible, .hub-card:focus-visible { border-color: var(--brand-line); box-shadow: var(--sh-2); transform: translateY(-2px); }
.rel b, .hub-card b { font-size: 18px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 620; }
.hc-lede { color: var(--muted); font-size: 15px; line-height: 1.55; }
.hc-more { color: var(--brand); font-weight: 600; font-size: 15px; }

/* hubs and author */
.hub { padding-block: 8px 120px; }
.hub-empty { color: var(--muted); }
.hub-label { margin: 48px 0 16px; }
.author { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 32px; align-items: start; max-width: 860px; }
.author img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; }
.author-text { display: grid; gap: 14px; }
.author-text p { color: var(--ink-2); font-size: 17px; }
@media (max-width: 600px) { .author { grid-template-columns: 1fr; } .author img { width: 112px; height: 112px; } }

/* phones: contents first and collapsed, a fixed call to action at the bottom */
.m-cta { display: none; }
@media (max-width: 960px) {
	.art-grid { grid-template-columns: 1fr; gap: 28px; }
	.art-side { position: static; }
	.side-cta { display: none; }
	.toc { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 6px; }
	.toc summary { padding-bottom: 8px; }
	.m-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 88px calc(10px + env(safe-area-inset-bottom, 0px)) 16px; background: var(--paper); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s; }
	.m-cta.show { transform: none; }
	.m-cta .btn { width: 100%; height: 46px; }
	.art { padding-bottom: 72px; }
}
@media (max-width: 480px) { .art-head .lede { font-size: 17.5px; } .answer { padding: 18px; } .art-body p, .art-body li { font-size: 17px; } }

/* two or more short cards side by side */
.kcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.kcard { border: 1px solid var(--line-2); border-radius: 18px; padding: 18px 20px; display: grid; gap: 6px; align-content: start; }
.kcard .k-title { font-weight: 640; color: var(--ink); font-size: 17px; letter-spacing: -0.01em; }
.kcard p:last-child { font-size: 15.5px; line-height: 1.55; }

/* an example conversation */
.convo { border: 1px solid var(--line-2); border-radius: 22px; padding: 20px; display: grid; gap: 10px; background: #fafafc; }
.convo > div { max-width: 86%; border-radius: 16px; padding: 10px 14px; display: grid; gap: 2px; }
.convo p { font-size: 15.5px !important; line-height: 1.5 !important; color: var(--ink) !important; }
.cv-who { font: 600 11px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.cv-a { background: var(--paper); border: 1px solid var(--line); justify-self: start; border-bottom-left-radius: 4px; }
.cv-v { background: var(--brand); justify-self: end; border-bottom-right-radius: 4px; }
.cv-v p, .cv-v .cv-who { color: #fff !important; }
.cv-t { background: var(--ink); justify-self: start; border-bottom-left-radius: 4px; }
.cv-t p, .cv-t .cv-who { color: #fff !important; }
.cv-cap { font-size: 14.5px !important; color: var(--muted) !important; }

/* ---- Blog redesign (October 2026): covers, takeaways, figures, author box ---- */
.art-cover, .bl-cover, .rel-cover { display: block; margin: 0; max-width: 100%; aspect-ratio: 1200 / 630; overflow: hidden; border: 1px solid var(--line); }
.art-cover svg, .bl-cover svg, .rel-cover svg { display: block; width: 100%; height: 100%; }
.art-cover { margin-top: 28px; border-radius: 24px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.share a { border: 1px solid var(--line-2); border-radius: 8px; padding: 5px 10px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.share a:first-child { margin-left: 6px; }
.share a:hover { border-color: var(--brand-line); color: var(--brand); }
.takeaways { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.takeaways li { position: relative; padding-left: 34px; font-size: 17px; line-height: 1.55; color: var(--ink); }
.takeaways li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 26px 0; }
.stat { border: 1px solid var(--line-2); border-radius: 16px; padding: 18px; background: var(--paper); }
.stat b { display: block; font-size: 32px; line-height: 1; letter-spacing: -0.04em; font-weight: 700; color: var(--brand); }
.stat span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.bars { margin: 24px 0; border: 1px solid var(--line-2); border-radius: 18px; padding: 20px; display: grid; gap: 9px; }
.bar { display: grid; grid-template-columns: 180px minmax(0, 1fr) 80px; gap: 12px; align-items: center; font-size: 14.5px; color: var(--ink-2); }
.bar-t { height: 22px; background: var(--layer); border-radius: 6px; overflow: hidden; }
.bar-f { display: block; height: 100%; border-radius: 6px; background: #c9cfdc; }
.bar.us { color: var(--brand); font-weight: 650; }
.bar.us .bar-f { background: var(--brand); }
.bar-v { font: 600 13.5px/1 var(--mono); text-align: right; }
.bars figcaption { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.side-rel { display: grid; gap: 2px; border: 1px solid var(--line-2); border-radius: 18px; padding: 16px 18px; font-size: 14.5px; }
.side-rel p { font: 600 11px/1.2 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.side-rel a { color: var(--ink-2); text-decoration: none; padding: 4px 0; }
.side-rel a::after { content: " →"; color: var(--faint); }
.side-rel a:hover { color: var(--brand); }
.author-box { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; margin-top: 56px; border: 1px solid var(--line-2); border-radius: 20px; padding: 22px; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author-box .ab-name a { font-weight: 650; font-size: 17px; color: var(--ink); text-decoration: none; }
.author-box p { margin: 0 0 6px; font-size: 15.5px; color: var(--ink-2); }
.author-box .ab-more { font-size: 14.5px; font-weight: 600; text-decoration: none; }
.rel { padding: 0 0 20px; overflow: hidden; }
.rel .rel-cover { border: 0; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.rel .eyebrow, .rel b { padding-inline: 20px; }

/* The blog's front page: topics, a featured guide, covers on every card. */
.bl-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 24px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.bl-chip { border: 1px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: 8px 14px; font: 500 14px/1 var(--sans); color: var(--ink-2); cursor: pointer; }
.bl-chip span { color: var(--faint); margin-left: 3px; font-size: 12.5px; }
.bl-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.bl-chip[aria-pressed="true"] span { color: #c9c9d1; }
.bl-chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.bl-feat { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: center; padding-block: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.bl-feat .bl-cover { border-radius: 22px; }
.bl-feat-t { display: grid; gap: 12px; align-content: center; }
.bl-feat-t b { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 680; }
.bl-feat:hover b { color: var(--brand); }
.bl-tag { display: inline-flex; width: fit-content; font: 600 12px/1 var(--sans); padding: 5px 9px; border-radius: 999px; background: var(--layer-2); color: var(--ink-2); }
.bl-setup { background: #EEF0FA; color: #1A2370; }
.bl-cost { background: #e8f5ee; color: #1f7a4d; }
.bl-platform { background: #f0eeff; color: #6d5cf6; }
.bl-trust { background: #e3f5f2; color: #0f766e; }
.bl-sales { background: #fdecf2; color: #b4235a; }
.bl-industry { background: #fdf4e3; color: #8a5608; }
.bl-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.bl-meta img { width: 28px; height: 28px; border-radius: 50%; }
.bl-grid { gap: 26px 22px; }
.bl-card { padding: 0 0 20px; overflow: hidden; gap: 10px; }
.bl-card .bl-cover { border: 0; border-bottom: 1px solid var(--line); }
.bl-card .bl-tag, .bl-card b, .bl-card .hc-lede, .bl-card .bl-meta { margin-inline: 20px; }
.bl-card[hidden] { display: none; }
.bl-band { margin-top: 56px; background: #0e1430; color: #fff; border-radius: 24px; padding: 34px 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.bl-band-t { font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -0.025em; margin: 0 0 4px; }
.bl-band p { color: #c9cdea; margin: 0; }
.bl-band .bl-band-b { display: flex; flex-wrap: wrap; gap: 10px; }
.bl-band .btn-line { background: transparent; color: #fff; border-color: #3a4680; }
.bl-hubs { margin-top: 48px; }
.bl-hubs-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.bl-hubs-g a { border: 1px solid var(--line-2); border-radius: 16px; padding: 16px 18px; display: grid; gap: 4px; text-decoration: none; color: var(--ink); }
.bl-hubs-g a:hover { border-color: var(--brand-line); background: #F7F8FC; }
.bl-hubs-g span { font-size: 14px; color: var(--muted); }

@media (max-width: 860px) {
	.bl-feat, .bl-band { grid-template-columns: 1fr; }
	.bar { grid-template-columns: 110px minmax(0, 1fr) 64px; font-size: 13px; }
	.bl-band { padding: 28px 22px; }
}
.bl-feat[hidden] { display: none; }
