/* ==========================================================================
   Content hub: /learn, /glossary, /compare, /vs/*, /prompts (docs/design/site.md).
   Built on the core.css components (.prose, .answer, .toc, .faq, .card, ui-*);
   everything page-specific is prefixed `ch-` so nothing leaks onto other pages.
   ========================================================================== */

/* ---------- Topic colors (guide tags and card tints) ---------- */
.ch-topic-ai-connectors { --topic: #5434e8; --topic-soft: rgba(107, 78, 255, .16); }
.ch-topic-mcp { --topic: #07708c; --topic-soft: rgba(61, 220, 255, .2); }
.ch-topic-paid-search { --topic: #1f5ed6; --topic-soft: rgba(66, 133, 244, .17); }
.ch-topic-agencies { --topic: #b5248a; --topic-soft: rgba(255, 95, 210, .16); }
.ch-topic-ai-search { --topic: #17773f; --topic-soft: rgba(48, 209, 88, .17); }

/* ---------- Small shared parts ---------- */
.ch-tag { display: inline-flex; align-items: center; align-self: flex-start; height: 22px; padding: 0 9px; border-radius: var(--r-pill); background: var(--brand-wash); color: var(--topic, var(--brand-deep)); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
[class*="ch-topic-"] .ch-tag { background: color-mix(in srgb, var(--topic) 10%, white); }
.ch-tag-glow { background: var(--aurora) !important; color: var(--white) !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.ch-hero-pills, .ch-hero-stats { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 4px; }
.ch-hero-pills .pill { height: 30px; padding: 0 12px; font-size: 13px; }
.ch-hero-pills .pill .ico { width: 14px; height: 14px; color: var(--green-ink); }
.ch-hero-stats { gap: 10px 28px; font-size: 15px; color: var(--gray); }
.ch-hero-stats li { display: inline-flex; align-items: baseline; gap: 7px; }
.ch-hero-stats b { font-size: 28px; font-weight: 700; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ch-library-note { max-width: 26em; color: var(--gray); font-size: 15px; }

/* ---------- Editorial hero (light) ---------- */
.ch-hero { padding: 64px 0 56px; border-bottom: 1px solid var(--hairline); }
.ch-hero .fx-dots { -webkit-mask-image: radial-gradient(50% 70% at 85% 20%, #000, transparent 75%); mask-image: radial-gradient(50% 70% at 85% 20%, #000, transparent 75%); }
.ch-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.ch-hero-split .ch-hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; }
.ch-hero h1 { max-width: 15em; margin: 0 0 20px; font-size: clamp(40px, 5.2vw, 70px); }
.ch-hero .lead { max-width: 40em; margin-bottom: 26px; }
.ch-hero-copy > * { animation: rise-in .8s var(--ease-out) both; }
.ch-hero-copy > :nth-child(2) { animation-delay: .04s; }
.ch-hero-copy > :nth-child(3) { animation-delay: .08s; }
.ch-hero-copy > :nth-child(4) { animation-delay: .12s; }
.ch-hero-copy > :nth-child(5) { animation-delay: .16s; }
.ch-hero-copy > :nth-child(6) { animation-delay: .2s; }
.ch-hero-visual { position: relative; animation: rise-in 1s var(--ease-out) .15s both; }
.ch-hero-visual::before { content: ""; position: absolute; z-index: -1; inset: -12% -8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(107, 78, 255, .22), rgba(61, 220, 255, .08) 60%, transparent 75%); filter: blur(10px); pointer-events: none; }
/* Guides: a long title, so a slightly smaller display size and a wider measure. */
.ch-guide-hero h1 { max-width: 19em; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.05; }
.ch-guide-hero .kicker { color: var(--topic, var(--brand)); }
.ch-guide-hero::after { content: ""; position: absolute; z-index: -1; right: -10%; top: -40%; width: 60%; height: 140%; background: radial-gradient(closest-side, var(--topic-soft, rgba(107, 78, 255, .14)), transparent 72%); pointer-events: none; }
.ch-term-hero h1 { font-size: clamp(40px, 5.4vw, 72px); }
.ch-guide-hero.ch-hero-split .ch-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.ch-guide-hero.ch-hero-split h1 { font-size: clamp(36px, 4.1vw, 56px); }
/* A guide's cover: its motif, large, on a tinted panel. */
.ch-cover { position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 1 / .9; max-width: 420px; margin-left: auto; overflow: hidden; border-radius: 28px; background: radial-gradient(70% 80% at 100% 0%, var(--topic-soft, rgba(107, 78, 255, .16)), transparent 70%), radial-gradient(60% 70% at 0% 100%, rgba(61, 220, 255, .14), transparent 70%), linear-gradient(180deg, #fbfaff, #f3f1fb); box-shadow: var(--shadow-lift), 0 0 0 1px var(--hairline); }
.ch-cover::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(20, 16, 60, .11) 1px, transparent 1.4px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(70% 75% at 50% 50%, #000, transparent 85%); mask-image: radial-gradient(70% 75% at 50% 50%, #000, transparent 85%); }
.ch-cover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9); pointer-events: none; }
.ch-cover > .ch-m { transform: scale(1.22); }
.ch-cover > .ch-m-ui { transform: scale(1.06); }
.ch-cover > .ch-m-orbit { transform: none; }
.ch-cover > .ch-m-flow { transform: scale(1.45); }
.ch-cover > .ch-m-orbit { width: 88%; height: 80%; }

/* Byline: avatar, author, date, reading time. */
.ch-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; font-size: 14.5px; color: var(--gray); }
.ch-byline > li { display: inline-flex; align-items: center; gap: 10px; }
.ch-byline > li + li::before { content: ""; width: 4px; height: 4px; margin: 0 14px; border-radius: 50%; background: var(--line); }
.ch-byline b { color: var(--ink); font-weight: 650; }
.ch-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(160deg, #2a2070, var(--night)); color: var(--white); box-shadow: 0 6px 16px -8px var(--brand-glow); }
.ch-avatar .mark { width: 19px; height: 19px; }

/* ---------- Reading layout: article + rail ---------- */
.ch-layout { display: grid; grid-template-columns: minmax(0, 740px) 236px; grid-template-areas: "main rail"; justify-content: center; gap: 88px; padding: 56px 0 96px; }
.ch-article { grid-area: main; min-width: 0; max-width: 740px; }
.ch-rail { grid-area: rail; position: sticky; top: calc(var(--nav-h) + 28px); align-self: start; display: grid; gap: 24px; max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.ch-rail .toc { position: static; }
.ch-toc > summary .ico { display: none; width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
.ch-toc[open] > summary .ico { transform: rotate(180deg); }
.ch-rail-card { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 12px; padding: 18px; border-radius: var(--r-card); background: var(--night); color: var(--d-gray); font-size: 14px; line-height: 1.45; box-shadow: 0 20px 40px -24px rgba(40, 24, 140, .6); }
.ch-rail-card::before { content: ""; position: absolute; z-index: -1; right: -40%; top: -60%; width: 110%; height: 140%; background: radial-gradient(closest-side, rgba(107, 78, 255, .5), transparent 70%); pointer-events: none; }
.ch-rail-card b { color: var(--white); font-weight: 650; }
.ch-rail-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .07); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.ch-rail-mark .mark { width: 20px; height: 20px; }

/* ---------- Inside the article ---------- */
.ch-article > section, .ch-article > .ch-related { scroll-margin-top: calc(var(--nav-h) + 24px); }
.ch-article .answer-h { display: inline-flex; align-items: center; gap: 6px; }
.ch-article .answer-h .ico { width: 14px; height: 14px; }
.ch-answer { margin-bottom: 8px; box-shadow: inset 0 0 0 1px rgba(107, 78, 255, .12); }
.ch-answer p { margin: 0; }
.ch-article > section > h2 { position: relative; }
/* Links inside components never take the prose underline. */
.prose :is(a.ch-gcard, a.ch-int, a.ch-tool, a.chip, a.ch-cloud-chip, a.ch-mini-guide, a.ch-dg-node, a.btn, a.ch-term) { text-decoration: none; }
.prose :is(a.ch-gcard, a.ch-int, a.ch-mini-guide, a.ch-dg-node, a.ch-term, a.chip) { color: var(--ink); }
.prose a.chip:hover { color: var(--brand-deep); }
.prose a.ch-tool { color: var(--ink-2); }
.prose a.ch-tool-write, .prose a.ch-tool:hover { color: var(--brand-deep); }
/* ui-kit mockups inside prose keep their own type. */
.prose .ui-tool code, .prose .ui-table code { padding: 0; border-radius: 0; background: none; box-shadow: none; font: 600 12px/1 var(--mono); }
.prose .ui-table table { width: 100%; min-width: 420px; font-size: 13px; }
.prose .ui-table table th, .prose .ui-table table td { padding: 10px 14px; white-space: nowrap; border-bottom: 1px solid var(--hairline); vertical-align: middle; }
.prose .ui-table table thead th { background: var(--light); font-size: 11px; letter-spacing: .06em; }
.prose .ui-table table caption { padding: 12px 14px 4px; }
.prose .ui-table table tbody tr:last-child > * { border-bottom: 0; }
.prose .ui-dark .ui-table table thead th, .prose .ui-table.ui-dark table thead th { background: rgba(255, 255, 255, .04); }
.prose .ui-bubble p { line-height: 1.45; }

/* Numbered steps: circles joined by a line. */
.ch-steps { counter-reset: chstep; display: grid; gap: 0; }
.ch-steps > li { counter-increment: chstep; position: relative; padding: 2px 0 26px 58px; }
.ch-steps > li::before { content: counter(chstep); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--white); color: var(--brand-deep); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1.5px rgba(107, 78, 255, .32), 0 8px 18px -10px var(--brand-glow); }
.ch-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 46px; bottom: 6px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, rgba(107, 78, 255, .4), rgba(107, 78, 255, .06)); }
.ch-steps > li:last-child { padding-bottom: 0; }
.ch-steps p { margin: 0; color: var(--ink-2); }
.ch-steps .ch-step-name { margin-bottom: 4px; color: var(--ink); font-size: 17.5px; font-weight: 650; letter-spacing: -.015em; line-height: 1.4; }

/* Callouts: note, tip, heads up. */
.ch-callout { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px 16px 16px; border-radius: var(--r-card); background: var(--light); box-shadow: inset 3px 0 0 var(--gray-2); font-size: 16px; line-height: 1.6; }
.ch-callout p { margin: 0; }
.ch-callout-ico { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 0 0 1px var(--hairline); }
.ch-callout-ico .ico { width: 16px; height: 16px; }
.ch-callout-tip { background: var(--brand-wash); box-shadow: inset 3px 0 0 var(--brand); }
.ch-callout-tip .ch-callout-ico { color: var(--brand); }
.ch-callout-warn { background: #fff7e6; box-shadow: inset 3px 0 0 var(--amber); }
.ch-callout-warn .ch-callout-ico { color: var(--amber-ink); }

/* Tables and code. */
.ch-table caption { padding: 14px 18px 0; text-align: left; font-size: 13px; color: var(--gray); }
.ch-article table.data { font-size: 15px; }
.ch-code pre, .prose .ch-code pre { margin: 0; border-radius: 0; background: none; }
.ch-code .code-block-head > span { display: inline-flex; align-items: center; gap: 8px; }
.ch-code .code-block-head .ico { width: 14px; height: 14px; color: var(--brand-ink); }
.code-block .copy-btn { height: 28px; padding: 0 12px; border-radius: var(--r-pill); font-size: 12.5px; }

/* Figures: product mockups on a soft aurora stage. */
.ch-figure { margin: 32px 0 8px; }
.prose section > .ch-figure { margin-top: 32px; }
.ch-figure-stage { position: relative; isolation: isolate; overflow: hidden; padding: 32px; border-radius: var(--r-panel); background: radial-gradient(60% 80% at 100% 0%, rgba(107, 78, 255, .16), transparent 65%), radial-gradient(50% 70% at 0% 100%, rgba(61, 220, 255, .14), transparent 65%), radial-gradient(40% 50% at 70% 100%, rgba(255, 95, 210, .08), transparent 70%), #f7f6fc; box-shadow: inset 0 0 0 1px var(--hairline); }
.ch-figure-stage::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(20, 16, 60, .1) 1px, transparent 1.4px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent 80%); mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent 80%); }
.ch-figure figcaption { margin-top: 14px; padding-left: 14px; border-left: 2px solid var(--brand); color: var(--gray); font-size: 14.5px; line-height: 1.5; }
.ch-figure .ui-window { max-width: 620px; margin-inline: auto; }
.ch-figure .ui-table { box-shadow: 0 0 0 1px var(--hairline), var(--shadow-card); }
.ch-figure-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.ch-figure-card { padding: 22px; border-radius: var(--r-card); background: var(--white); box-shadow: 0 0 0 1px var(--hairline), var(--shadow-card); }

/* The MCP diagram. */
.ch-diagram { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1.05fr) 44px minmax(0, 1fr); align-items: center; }
.ch-dg-col { display: grid; gap: 8px; }
.ch-dg-h { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); text-align: center; }
.ch-dg-node { display: flex; align-items: center; gap: 9px; min-height: 40px; padding: 6px 12px 6px 8px; border-radius: 12px; background: var(--white); color: var(--ink); font-size: 13.5px; font-weight: 600; line-height: 1.2; box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .2s var(--ease-out), box-shadow .2s; }
a.ch-dg-node:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift), 0 0 0 1px rgba(107, 78, 255, .25); }
.ch-dg-node > .ico { width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--night); color: var(--white); flex: none; }
.ch-dg-wires { width: 100%; height: 150px; overflow: visible; }
.ch-dg-wires .flow-line { stroke: var(--brand); stroke-opacity: .55; vector-effect: non-scaling-stroke; }
.ch-dg-gate { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; gap: 4px; padding: 20px 14px 16px; border-radius: 22px; background: var(--night); color: var(--d-text); text-align: center; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 50px -24px rgba(60, 40, 180, .6), 0 0 0 8px rgba(107, 78, 255, .07); }
.ch-dg-gate::before { content: ""; position: absolute; z-index: -1; inset: -30% -20% auto; height: 110%; background: radial-gradient(50% 50% at 50% 20%, rgba(107, 78, 255, .55), transparent 70%); animation: breathe 6s ease-in-out infinite; }
.ch-dg-mark { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 4px; border-radius: 14px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 0 30px -6px var(--brand-glow); }
.ch-dg-mark .mark { width: 26px; height: 26px; }
.ch-dg-gate b { font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: var(--white); }
.ch-dg-sub { font-size: 12px; font-weight: 600; color: var(--brand-ink); }
.ch-dg-rules { display: grid; gap: 5px; width: 100%; margin-top: 10px; text-align: left; }
.ch-dg-rules li { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 9px; background: rgba(255, 255, 255, .05); color: var(--d-text); font-size: 12px; font-weight: 550; line-height: 1.25; }
.ch-dg-rules .ico { flex: none; width: 13px; height: 13px; color: var(--brand-ink); }

/* Prompt cards. */
.ch-prompts { display: grid; gap: 12px; }
.ch-prompts-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.ch-prompt { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 18px; border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease); }
.ch-prompt:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift), 0 0 0 1px rgba(107, 78, 255, .16); }
.ch-prompt-write { background: linear-gradient(var(--white), var(--white)) padding-box, linear-gradient(140deg, rgba(61, 220, 255, .55), rgba(107, 78, 255, .6), rgba(255, 95, 210, .45)) border-box; border: 1px solid transparent; box-shadow: var(--shadow-card); }
.prose .ch-prompts > li + li { margin-top: 0; }
.ch-prompt-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; }
.ch-prompt-kind { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
.ch-prompt-kind .ico { width: 15px; height: 15px; }
.ch-kind-write { color: var(--brand-deep); }
.ch-prompt-text { position: relative; margin: 0; padding-left: 26px; color: var(--ink); font-size: 17px; font-weight: 550; line-height: 1.5; letter-spacing: -.012em; }
.ch-prompt-text::before { content: "\201C"; position: absolute; left: -2px; top: -10px; font-size: 44px; font-weight: 700; line-height: 1; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ch-prompt-tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding-left: 26px; }
.ch-tool { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 8px; background: var(--light); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--hairline); transition: box-shadow .2s, color .2s; }
.ch-tool code, .prose .ch-tool code { padding: 0; background: none; box-shadow: none; font: 600 12px/1 var(--mono); color: inherit; }
.ch-tool-write { background: var(--brand-wash); color: var(--brand-deep); box-shadow: inset 0 0 0 1px rgba(107, 78, 255, .18); }
a.ch-tool:hover { color: var(--brand-deep); box-shadow: inset 0 0 0 1.5px var(--brand); }
.ch-plan-badge { display: inline-flex; align-items: flex-start; gap: 8px; align-self: flex-start; margin: 0 0 0 26px; padding: 7px 12px 7px 10px; border-radius: 12px; background: linear-gradient(100deg, rgba(61, 220, 255, .1), rgba(107, 78, 255, .12) 50%, rgba(255, 95, 210, .1)); color: var(--brand-deep); font-size: 13px; font-weight: 600; line-height: 1.4; }
.ch-plan-badge .ico { flex: none; width: 15px; height: 15px; margin-top: 1px; }
.copy-btn.ch-copy { position: static; flex: none; height: 30px; padding: 0 14px; border-radius: var(--r-pill); background: var(--white); color: var(--ink); font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, color .2s, background .2s; }
.copy-btn.ch-copy:hover { background: var(--brand-wash); color: var(--brand-deep); box-shadow: inset 0 0 0 1px var(--brand); }
.copy-btn.ch-copy.is-copied { background: var(--brand); color: var(--white); box-shadow: none; }

