/* One shared closing-section and primary-button design for all live pages.
   Page styles own content layout; all closing sections use these roles.
   There is deliberately no outer box: only the divider between the two columns. */
:root {
  --ci-yellow: #ffd400;
  --ci-ink: #f5f5f6;
  --ci-muted: #aaaab0;
  --ci-line: #333337;
}
.clients-page { --ci-ink: #151518; --ci-muted: #65656c; --ci-line: #dddde0; }
body .ci-end-panel.shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: stretch;
  width: min(1240px,calc(100% - 64px));
  gap: clamp(36px,6vw,88px);
  margin: clamp(56px,7vw,96px) auto clamp(64px,8vw,112px);
  padding: clamp(28px,4vw,56px) 0;
  border: 0;
  background: transparent;
  color: var(--ci-ink);
  scroll-margin-top: 110px;
}
.ci-end-panel::before, .ci-end-panel::after { content: none; }
.ci-end-panel > * { position: relative; min-width: 0; }
.ci-end-panel .ci-end-copy { display: grid; align-content: center; gap: 24px; }
.ci-end-panel .ci-end-eyebrow { margin: 0; color: var(--ci-muted); font-size: var(--type-label); font-weight: 600; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
.ci-end-panel .ci-end-title { margin: 0; max-width: 600px; color: var(--ci-ink); font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size: var(--type-section-title); font-weight: 600; line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
.ci-end-panel .ci-end-title span { display: inline-block; color: var(--ci-yellow); transform: rotate(-2deg); }
.clients-page .ci-end-title span { color: inherit; text-decoration: underline; text-decoration-color: var(--ci-yellow); text-decoration-thickness: .1em; text-underline-offset: .1em; }
.ci-end-panel .ci-end-body { max-width: 440px; margin: 0; color: var(--ci-muted); font-size: var(--type-body); line-height: 1.55; letter-spacing: -.015em; }
.ci-end-panel .ci-end-action { display: grid; align-content: center; gap: 24px; padding-left: clamp(28px,4vw,56px); border: 0; border-left: 1px solid var(--ci-line); }
.ci-end-panel .ci-end-action-title { margin: 0; color: var(--ci-ink); font-size: var(--type-body); font-weight: 550; }
/* The same primary CTA, including newsletter submits and standalone page actions. */
body main .ci-button {
  position: relative;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 24px;
  border: 1px solid var(--ci-yellow);
  border-radius: 0;
  background: var(--ci-yellow);
  color: #080808;
  font-family: inherit;
  font-size: var(--type-button);
  font-weight: 800;
  font-style: normal;
  line-height: 1.35;
  letter-spacing: .09em;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none;
  transition: transform .24s ease,background .24s ease,box-shadow .24s ease;
}
body main .ci-button::before, body main .ci-button::after { content: none; }
body main .ci-button em { font: inherit; }
body main .ci-button > span[aria-hidden] { flex: 0 0 auto; color: inherit; font-size: var(--type-lead); font-weight: 400; line-height: 1; }
body main .ci-button:hover { transform: translateY(-2px); background: #ffe55a; color: #080808; box-shadow: 0 8px 28px rgba(255,212,0,.18); }
body main .ci-button:focus-visible { outline: 2px solid var(--ci-yellow); outline-offset: 4px; }
.clients-page main .ci-button:focus-visible { outline-color: #8b6800; }
.ci-inline-action { display: flex; justify-content: flex-end; margin-top: 28px; }
/* Newsletter fields belong to the same component, rather than a page-specific form. */
.ci-newsletter-form label { display: grid; gap: 10px; }
.ci-newsletter-form label > span { position: static; clip: auto; color: var(--ci-muted); font-size: var(--type-caption); }
.ci-newsletter-form input { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid #444449; border-radius: 0; background: #09090b; color: #fff; font: inherit; font-size: var(--type-body); }
.ci-newsletter-form input::placeholder { color: #8e8e96; opacity: 1; }
.ci-newsletter-form input:focus-visible { outline: 2px solid var(--ci-yellow); outline-offset: 3px; border-color: var(--ci-yellow); }
.ci-newsletter-form .ci-button { width: 100%; margin: 0; }
.ci-newsletter-form .newsletter-form-title { margin: 0; color: var(--ci-ink); font-size: var(--type-body); font-weight: 550; }
@media (min-width:1480px) {
  body .ci-end-panel.shell { width: min(1240px,calc(100% - 120px)); }
}
@media (max-width:760px) {
  body .ci-end-panel.shell { width: calc(100% - 40px); grid-template-columns: minmax(0,1fr); gap: 32px; margin-block: 48px 64px; padding: 24px 0; }
  .ci-end-panel .ci-end-copy { gap: 20px; }
  .ci-end-panel .ci-end-action { gap: 22px; padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--ci-line); }
  .ci-inline-action { justify-content: flex-start; }
}
@media (prefers-reduced-motion:reduce) {
  body main .ci-button { transition: none; }
  body main .ci-button:hover { transform: none; }
}
