/* CX Impact pages share the site's editorial shell; product colour stays in media. */
.cx-hero, .cx-section { scroll-margin-top: 92px; }
.cx-hero { padding: 32px 0 66px; border-bottom: 1px solid var(--line); }
.cx-hero .exec-breadcrumbs { margin-bottom: 46px; }
.cx-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 4vw, 64px); align-items: center; }
.cx-hero h1 { margin: 0; font-size: clamp(30px, 3vw, 44px); line-height: 1.27; letter-spacing: -.035em; text-wrap: balance; }
.cx-hero .exec-kicker { margin-bottom: 22px; font-size: 10px; letter-spacing: .07em; }
.cx-lead { margin: 26px 0 0; color: var(--soft); font-size: 16px; line-height: 1.75; }
.cx-audience { color: var(--muted); font-size: 13px; margin: 18px 0 24px; }
.cx-proof { margin-top: 22px; color: var(--muted); font: 500 10px/1.7 var(--font-mono); }
.cx-hero-visual { margin: 0; min-width: 0; }
.cx-hero-visual img { width: 100%; height: auto; }
.cx-hero-visual a { display: block; }
.cx-hero-visual figcaption { margin-top: 15px; color: var(--muted); font-size: 11px; line-height: 1.65; max-width: 58ch; }
.cx-section { padding: 64px 0; border-bottom: 1px solid var(--line); }
.cx-section-heading { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: start; margin-bottom: 34px; }
.cx-section h2 { margin: 0; font-size: clamp(25px, 2.65vw, 35px); line-height: 1.35; letter-spacing: -.025em; max-width: 30ch; }
.cx-section h3 { font-family: var(--font-body); font-size: 17px; font-weight: 650; line-height: 1.55; margin: 0 0 14px; }
.cx-index { color: var(--accent); font: 500 11px/1.7 var(--font-mono); padding-top: 7px; }
.cx-capabilities { margin: 0; border-top: 1px solid var(--line-strong); }
.cx-capability { display: grid; grid-template-columns: 1fr 1.6fr; gap: 36px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.cx-capability dt { display: flex; gap: 28px; align-items: baseline; font-weight: 650; }
.cx-capability .cx-index { flex: 0 0 24px; }
.cx-capability dd { margin: 0; color: var(--soft); }
.cx-note { max-width: 85ch; color: var(--muted); font-size: 13px; margin: 24px 0 0; }
.cx-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.cx-example { min-width: 0; }
.cx-example-header { display: flex; gap: 16px; border-top: 1px solid var(--line-strong); padding-top: 22px; }
.cx-example-header h3 { margin: 0; }
.cx-example > p { color: var(--soft); font-size: 14px; min-height: 90px; margin: 16px 0 24px; }
.cx-example-image { display: block; background: var(--surface); border: 1px solid var(--line); }
.cx-example-image img { width: 100%; height: auto; }
.cx-example-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 13px; }
.cx-example-links a { display: inline-flex; align-items: center; min-height: 44px; }
.cx-download { margin-top: 36px; padding: 28px 30px; border: 1px solid var(--line-strong); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cx-download p { margin-bottom: 0; font-size: 13px; color: var(--soft); }
.cx-download .cx-version { margin-top: 10px; font: 500 10px/1.7 var(--font-mono); color: var(--muted); }
.cx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 0; margin: 0 0 24px; list-style: none; counter-reset: steps; }
.cx-steps li { counter-increment: steps; padding-top: 18px; border-top: 1px solid var(--line); color: var(--soft); font-size: 14px; }
.cx-steps li::before { content: '0' counter(steps); display: block; color: var(--accent); font: 500 11px/1.7 var(--font-mono); margin-bottom: 18px; }
.cx-steps strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 12px; }
.cx-code-panel { margin: 32px 0 42px; padding: 22px 26px 16px; background: var(--navy); color: var(--deep-fg); }
.cx-code-heading { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.cx-code-panel h3 { color: inherit; font-size: 12px; }
.cx-copy { flex-shrink: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--deep-muted); background: transparent; font-size: 11px; color: inherit; cursor: pointer; }
.cx-copy:hover { background: color-mix(in oklch, white 12%, transparent); }
.cx-copy[hidden] { display: none; }
.cx-code-panel pre, .cx-prompt pre { overflow-x: auto; padding: 6px 0 12px; margin: 0; font: 400 13px/1.9 var(--font-mono); }
.cx-copy-status { min-height: 1.7em; margin: 4px 0 0; color: var(--deep-muted); font-size: 12px; }
.cx-requirements { margin: 24px 0 0; padding: 0; list-style: none; color: var(--soft); font-size: 13px; }
.cx-requirements li + li { margin-top: 8px; }
.cx-manual-install { margin-bottom: 40px; padding: 24px; border: 1px solid var(--line); }
.cx-manual-install p, .cx-manual-install li { color: var(--soft); font-size: 14px; }
.cx-manual-install p:last-child { margin-bottom: 0; }
.cx-manual-install ul { padding-left: 20px; }
.cx-manual-install li + li { margin-top: 8px; }
.cx-manual-install code { overflow-wrap: anywhere; }
.cx-manual-install a { text-decoration: underline; text-underline-offset: 4px; }
.cx-agent-table { margin: 24px 0; border-top: 1px solid var(--line-strong); font-size: 13px; }
.cx-agent-head, .cx-agent-row { display: grid; grid-template-columns: 1fr 1.15fr 2fr; gap: 24px; border-bottom: 1px solid var(--line); padding: 20px 0; }
.cx-agent-head { font-weight: 600; color: var(--muted); font-size: 11px; }
.cx-agent-row [role='rowheader'] { font-weight: 650; }
.cx-agent-row code { white-space: nowrap; }
.cx-prompt { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.cx-prompt pre { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--soft); }
.cx-output { display: grid; grid-template-columns: 1fr 1.6fr; gap: 36px; }
.cx-output p { margin-top: 0; color: var(--soft); }
.cx-format-list { display: grid; grid-template-columns: 1fr 1fr; align-content: start; border-top: 1px solid var(--line-strong); }
.cx-format-list span { padding: 18px 0; border-bottom: 1px solid var(--line); font: 500 18px/1.6 var(--font-mono); }
.cx-author { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.cx-author p { margin-top: 0; color: var(--soft); }
.cx-author-portrait { display: block; width: 100%; max-width: 280px; border: 1px solid var(--line); }
.cx-author-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.cx-faq { border-top: 1px solid var(--line-strong); }
.cx-faq details { border-bottom: 1px solid var(--line); }
.cx-faq summary { cursor: pointer; padding: 22px 32px 22px 0; font-weight: 600; list-style: none; position: relative; }
.cx-faq summary::-webkit-details-marker { display: none; }
.cx-faq summary::after { content: '+'; position: absolute; right: 5px; top: 19px; font-size: 23px; font-weight: 400; color: var(--accent); }
.cx-faq details[open] summary::after { content: '−'; }
.cx-faq p { max-width: 85ch; margin: 0 0 24px; color: var(--soft); }
.cx-faq summary:focus-visible, .cx-section pre:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.cx-section#next { background: var(--paper-deep); border-bottom: none; }
.cx-section#next .exec-actions { margin-top: 26px; }
.cx-utility { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 26px; font-size: 12px; }
.cx-utility a { min-height: 44px; display: inline-flex; align-items: center; }
.cx-directory-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; border-top: 1px solid var(--line-strong); padding-top: 34px; }
.cx-directory-card h2 { font-size: 36px; }
.cx-directory-card > a img { width: 100%; height: auto; }
.cx-logo { width: 180px; height: auto; margin-bottom: 24px; }
.tools-hero.exec-hero { padding: 32px 0 48px; }
.tools-hero .exec-breadcrumbs { margin-bottom: 40px; }
@media (max-width: 1000px) {
  .cx-download { grid-template-columns: 1fr; gap: 20px; }
  .cx-hero h1 { font-size: 32px; }
  .cx-hero-grid { gap: 28px; }
  .cx-hero .exec-actions { align-items: flex-start; }
  .cx-example > p { min-height: 112px; }
}
@media (max-width: 800px) {
  .cx-hero-grid, .cx-directory-card { grid-template-columns: 1fr; }
  .cx-hero-visual { max-width: 640px; }
  .cx-hero h1 { max-width: 24ch; font-size: clamp(29px, 5.6vw, 42px); }
  .cx-hero .exec-breadcrumbs { margin-bottom: 32px; }
  .cx-hero-grid { gap: 32px; }
  .cx-section { padding: 46px 0; }
  .cx-section-heading { grid-template-columns: 36px minmax(0, 1fr); margin-bottom: 28px; }
  .cx-capability { gap: 20px; grid-template-columns: 1fr 1.3fr; }
  .cx-capability dt { gap: 12px; }
  .cx-steps { grid-template-columns: 1fr; gap: 22px; }
  .cx-steps li::before { margin-bottom: 10px; }
  .cx-output, .cx-author { grid-template-columns: 1fr; gap: 24px; }
  .cx-format-list { max-width: 400px; }
  .cx-author-portrait { max-width: 220px; }
}
@media (max-width: 600px) {
  .cx-section .exec-shell, .cx-hero .exec-shell, .tools-index-page .exec-shell { width: 100%; padding-inline: 20px; }
  .cx-hero { padding-bottom: 42px; }
  .cx-lead { font-size: 15px; }
  .cx-hero .exec-actions { flex-direction: column; align-items: stretch; }
  .cx-capability { grid-template-columns: 1fr; gap: 12px; }
  .cx-capability dd { padding-left: 36px; font-size: 14px; }
  .cx-examples { grid-template-columns: 1fr; gap: 34px; }
  .cx-example > p { min-height: 0; }
  .cx-download { padding: 22px 18px; }
  .cx-download .exec-button { white-space: normal; text-align: left; }
  .cx-code-panel { padding: 18px 16px; }
  .cx-code-heading { flex-direction: column; gap: 0; align-items: flex-start; margin-bottom: 14px; }
  .cx-agent-head { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .cx-agent-row { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .cx-agent-row [role='rowheader'] { font-size: 16px; }
  .cx-agent-row [role='cell']:last-child { color: var(--muted); }
  .cx-directory-card { gap: 32px; }
  .cx-faq summary { font-size: 14px; }
  .cx-section .exec-actions { gap: 12px; }
}