/* Chips under the article: integrations (with logos and status) and glossary terms. */
.ch-chipset { margin-top: 44px !important; }
.ch-chipset + .ch-chipset { margin-top: 20px !important; }
.ch-chipset-h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.ch-chipset-h .ico { width: 15px; height: 15px; color: var(--brand); }
.ch-chipset .chips { margin: 0; }
.ch-ints { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.ch-int { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 6px 4px 6px; border-radius: 12px; background: var(--white); font-size: 14.5px; font-weight: 600; box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .2s var(--ease-out), box-shadow .2s; }
.ch-int img.logo, .ch-int .logo-mono { width: 28px; height: 28px; padding: 5px; border-radius: 8px; }
.ch-int .logo-mono { padding: 0; }
.ch-int:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift), 0 0 0 1px rgba(107, 78, 255, .22); }
.ch-int .status { margin-left: 2px; }

/* Related guides, the in-article CTA, the feedback line. */
.ch-related { margin-top: 56px !important; }
.ch-related h2 { margin-bottom: 18px !important; }
.ch-cta { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 48px !important; padding: 22px 24px; border-radius: 20px; background: var(--night); color: var(--d-gray); font-size: 16px; line-height: 1.5; box-shadow: 0 30px 60px -30px rgba(40, 24, 140, .55); }
.ch-cta::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -90%; width: 60%; height: 260%; background: radial-gradient(closest-side, rgba(107, 78, 255, .45), transparent); pointer-events: none; }
.ch-cta::after { content: ""; position: absolute; z-index: -1; left: -10%; bottom: -120%; width: 50%; height: 220%; background: radial-gradient(closest-side, rgba(61, 220, 255, .16), transparent); pointer-events: none; }
.ch-cta p { flex: 1 1 260px; margin: 0; }
.ch-cta b { color: var(--white); }
.ch-cta-mark { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .06); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 0 26px -8px var(--brand-glow); }
.ch-cta-mark .mark { width: 26px; height: 26px; }
.prose .ch-cta a.btn-primary { color: var(--white); }
.ch-feedback { display: flex; align-items: center; gap: 10px; margin-top: 18px !important; font-size: 14px; color: var(--gray); }
.ch-feedback .ico { flex: none; width: 17px; height: 17px; color: var(--gray-2); }

/* ---------- Guide cards ---------- */
.ch-ggrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ch-ggrid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ch-ggrid > li { display: flex; min-width: 0; }
.prose .ch-ggrid > li + li { margin-top: 0; }
.ch-gcard { position: relative; display: flex; flex-direction: column; width: 100%; overflow: hidden; border-radius: 20px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease); }
.ch-gcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift), 0 0 0 1px rgba(107, 78, 255, .18); }
.ch-gcard-visual { position: relative; isolation: isolate; display: grid; place-items: center; height: 176px; overflow: hidden; background: radial-gradient(70% 90% at 100% 0%, var(--topic-soft, rgba(107, 78, 255, .14)), transparent 70%), radial-gradient(60% 80% at 0% 100%, rgba(61, 220, 255, .1), transparent 70%), #f8f7fc; border-bottom: 1px solid var(--hairline); }
.ch-gcard-visual::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(20, 16, 60, .1) 1px, transparent 1.4px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent 80%); mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent 80%); }
.ch-gcard-visual > .ch-m { transition: transform .5s var(--ease-out); }
.ch-gcard:hover .ch-gcard-visual > .ch-m { transform: scale(1.035); }
.ch-gcard-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 20px; }
.ch-gcard-title, .prose .ch-gcard-title { margin: 0; font-size: 19px; font-weight: 650; line-height: 1.28; letter-spacing: -.02em; transition: color .2s; }
.ch-gcard:hover .ch-gcard-title { color: var(--brand-deep); }
.ch-gcard-text { color: var(--gray); font-size: 15px; line-height: 1.5; }
.ch-gcard-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--gray-2); }
.ch-gcard-meta > span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 10px; border-radius: 50%; background: currentColor; vertical-align: middle; }

/* ---------- Card motifs (decorative) ---------- */
.ch-m { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.ch-m-core { position: relative; z-index: 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 17px; background: linear-gradient(160deg, #2a2070, var(--night)); color: var(--white); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 14px 30px -12px var(--brand-glow), 0 0 0 8px rgba(107, 78, 255, .07); }
.ch-m-core .mark { width: 32px; height: 32px; }
.ch-m-core-sm { width: 44px; height: 44px; border-radius: 14px; }
.ch-m-core-sm .mark { width: 25px; height: 25px; }
/* Orbit: logos around the mark with flowing lines. */
.ch-m-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ch-m-wires .flow-line { stroke: var(--brand); stroke-opacity: .4; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.ch-m-node { position: absolute; z-index: 1; transform: translate(-50%, -50%); }
.ch-m-node img.logo, .ch-m-node .logo-mono { box-shadow: 0 8px 20px -10px rgba(20, 16, 60, .35), 0 0 0 1px var(--hairline); }
.ch-m-at-0 { left: 16%; top: 26%; } .ch-m-at-1 { left: 84%; top: 24%; } .ch-m-at-2 { left: 88%; top: 74%; } .ch-m-at-3 { left: 14%; top: 76%; } .ch-m-at-4 { left: 50%; top: 12%; } .ch-m-at-5 { left: 50%; top: 88%; }
.ch-m-client { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px 0 8px; border-radius: var(--r-pill); background: var(--white); color: var(--ink); font-size: 12.5px; font-weight: 650; white-space: nowrap; box-shadow: 0 8px 20px -10px rgba(20, 16, 60, .35), 0 0 0 1px var(--hairline); }
.ch-m-client .ico { width: 14px; height: 14px; color: #c8613a; }
/* Logo wall. */
.ch-m-wall { display: grid; grid-template-columns: repeat(3, 46px); justify-content: center; align-content: center; gap: 10px; }
.ch-m-tile { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--white); box-shadow: 0 6px 16px -10px rgba(20, 16, 60, .4), 0 0 0 1px var(--hairline); }
.ch-m-tile img.logo, .ch-m-tile .logo-mono { box-shadow: none; }
.ch-m-tile-core { background: linear-gradient(160deg, #2a2070, var(--night)); color: var(--white); box-shadow: 0 10px 24px -10px var(--brand-glow); }
.ch-m-tile-core .mark { width: 26px; height: 26px; }
.ch-m-wall > :nth-child(n+10) { display: none; }
/* Mini flow. */
.ch-m-flow { gap: 8px; }
.ch-m-pill { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 9px; border-radius: 11px; background: var(--white); font-size: 13px; font-weight: 650; box-shadow: 0 6px 16px -10px rgba(20, 16, 60, .4), 0 0 0 1px var(--hairline); }
.ch-m-pill .ico { width: 15px; height: 15px; color: #c8613a; }
.ch-m-arrow { position: relative; width: 34px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(61, 220, 255, .6), rgba(107, 78, 255, .7)); overflow: visible; }
.ch-m-arrow i { position: absolute; top: -2px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 8px var(--brand); animation: ch-travel 2.2s var(--ease) infinite; }
.ch-m-stack { display: grid; gap: 6px; }
.ch-m-stack img.logo, .ch-m-stack .logo-mono { width: 30px; height: 30px; padding: 6px; border-radius: 9px; box-shadow: 0 6px 14px -8px rgba(20, 16, 60, .4), 0 0 0 1px var(--hairline); }
.ch-m-stack .logo-mono { padding: 0; }
@keyframes ch-travel { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(28px); opacity: 0; } }
/* Lanes. */
.ch-m-lanes { flex-direction: column; align-items: stretch; gap: 8px; width: min(250px, 86%); height: auto; }
.ch-m-lane { display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 12px 0 6px; border-radius: 12px; background: var(--white); font-size: 12.5px; box-shadow: 0 6px 16px -10px rgba(20, 16, 60, .35), 0 0 0 1px var(--hairline); }
.ch-m-lane b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }
.ch-m-lane-ico { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; }
.ch-m-lane-ico .ico { width: 14px; height: 14px; }
.ch-m-lane-green .ch-m-lane-ico { background: #e7f8ec; color: var(--green-ink); }
.ch-m-lane-brand .ch-m-lane-ico { background: var(--brand-wash); color: var(--brand-deep); }
.ch-m-lane-amber .ch-m-lane-ico { background: #fff4dc; color: var(--amber-ink); }
.ch-m-dots { display: flex; gap: 3px; }
.ch-m-dots i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .35; }
.ch-m-lane-green .ch-m-dots { color: var(--green); }
.ch-m-lane-brand .ch-m-dots { color: var(--brand); }
.ch-m-lane-amber .ch-m-dots { color: var(--amber); }
/* An AI answer with a citation. */
.ch-m-answer { flex-direction: column; align-items: stretch; gap: 10px; width: min(250px, 86%); height: auto; padding: 14px; border-radius: 14px; background: var(--white); box-shadow: 0 12px 26px -14px rgba(20, 16, 60, .4), 0 0 0 1px var(--hairline); }
.ch-m-q { display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border-radius: var(--r-pill); background: var(--light); color: var(--ink-2); font-size: 12px; font-weight: 550; white-space: nowrap; overflow: hidden; }
.ch-m-q .ico { flex: none; width: 13px; height: 13px; color: var(--gray); }
.ch-m-lines { display: grid; gap: 6px; }
.ch-m-lines i { height: 7px; border-radius: 4px; background: linear-gradient(90deg, rgba(20, 16, 60, .1), rgba(20, 16, 60, .05)); }
.ch-m-lines .ch-m-short { width: 62%; }
.ch-m-cite { display: inline-flex; align-items: center; align-self: flex-start; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: var(--brand-wash); color: var(--brand-deep); font-size: 12px; font-weight: 650; box-shadow: inset 0 0 0 1px rgba(107, 78, 255, .2), 0 0 18px -6px var(--brand-glow); }
.ch-m-cite .ico { width: 13px; height: 13px; }
/* A white-label report. */
.ch-m-report { flex-direction: column; align-items: stretch; gap: 12px; width: min(250px, 86%); height: auto; padding: 14px; border-radius: 14px; background: var(--white); box-shadow: 0 12px 26px -14px rgba(20, 16, 60, .4), 0 0 0 1px var(--hairline); }
.ch-m-report-head { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 9px; align-items: center; }
.ch-m-report-head b { font-size: 13px; }
.ch-m-report-head small { grid-column: 2; font-size: 11px; color: var(--gray); }
.ch-m-report-logo, .ch-report-logo { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #ff9f5a, #e8590c); color: var(--white); font-size: 11.5px; font-weight: 800; }
.ch-m-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ch-m-kpis > span { display: grid; gap: 2px; padding: 8px; border-radius: 9px; background: var(--light); }
.ch-m-kpis small { font-size: 10.5px; color: var(--gray); }
.ch-m-kpis b { font-size: 15px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
/* Mini product UI at card size. */
.ch-m-ui { width: 300px; max-width: none; height: auto; transform: scale(.86); }
.ch-m-ui > * { width: 100%; }
.ch-m-ui > .ui-chart { padding: 14px 16px; border-radius: 14px; background: var(--white); box-shadow: 0 12px 26px -14px rgba(20, 16, 60, .4), 0 0 0 1px var(--hairline); }
.ch-m-ui > .ui-table { box-shadow: 0 12px 26px -14px rgba(20, 16, 60, .4), 0 0 0 1px var(--hairline); }
.ch-m-ui > .ui-table { overflow: hidden; }
.ch-m-ui .ui-table table { min-width: 0; }
.ch-m-ui .ui-table th, .ch-m-ui .ui-table td { padding: 9px 10px; }
.ch-m-ui .ui-chart-columns .ui-bars { height: 96px; }
.ch-m-ui-dark { padding: 14px; border-radius: 16px; background: rgba(13, 15, 23, .94); box-shadow: 0 18px 36px -16px rgba(20, 16, 60, .6); }
.ch-m-ui-dark .ui-chat { gap: 10px; }
.ch-m-ui .ui-approve { box-shadow: 0 12px 26px -14px rgba(20, 16, 60, .45), 0 0 0 1px var(--hairline); }
/* Hub motifs. */
.ch-m-az { gap: 6px; }
.ch-m-az span { display: grid; place-items: center; width: 38px; height: 46px; border-radius: 11px; background: var(--white); font-size: 20px; font-weight: 700; color: var(--ink-2); box-shadow: 0 6px 14px -10px rgba(20, 16, 60, .4), 0 0 0 1px var(--hairline); }
.ch-m-az .is-on { transform: translateY(-6px); background: linear-gradient(140deg, #8a73ff, var(--brand-deep)); color: var(--white); box-shadow: 0 12px 24px -10px var(--brand-glow); }
.ch-m-chips { flex-direction: column; gap: 10px; padding: 0 18px; }
.ch-m-prompt { max-width: 260px; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: linear-gradient(135deg, #7c62ff, var(--brand-deep)); color: var(--white); font-size: 13px; font-weight: 550; line-height: 1.4; box-shadow: 0 12px 24px -12px var(--brand-glow); }
.ch-m-toolrow { padding: 6px; border-radius: 12px; background: var(--night-2); }
.ch-m-vs { gap: 14px; }
.ch-m-vs-stack { display: flex; }
.ch-m-vs-stack .ch-mono { box-shadow: 0 0 0 3px #f8f7fc, 0 8px 18px -10px rgba(20, 16, 60, .55); }
.ch-m-vs-stack .ch-mono + .ch-mono { margin-left: -10px; }
.ch-m-vs b { font-size: 22px; font-weight: 700; font-style: italic; letter-spacing: -.03em; color: var(--gray-2); }

/* ---------- /learn hub ---------- */
.ch-learn-hero { padding: 64px 0 88px; }
.ch-learn-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.ch-learn-copy > * { animation: rise-in .9s var(--ease-out) both; }
.ch-learn-copy > :nth-child(3) { animation-delay: .06s; }
.ch-learn-copy > :nth-child(4) { animation-delay: .12s; }
.ch-learn-copy > :nth-child(5) { animation-delay: .18s; }
.ch-learn-hero h1 { margin: 0 0 22px; font-size: clamp(46px, 5.8vw, 80px); }
.ch-learn-hero .lead { margin-bottom: 32px; color: #b9b9c4; }
.ch-learn-stats { display: flex; flex-wrap: wrap; gap: 16px 0; margin-bottom: 26px; }
.ch-learn-stats li { display: grid; gap: 2px; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--d-line); }
.ch-learn-stats li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.ch-learn-stats b { font-size: clamp(30px, 3.2vw, 40px); font-weight: 700; line-height: 1; letter-spacing: -.045em; color: var(--white); font-variant-numeric: tabular-nums; }
.ch-learn-stats span { font-size: 13.5px; color: var(--d-gray); }
.ch-learn-rss a { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.ch-learn-rss a:hover { color: var(--white); }
.ch-learn-rss .ico { width: 17px; height: 17px; }
.ch-learn-featured { position: relative; animation: rise-in 1s var(--ease-out) .2s both; }
.ch-learn-featured::before { content: ""; position: absolute; z-index: -1; inset: -10% -6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(107, 78, 255, .45), rgba(61, 220, 255, .1) 60%, transparent 75%); filter: blur(24px); animation: breathe 7s ease-in-out infinite; pointer-events: none; }
/* The featured guide: a glass card. */
.ch-feature { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-panel); background: rgba(255, 255, 255, .045); color: var(--d-text); text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px var(--d-line-2), 0 40px 90px -30px rgba(0, 0, 0, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform .35s var(--ease-out), box-shadow .35s; }
.ch-feature:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 1px rgba(176, 163, 255, .45), 0 40px 90px -30px rgba(0, 0, 0, .85), 0 0 80px -30px var(--brand-glow); }
.ch-feature-visual { position: relative; isolation: isolate; display: grid; place-items: center; height: 250px; border-bottom: 1px solid var(--d-line); background: radial-gradient(60% 80% at 50% 50%, rgba(107, 78, 255, .3), transparent 70%); }
.ch-feature-visual::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.4px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent 80%); mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent 80%); }
.ch-feature-visual .ch-m-orbit { max-width: 440px; }
.ch-feature-visual .ch-m-core { width: 70px; height: 70px; border-radius: 21px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 0 50px -6px var(--brand-glow), 0 0 0 12px rgba(107, 78, 255, .1); }
.ch-feature-visual .ch-m-core .mark { width: 40px; height: 40px; }
.ch-feature-visual .ch-m-wires .flow-line { stroke: var(--brand-ink); stroke-opacity: .55; }
.ch-feature-visual .ch-m-client { background: rgba(255, 255, 255, .08); color: var(--white); box-shadow: inset 0 0 0 1px var(--d-line-2); }
.ch-feature-body { display: flex; flex-direction: column; gap: 12px; padding: 24px 26px 26px; }
.ch-feature-k { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--d-gray); }
.ch-feature-title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 650; line-height: 1.2; letter-spacing: -.025em; color: var(--white); }
.ch-feature-text { color: var(--d-gray); font-size: 15.5px; line-height: 1.55; }
.ch-feature-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-ink); font-size: 15px; font-weight: 650; }
.ch-feature-cta .ico { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.ch-feature:hover .ch-feature-cta .ico { transform: translateX(3px); }
/* The library and its topic filter (radio pills; :has() filters the grid, no JS). */
.ch-library { padding-top: 88px; }
.ch-filter { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
.ch-filter label { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 16px; border-radius: var(--r-pill); background: var(--white); color: var(--ink); font-size: 14.5px; font-weight: 600; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, color .2s, box-shadow .2s; user-select: none; }
.ch-filter label span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: var(--r-pill); background: var(--light); color: var(--gray); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ch-filter label:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.ch-filter input:checked + label { background: var(--night); color: var(--white); box-shadow: 0 10px 24px -12px rgba(20, 16, 60, .6); }
.ch-filter input:checked + label span { background: rgba(255, 255, 255, .14); color: var(--white); }
.ch-filter input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 3px; }
.ch-filter-scope:has(#topic-ai-connectors:checked) .ch-gitem:not([data-topic="ai-connectors"]),
.ch-filter-scope:has(#topic-mcp:checked) .ch-gitem:not([data-topic="mcp"]),
.ch-filter-scope:has(#topic-paid-search:checked) .ch-gitem:not([data-topic="paid-search"]),
.ch-filter-scope:has(#topic-agencies:checked) .ch-gitem:not([data-topic="agencies"]),
.ch-filter-scope:has(#topic-ai-search:checked) .ch-gitem:not([data-topic="ai-search"]) { display: none; }
.ch-filter-scope .ch-gitem { animation: pop-in .45s var(--ease-out) both; }
/* The newsletter strip. */
.ch-news-wrap { padding-top: 0; }
.ch-news { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; padding: 48px; border-radius: 28px; background: radial-gradient(50% 90% at 100% 0%, rgba(107, 78, 255, .45), transparent 65%), radial-gradient(40% 80% at 0% 100%, rgba(61, 220, 255, .18), transparent 65%), radial-gradient(30% 60% at 60% 110%, rgba(255, 95, 210, .16), transparent 70%), var(--night); color: var(--d-gray); box-shadow: 0 40px 80px -40px rgba(40, 24, 140, .55); }
.ch-news::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: var(--grain); background-size: 180px; opacity: .06; mix-blend-mode: overlay; pointer-events: none; }
.ch-news .kicker { color: var(--brand-ink); }
.ch-news h2 { margin: 0 0 12px; color: var(--white); font-size: clamp(28px, 3vw, 40px); }
.ch-news-copy p:not(.kicker) { max-width: 30em; font-size: 16px; }
.ch-news-copy a { color: var(--brand-ink); }
.ch-news-form .join { width: 100%; }
.ch-news-form .join-row { justify-content: flex-start; }
.ch-news-form .join-alt a { color: var(--d-gray); }
.ch-news-form .join-alt a:hover { color: var(--white); }
/* Other hubs, as cards with a motif. */
.ch-hubcard { position: relative; display: flex; flex-direction: column; gap: 10px; overflow: hidden; padding: 0 24px 24px; border-radius: 22px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .3s var(--ease-out), box-shadow .3s; }
.ch-hubcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift), 0 0 0 1px rgba(107, 78, 255, .18); }
.ch-hubcard-visual { display: grid; place-items: center; height: 150px; margin: 0 -24px 10px; background: radial-gradient(70% 90% at 100% 0%, rgba(107, 78, 255, .14), transparent 70%), #f8f7fc; border-bottom: 1px solid var(--hairline); }
.ch-hubcard-title { margin: 0; font-size: 21px; }
.ch-hubcard:hover .ch-hubcard-title { color: var(--brand-deep); }
.ch-hubcard-text { color: var(--gray); font-size: 15px; line-height: 1.5; }
.ch-hubcard-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; color: var(--brand-deep); font-size: 15px; font-weight: 650; }
.ch-hubcard-cta .ico { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.ch-hubcard:hover .ch-hubcard-cta .ico { transform: translateX(3px); }

/* ---------- "Keep exploring" strip ---------- */
.ch-explore .kicker { margin-bottom: 20px; }
.ch-explore-title { margin: -6px 0 20px; font-size: clamp(24px, 2.6vw, 32px); }
.ch-explore-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; }
.ch-explore-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ch-explore-1 { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
.ch-explore-h { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.ch-explore-list { display: grid; gap: 2px; }
.ch-explore-list a { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; color: var(--ink); font-size: 15.5px; font-weight: 550; line-height: 1.35; text-decoration: none; transition: color .15s; }
.ch-explore-list a:hover { color: var(--brand-deep); }
.ch-explore-list .ico { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--brand); }
.ch-explore-1 .ch-explore-list { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.ch-plat-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ch-plat-row a { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px 0 8px; border-radius: 12px; background: var(--white); color: var(--ink); font-size: 14.5px; font-weight: 600; text-decoration: none; box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .2s var(--ease-out), box-shadow .2s; }
.ch-plat-row a:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift), 0 0 0 1px rgba(107, 78, 255, .22); }
.ch-plat-row img.logo, .ch-plat-row .logo-mono { width: 26px; height: 26px; padding: 4px; border-radius: 8px; }
.ch-plat-row .logo-mono { padding: 0; }

/* ---------- Glossary ---------- */
.ch-gl-visual { position: relative; display: grid; justify-items: center; gap: 18px; }
.ch-gl-big { font-size: clamp(96px, 13vw, 176px); font-weight: 700; line-height: .85; letter-spacing: -.07em; color: var(--ink); }
.ch-gl-stack { display: grid; gap: 10px; width: min(380px, 100%); }
.ch-gl-stack li { display: grid; gap: 3px; padding: 14px 16px; border-radius: 16px; background: var(--white); font-size: 13.5px; line-height: 1.4; color: var(--gray); box-shadow: var(--shadow-lift), 0 0 0 1px var(--hairline); }
.ch-gl-stack li:nth-child(1) { margin-right: 36px; }
.ch-gl-stack li:nth-child(2) { margin-left: 36px; background: linear-gradient(var(--white), var(--white)) padding-box, linear-gradient(140deg, rgba(61, 220, 255, .6), rgba(107, 78, 255, .6), rgba(255, 95, 210, .5)) border-box; border: 1px solid transparent; }
.ch-gl-stack li:nth-child(3) { margin-right: 18px; }
.ch-gl-stack b { color: var(--ink); font-size: 14.5px; }
/* Sticky A–Z bar. */
.ch-az { position: sticky; top: var(--nav-h); z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); box-shadow: inset 0 -1px 0 var(--hairline); }
.ch-az-list { display: flex; gap: 4px; padding: 10px 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ch-az-list::-webkit-scrollbar { display: none; }
.ch-az-list li { flex: 1 0 auto; }
.ch-az-list a, .ch-az-list span { display: grid; place-items: center; min-width: 34px; height: 36px; border-radius: 10px; font-size: 15px; font-weight: 650; text-decoration: none; }
.ch-az-list a { color: var(--ink); background: var(--light); transition: background .15s, color .15s, box-shadow .15s; }
.ch-az-list a:hover { background: var(--brand-wash); color: var(--brand-deep); box-shadow: inset 0 0 0 1px rgba(107, 78, 255, .3); }
.ch-az-list span { color: var(--gray-2); opacity: .45; }
.ch-letter { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 32px; padding: 40px 0; border-top: 1px solid var(--hairline); scroll-margin-top: calc(var(--nav-h) + 70px); }
.ch-letter:first-child { border-top: 0; padding-top: 16px; }
.ch-letter-h { position: sticky; top: calc(var(--nav-h) + 80px); align-self: start; display: grid; gap: 6px; margin: 0; }
.ch-letter-h span { font-size: 76px; font-weight: 700; line-height: .9; letter-spacing: -.05em; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .05em; }
.ch-letter-h small { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--gray); }
.ch-terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ch-terms > li { display: flex; min-width: 0; }
.ch-term { position: relative; display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 20px 48px 20px 22px; border-radius: var(--r-card); background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .25s var(--ease-out), box-shadow .25s; }
.ch-term:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift), 0 0 0 1px rgba(107, 78, 255, .2); }
.ch-term-name { margin: 0; font-size: 18px; font-weight: 650; line-height: 1.3; letter-spacing: -.015em; transition: color .2s; }
.ch-term:hover .ch-term-name { color: var(--brand-deep); }
.ch-term-def { color: var(--gray); font-size: 15px; line-height: 1.5; }
.ch-term-aka { font-size: 12.5px; color: var(--gray-2); }
.ch-term-go { position: absolute; right: 18px; top: 20px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--light); color: var(--gray-2); transition: background .2s, color .2s, transform .25s var(--ease-out); }
.ch-term-go .ico { width: 14px; height: 14px; }
.ch-term:hover .ch-term-go { background: var(--brand); color: var(--white); transform: translateX(2px); }
/* Term page: the definition card. */
.ch-def { position: relative; isolation: isolate; overflow: hidden; padding: 30px 32px 22px; border-radius: var(--r-panel); background: radial-gradient(60% 90% at 100% 0%, rgba(107, 78, 255, .45), transparent 65%), radial-gradient(50% 80% at 0% 100%, rgba(61, 220, 255, .16), transparent 70%), var(--night); color: var(--d-text); box-shadow: 0 40px 80px -40px rgba(40, 24, 140, .6); }
.ch-def::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: var(--grain); background-size: 180px; opacity: .06; mix-blend-mode: overlay; pointer-events: none; }
.ch-def > * + * { margin-top: 14px; }
.ch-def-k { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); }
.ch-def-k .ico { width: 15px; height: 15px; }
.ch-def-text { color: var(--white); font-size: clamp(20px, 2vw, 24px); font-weight: 500; line-height: 1.45; letter-spacing: -.02em; }
.ch-def-text code { background: rgba(255, 255, 255, .1) !important; box-shadow: none !important; color: #ddd6ff; }
.ch-def-text a { color: var(--brand-ink) !important; }
.ch-def-aka { color: var(--d-gray); font-size: 15px; }
.ch-def-aka b { color: var(--white); }
.ch-def-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px !important; padding-top: 14px; border-top: 1px solid var(--d-line); font-size: 12.5px; color: var(--d-gray); }
/* Read-more guides as compact cards. */
.ch-mini-guides { display: grid; gap: 12px; }
.prose .ch-mini-guides > li + li { margin-top: 0; }
.ch-mini-guide { display: grid; grid-template-columns: 172px minmax(0, 1fr); overflow: hidden; border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .25s var(--ease-out), box-shadow .25s; }
.ch-mini-guide:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift), 0 0 0 1px rgba(107, 78, 255, .2); }
.ch-mini-guide-visual { position: relative; display: grid; place-items: center; overflow: hidden; min-height: 120px; background: radial-gradient(80% 90% at 100% 0%, rgba(107, 78, 255, .14), transparent 70%), #f8f7fc; border-right: 1px solid var(--hairline); }
/* The card motif at about half size: same 300×176 box, scaled from the centre. */
.ch-mini-guide-visual > .ch-m { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.56); }
.ch-mini-guide-visual > :is(.ch-m-orbit, .ch-m-wall, .ch-m-flow) { width: 300px; height: 176px; }
.ch-mini-guide-visual > :is(.ch-m-report, .ch-m-answer, .ch-m-lanes) { width: 250px; }
.ch-mini-guide-visual > .ch-m-ui { transform: translate(-50%, -50%) scale(.5); }
.ch-mini-guide-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px; }
.ch-mini-guide-body b { font-size: 17px; line-height: 1.3; letter-spacing: -.015em; }
.ch-mini-guide:hover b { color: var(--brand-deep); }
.ch-mini-guide-body > span:last-child { color: var(--gray); font-size: 14.5px; line-height: 1.45; }
/* Related terms: a chip cloud. */
.ch-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.prose .ch-cloud > li + li { margin-top: 0; }
.ch-cloud-chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: var(--r-pill); background: var(--white); color: var(--ink) !important; font-size: 15.5px; font-weight: 600; box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .2s var(--ease-out), box-shadow .2s, color .2s; }
.ch-cloud > li:nth-child(3n+1) .ch-cloud-chip { font-size: 17px; height: 46px; }
.ch-cloud-chip .ico { width: 15px; height: 15px; color: var(--brand); opacity: .5; transition: transform .2s var(--ease-out), opacity .2s; }
.ch-cloud-chip:hover { transform: translateY(-2px); color: var(--brand-deep) !important; box-shadow: var(--shadow-lift), 0 0 0 1.5px var(--brand); }
.ch-cloud-chip:hover .ico { opacity: 1; transform: translateX(2px); }

/* ---------- Comparisons ---------- */
.ch-mono { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(150deg, #4a4f63, #1f2230); color: var(--white); font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 18px -10px rgba(20, 16, 60, .55); }
.ch-mono .ico { width: 18px; height: 18px; }
.ch-mono-lg { width: 76px; height: 76px; border-radius: 22px; font-size: 34px; }
.ch-mono-mega { background: linear-gradient(160deg, #2a2070, var(--night)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 10px 24px -10px var(--brand-glow); }
.ch-mono-mega .mark { width: 24px; height: 24px; }
.ch-mono-lg.ch-mono-mega .mark { width: 44px; height: 44px; }
.ch-mono-ink { background: var(--light); color: var(--gray); box-shadow: inset 0 0 0 1px var(--hairline); }
.ch-mono-markifact { background: linear-gradient(150deg, #5a5e70, #26283a); }
.ch-mono-optmyzr { background: linear-gradient(150deg, #3d5a7a, #1b2c42); }
.ch-mono-opteo { background: linear-gradient(150deg, #2f6e66, #143c37); }
.ch-mono-adzooma { background: linear-gradient(150deg, #7a4868, #3b2032); }
/* Hub hero: the mark with competitors in orbit. */
.ch-cmp-visual { position: relative; height: 360px; }
.ch-cmp-visual::before, .ch-cmp-visual::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed rgba(107, 78, 255, .28); transform: translate(-50%, -50%); }
.ch-cmp-visual::before { width: 300px; height: 300px; animation: spin 80s linear infinite; }
.ch-cmp-visual::after { width: 180px; height: 180px; border-style: solid; border-color: rgba(107, 78, 255, .12); }
.ch-cmp-core { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; justify-items: center; gap: 8px; transform: translate(-50%, -50%); font-size: 14px; }
.ch-cmp-orb { position: absolute; z-index: 1; display: grid; justify-items: center; gap: 6px; transform: translate(-50%, -50%); }
.ch-cmp-orb small { font-size: 12.5px; font-weight: 600; color: var(--gray); }
.ch-cmp-at-0 { left: 20%; top: 22%; } .ch-cmp-at-1 { left: 80%; top: 20%; } .ch-cmp-at-2 { left: 84%; top: 78%; } .ch-cmp-at-3 { left: 18%; top: 80%; }
.ch-comps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ch-comp { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--r-panel); background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .3s var(--ease-out), box-shadow .3s; }
.ch-comp:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift), 0 0 0 1px rgba(107, 78, 255, .2); }
.ch-comp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.ch-comp-head .ch-tag { margin-left: auto; align-self: center; }
.ch-comp-vs { font-size: 14px; font-weight: 700; font-style: italic; color: var(--gray-2); }
.ch-comp-title { margin: 0; font-size: 24px; letter-spacing: -.025em; transition: color .2s; }
.ch-comp:hover .ch-comp-title { color: var(--brand-deep); }
.ch-comp-text { color: var(--gray); font-size: 15.5px; line-height: 1.5; }
.ch-comp-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-comp-facts span { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: var(--r-pill); background: var(--light); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.ch-comp-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--gray); }
.ch-comp-go { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-deep); font-size: 14.5px; font-weight: 650; }
.ch-comp-go .ico { width: 15px; height: 15px; transition: transform .25s var(--ease-out); }
.ch-comp:hover .ch-comp-go .ico { transform: translateX(3px); }
.ch-how { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: start; }
.ch-how-copy h2 { margin-top: 0; }
.ch-principles { display: grid; gap: 14px; }
.ch-principles .card h3 { font-size: 19px; }
.ch-principles .card-ico { margin-bottom: 14px; }
/* /vs hero composition. */
.ch-vs-comp { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; gap: 28px; padding: 48px 24px; border-radius: 28px; background: radial-gradient(60% 80% at 50% 0%, rgba(107, 78, 255, .14), transparent 70%), var(--white); box-shadow: var(--shadow-lift), 0 0 0 1px var(--hairline); }
.ch-vs-comp::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background-image: radial-gradient(rgba(20, 16, 60, .1) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent 80%); mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent 80%); }
.ch-vs-side { display: grid; justify-items: center; gap: 12px; font-size: 16px; }
.ch-vs-side b { font-weight: 650; letter-spacing: -.015em; }
.ch-vs-x { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--white); font-size: 20px; font-weight: 700; font-style: italic; letter-spacing: -.03em; box-shadow: 0 0 0 1px var(--hairline), 0 10px 24px -12px rgba(20, 16, 60, .35); }
.ch-vs-x { background: linear-gradient(var(--white), var(--white)) padding-box, var(--aurora) border-box; border: 1.5px solid transparent; color: var(--brand-deep); }
.ch-vs-top { padding-bottom: 8px; }
/* The verdict. */
.ch-verdict { position: relative; isolation: isolate; overflow: hidden; padding: 34px 36px 28px; border-radius: var(--r-panel); background: radial-gradient(60% 90% at 100% 0%, rgba(107, 78, 255, .42), transparent 65%), radial-gradient(40% 80% at 0% 100%, rgba(61, 220, 255, .16), transparent 70%), var(--night); color: var(--d-text); box-shadow: 0 40px 80px -40px rgba(40, 24, 140, .6); }
.ch-verdict-k { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-ink); }
.ch-verdict-k .ico { width: 15px; height: 15px; }
.ch-verdict-text { max-width: 44em; color: var(--white); font-size: clamp(19px, 1.9vw, 23px); font-weight: 500; line-height: 1.5; letter-spacing: -.018em; }
.ch-verdict-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--d-line); }
.ch-verdict-facts li { display: grid; gap: 2px; }
.ch-verdict-facts b { color: var(--white); font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.ch-verdict-facts span { font-size: 13px; color: var(--d-gray); }
/* The comparison table. */
.ch-vs-table th:first-child { width: 24%; }
.ch-vs-table thead th { vertical-align: middle; }
.ch-th { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .02em; text-transform: none; color: var(--ink); }
.ch-th .ch-mono { width: 28px; height: 28px; border-radius: 9px; font-size: 13px; }
.ch-th .ch-mono-mega .mark { width: 17px; height: 17px; }
.ch-vs-table .ch-col-mega { background: rgba(107, 78, 255, .035); }
.ch-vs-table thead .ch-col-mega { background: linear-gradient(180deg, rgba(107, 78, 255, .1), rgba(107, 78, 255, .05)); box-shadow: inset 0 3px 0 var(--brand); }
.ch-vs-table td.ch-col-mega { color: var(--ink); font-weight: 550; }
.ch-vs-table td { color: var(--ink-2); }
.ch-cell { display: flex; align-items: flex-start; gap: 10px; }
.ch-cell > span:last-child { min-width: 0; }
.ch-ic { display: grid; place-items: center; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; }
.ch-ic .ico { width: 12px; height: 12px; stroke-width: 2.8; }
.ch-ic-yes { background: #e7f8ec; color: var(--green-ink); }
.ch-ic-no { background: #fff0ee; color: var(--red-ink); }
.ch-ic-unknown { background: var(--light); box-shadow: inset 0 0 0 1px var(--line); }
.ch-ic-unknown::before { content: ""; width: 8px; height: 2px; border-radius: 1px; background: var(--gray-2); }
.ch-cell-unknown { color: var(--gray); font-style: italic; }
.ch-sources { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--light); color: var(--gray); font-size: 13.5px; line-height: 1.55; }
.ch-sources .ico { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--gray-2); }
.ch-sources a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.ch-sources a:hover { color: var(--brand-deep); }
/* Positioning and "best for". */
.ch-position { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; margin-bottom: 88px; }
.ch-position h2 { margin: 0; font-size: clamp(28px, 3.2vw, 40px); }
.ch-position-card { display: flex; align-items: flex-start; gap: 22px; padding: 28px; border-radius: var(--r-panel); background: var(--white); color: var(--ink-2); font-size: 17px; line-height: 1.65; box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); }
.ch-position-tile .ch-mono-lg { width: 60px; height: 60px; border-radius: 18px; font-size: 26px; }
.ch-bestfor-head { margin-bottom: 36px; }
.ch-bestfor { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ch-best { padding: 30px; border-radius: var(--r-panel); background: var(--white); box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); }
.ch-best-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.ch-best-head :is(h2, h3) { margin: 0; font-size: 22px; }
.ch-best .check-list { gap: 14px; }
.ch-best-them .check-list > li::before { background: var(--check) center / 12px no-repeat, linear-gradient(135deg, #6b7086, #2c2f3d); box-shadow: none; }
.ch-best-mega { background: radial-gradient(60% 90% at 100% 0%, rgba(107, 78, 255, .08), transparent 70%) padding-box, linear-gradient(var(--white), var(--white)) padding-box, linear-gradient(140deg, rgba(61, 220, 255, .6), rgba(107, 78, 255, .65), rgba(255, 95, 210, .5)) border-box; border: 1.5px solid transparent; box-shadow: var(--shadow-lift); }
/* FAQ and the links to other comparisons. */
.ch-vs-faq { max-width: none; }
.ch-vs-faq h2 { margin-bottom: 8px; }
.ch-vs-next { margin-top: 56px; }
.ch-vs-next-h { margin: 0 0 16px; font-size: 22px; }
.ch-vs-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ch-vs-more a { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 16px 10px 10px; border-radius: 16px; background: var(--white); color: var(--ink); font-size: 15.5px; font-weight: 600; text-decoration: none; box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .2s var(--ease-out), box-shadow .2s; }
.ch-vs-more a > .ico { width: 16px; height: 16px; margin-left: auto; color: var(--gray-2); transition: transform .2s var(--ease-out), color .2s; }
.ch-vs-more a:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift), 0 0 0 1px rgba(107, 78, 255, .22); }
.ch-vs-more a:hover > .ico { color: var(--brand); transform: translateX(2px); }
.ch-vs-guide { margin-top: 18px; color: var(--gray); font-size: 15px; }
.ch-vs-guide a { color: var(--brand-deep); }
/* /vs/markifact: the headline numbers and the three points. */
.ch-mk-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ch-mk-kpis li { display: grid; gap: 10px; padding: 22px; border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); }
.ch-mk-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); }
.ch-mk-nums { display: grid; gap: 4px; }
.ch-mk-nums b { font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; line-height: 1; letter-spacing: -.045em; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.ch-mk-nums em { font-style: normal; font-size: 15px; font-weight: 650; color: var(--ink); }
.ch-mk-nums span { color: var(--gray); font-size: 14.5px; }
.ch-mk-point h2 { margin: 0 0 12px; font-size: 24px; letter-spacing: -.025em; }
.ch-mk-point p { color: var(--gray); }
.ch-mk-point p + p { margin-top: 12px; color: var(--ink); font-weight: 600; }

/* ---------- Prompts ---------- */
.ch-pp-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(40% 70% at 12% 0%, var(--accent-glow, rgba(107, 78, 255, .2)), transparent 70%); pointer-events: none; }
.ch-pp-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ch-pp-logo img.logo, .ch-pp-logo .logo-mono { width: 64px; height: 64px; padding: 13px; border-radius: 19px; box-shadow: 0 0 0 1px var(--hairline), 0 16px 34px -16px rgba(20, 16, 60, .45), inset 0 -3px 0 var(--accent, var(--brand)); }
.ch-pp-logo .logo-mono { padding: 0; }
.ch-jobs { display: flex; flex-wrap: wrap; gap: 8px; }
.ch-jobs a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 12px; border-radius: var(--r-pill); background: var(--white); color: var(--ink); font-size: 14.5px; font-weight: 600; text-decoration: none; box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .2s var(--ease-out), box-shadow .2s; }
.ch-jobs a .ico { width: 16px; height: 16px; color: var(--brand); }
.ch-jobs a span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: var(--r-pill); background: var(--light); color: var(--gray); font-size: 12px; font-weight: 700; }
.ch-jobs a:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift), 0 0 0 1.5px var(--brand); }
.ch-pp-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--gray); font-size: 14.5px; }
.ch-pp-note .ico { flex: none; width: 16px; height: 16px; color: var(--brand); }
.ch-demo .ui-window-body { padding: 16px; }
.ch-job-h { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ch-job-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-wash); color: var(--brand); box-shadow: inset 0 0 0 1px rgba(107, 78, 255, .14); }
.ch-job-ico .ico { width: 20px; height: 20px; }
.ch-job-n { margin-left: auto; padding: 4px 10px; border-radius: var(--r-pill); background: var(--light); color: var(--gray); font-size: 13px; font-weight: 650; letter-spacing: 0; }
.prose .ch-job > .ch-prompts { margin-top: 18px; }
/* Hub hero: a stack of prompt cards. */
.ch-stack { position: relative; height: 320px; }
.ch-stack-card { position: absolute; display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: start; width: min(380px, 92%); padding: 16px 18px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow-lift), 0 0 0 1px var(--hairline); }
.ch-stack-card img.logo, .ch-stack-card .logo-mono { width: 32px; height: 32px; padding: 6px; border-radius: 10px; }
.ch-stack-card .logo-mono { padding: 0; }
.ch-stack-text { font-size: 15px; font-weight: 600; line-height: 1.45; letter-spacing: -.01em; }
.ch-stack-tools { grid-column: 2; }
.ch-stack-tools code { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 8px; background: var(--brand-wash); color: var(--brand-deep); font: 600 12px/1 var(--mono); }
.ch-stack-0 { left: 0; top: 0; transform: rotate(-2.5deg); animation: ch-float 9s ease-in-out infinite; }
.ch-stack-1 { right: 0; top: 104px; z-index: 2; transform: rotate(1.5deg); background: linear-gradient(var(--white), var(--white)) padding-box, linear-gradient(140deg, rgba(61, 220, 255, .6), rgba(107, 78, 255, .6), rgba(255, 95, 210, .5)) border-box; border: 1.5px solid transparent; animation: ch-float 9s ease-in-out -3s infinite; }
.ch-stack-2 { left: 6%; top: 214px; transform: rotate(-1deg); animation: ch-float 9s ease-in-out -6s infinite; }
@keyframes ch-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.ch-plats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ch-plat { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 22px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: inset 0 3px 0 var(--accent, var(--brand)), var(--shadow-card), 0 0 0 1px var(--hairline); transition: transform .3s var(--ease-out), box-shadow .3s; }
.ch-plat::before { content: ""; position: absolute; z-index: -1; right: -30%; top: -50%; width: 90%; height: 100%; background: radial-gradient(closest-side, var(--accent-glow, rgba(107, 78, 255, .18)), transparent 70%); opacity: .7; pointer-events: none; transition: opacity .3s; }
.ch-plat:hover { transform: translateY(-3px); box-shadow: inset 0 3px 0 var(--accent, var(--brand)), var(--shadow-lift), 0 0 0 1px rgba(107, 78, 255, .2); }
.ch-plat:hover::before { opacity: 1; }
.ch-plat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ch-plat-head img.logo, .ch-plat-head .logo-mono { box-shadow: 0 0 0 1px var(--hairline), 0 10px 24px -14px rgba(20, 16, 60, .4); }
.ch-plat-count { display: grid; justify-items: end; font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.ch-plat-count small { font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--gray); }
.ch-plat-title { margin: 4px 0 0; font-size: 21px; transition: color .2s; }
.ch-plat:hover .ch-plat-title { color: var(--brand-deep); }
.ch-plat-text { color: var(--gray); font-size: 14.5px; line-height: 1.5; }
.ch-plat-jobs { display: grid; gap: 6px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--hairline); }
.ch-plat-jobs li { display: grid; grid-template-columns: 92px minmax(0, 1fr) 22px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--gray); }
.ch-plat-jobs b { color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.ch-jobbar { display: block; height: 6px; border-radius: var(--r-pill); background: rgba(20, 16, 60, .06); overflow: hidden; }
.ch-jobbar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--accent, var(--brand)) 70%, white), var(--brand)); }
.ch-plat-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.ch-plat-go { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-deep); font-size: 14.5px; font-weight: 650; }
.ch-plat-go .ico { width: 15px; height: 15px; transition: transform .25s var(--ease-out); }
.ch-plat:hover .ch-plat-go .ico { transform: translateX(3px); }
.ch-how-steps { margin-top: 28px; }
.ch-how-steps a { color: var(--brand-deep); }
.ch-how-notes { padding-top: 8px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1060px) {
  .ch-hero-split .ch-hero-grid, .ch-guide-hero.ch-hero-split .ch-hero-grid, .ch-learn-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ch-hero-visual { max-width: 620px; }
  .ch-cover { margin-left: 0; max-width: 380px; aspect-ratio: 16 / 10; }
  .ch-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "rail" "main"; gap: 32px; max-width: 760px; padding-top: 32px; }
  .ch-rail { position: static; max-height: none; overflow: visible; }
  .ch-rail-card { display: none; }
  .ch-rail .toc { padding: 14px 18px; border-radius: var(--r-card); background: var(--light); }
  .ch-rail .toc > summary { margin: 0; }
  .ch-rail .toc[open] > summary { margin-bottom: 10px; }
  .ch-toc > summary .ico { display: block; }
  .ch-ggrid, .ch-plats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-news { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 36px; }
  .ch-how, .ch-position { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ch-position { margin-bottom: 64px; }
  .ch-letter { grid-template-columns: 96px minmax(0, 1fr); gap: 20px; }
  .ch-letter-h span { font-size: 60px; }
}
@media (max-width: 760px) {
  .ch-hero { padding: 44px 0 40px; }
  .ch-hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .ch-guide-hero h1, .ch-guide-hero.ch-hero-split h1 { font-size: clamp(32px, 8.6vw, 42px); }
  .ch-guide-hero .ch-hero-visual { display: none; }
  .ch-byline { gap: 10px 18px; }
  .ch-byline > li + li::before { display: none; }
  .ch-byline > .ch-author { flex: 1 0 100%; }
  .ch-learn-hero { padding: 44px 0 56px; }
  .ch-learn-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .ch-learn-stats li { padding-right: 12px; margin-right: 12px; }
  .ch-learn-stats b { font-size: 28px; }
  .ch-learn-stats span { font-size: 12.5px; line-height: 1.3; }
  .ch-feature-visual { height: 210px; }
  .ch-ggrid, .ch-ggrid-2, .ch-plats, .ch-terms, .ch-comps, .ch-bestfor, .ch-vs-more, .ch-mk-kpis, .ch-explore-grid, .ch-explore-2, .ch-figure-pair { grid-template-columns: minmax(0, 1fr); }
  .ch-library { padding-top: 56px; }
  .ch-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; scrollbar-width: none; }
  .ch-filter::-webkit-scrollbar { display: none; }
  .ch-filter label { flex: none; }
  .ch-news { padding: 28px 22px; border-radius: 22px; }
  .ch-figure-stage { padding: 14px; border-radius: 18px; }
  .ch-figure { margin-inline: calc(-1 * var(--gutter) + 6px); }
  .ch-figure figcaption { margin-inline: 10px; }
  .ch-diagram { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ch-dg-wires { display: none; }
  .ch-dg-col { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
  .ch-dg-h { grid-column: 1 / -1; }
  .ch-prompt { padding: 16px; }
  .ch-prompt-text { font-size: 16px; padding-left: 22px; }
  .ch-prompt-tools, .ch-plan-badge { padding-left: 0; margin-left: 0; }
  .ch-plan-badge { margin-left: 0; }
  .ch-cta { padding: 20px; }
  .ch-cta .btn { width: 100%; }
  .ch-letter { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 28px 0; }
  .ch-letter-h { position: static; display: flex; align-items: baseline; gap: 12px; }
  .ch-letter-h span { font-size: 48px; }
  .ch-gl-big { font-size: 96px; }
  .ch-gl-stack li:nth-child(n) { margin-inline: 0; }
  .ch-def { padding: 24px 22px 18px; }
  .ch-mini-guide { grid-template-columns: minmax(0, 1fr); }
  .ch-mini-guide-visual { display: none; }
  .ch-cmp-visual { height: 300px; }
  .ch-cmp-visual::before { width: 240px; height: 240px; }
  .ch-vs-comp { gap: 16px; padding: 32px 16px; }
  .ch-vs-comp .ch-mono-lg { width: 60px; height: 60px; border-radius: 18px; font-size: 26px; }
  .ch-vs-comp .ch-mono-lg.ch-mono-mega .mark { width: 34px; height: 34px; }
  .ch-verdict { padding: 26px 22px 22px; }
  .ch-verdict-facts { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ch-verdict-facts li { display: flex; align-items: baseline; gap: 8px; }
  .ch-verdict-facts b { font-size: 18px; }
  .ch-position-card { flex-direction: column; gap: 14px; padding: 22px; }
  .ch-best { padding: 22px; }
  .ch-comp { padding: 22px; }
  .ch-comp-head { flex-wrap: wrap; }
  /* The comparison table becomes a stack of cards. */
  .ch-vs-wrap { overflow: visible; background: none !important; box-shadow: none !important; }
  table.data.ch-vs-table { min-width: 0; }
  .ch-vs-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ch-vs-table, .ch-vs-table tbody, .ch-vs-table tr, .ch-vs-table th, .ch-vs-table td { display: block; width: 100%; }
  .ch-vs-table tbody { display: grid; gap: 10px; }
  .ch-vs-table tr { overflow: hidden; border-radius: var(--r-card); background: var(--white); box-shadow: var(--shadow-card), 0 0 0 1px var(--hairline); }
  .ch-vs-table tbody th { width: auto !important; padding: 12px 16px; border-bottom: 1px solid var(--hairline); background: var(--light); font-size: 15px; }
  .ch-vs-table td { padding: 10px 16px; border-bottom: 1px solid var(--hairline); }
  .ch-vs-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); font-style: normal; }
  .ch-vs-table td.ch-col-mega::before { color: var(--brand-deep); }
  .ch-vs-table tbody tr:last-child > * { border-bottom: 1px solid var(--hairline); }
  .ch-vs-table tr > td:last-child { border-bottom: 0 !important; }
  .ch-stack { height: 430px; }
  .ch-stack-1 { top: 140px; }
  .ch-stack-2 { top: 284px; left: 2%; }
  .ch-stack-card { width: 88%; padding: 14px; }
  .ch-stack-text { font-size: 14px; }
  .ch-plat-jobs li { grid-template-columns: 84px minmax(0, 1fr) 22px; }
  .ch-job-n { margin-left: 0; }
  .ch-pp-logo img.logo, .ch-pp-logo .logo-mono { width: 56px; height: 56px; padding: 11px; border-radius: 16px; }
  .ch-pp-logo .logo-mono { padding: 0; }
}
@media (max-width: 420px) {
  .ch-m-ui { transform: scale(.8); }
  .ch-learn-stats b { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .ch-cmp-visual::before { animation: none; }
  .ch-stack-card { animation: none !important; }
  .ch-m-arrow i { animation: none; opacity: 1; left: 40%; }
}

@media print {
  .ch-rail, .ch-explore, .ch-news-wrap, .ch-cta, .ch-az, .ch-hero-visual { display: none !important; }
  .ch-layout { display: block; }
}
