.cm-home, .cm-home-final-cta {
  --home-bg: var(--cm-surface);
  --home-surface: var(--cm-surface);
  --home-soft: var(--cm-surface-alt);
  --home-line: var(--cm-border);
  --home-ink: var(--cm-ink);
  --home-muted: var(--cm-muted);
  --home-blue: var(--cm-accent-strong);
  --home-blue-strong: var(--cm-accent-hover);
  --home-green: var(--cm-positive);
  background: var(--home-bg);
  color: var(--home-ink);
}
.cm-home *, .cm-home *::before, .cm-home *::after, .cm-home-final-cta * { box-sizing: border-box; }
.cm-home h1, .cm-home h2, .cm-home h3, .cm-home p { letter-spacing: 0; }
.cm-home-shell { width: min(1240px, calc(100% - 3rem)); margin-inline: auto; }
.cm-home-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; margin: -1px; clip-path: inset(50%); white-space: nowrap; }
.cm-home-eyebrow { margin: 0 0 .75rem; color: var(--home-blue); font-size: .8125rem; font-weight: 700; }
.cm-home-hero { position: relative; overflow: hidden; background: var(--home-soft); border-bottom: 1px solid var(--home-line); }
.cm-home-hero__content { position: relative; padding-block: 2rem 1.5rem; text-align: center; }
.cm-home-hero h1 { max-width: 980px; margin: 0 auto; font-size: 4rem; font-weight: 800; line-height: 1.08; }
.cm-home-hero h1 span, .cm-home-hero h1 strong { display: block; }
.cm-home-hero h1 strong { color: var(--home-blue); font-weight: inherit; }
.cm-home-hero__lede { max-width: 680px; margin: 1.25rem auto 0; color: var(--home-muted); font-size: 1.125rem; line-height: 1.6; }
.cm-home-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.5rem; }
.cm-home-btn-light { background: var(--home-surface); color: var(--home-ink) !important; border-color: var(--home-line); box-shadow: 0 2px 0 var(--home-line); }
.cm-home-btn-light:hover { background: var(--home-soft); }
.cm-home-hero__proof { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: center; margin-top: 1.5rem; font-size: .8125rem; color: var(--home-muted); }
.cm-home-hero__proof span::before { content: '\2713'; margin-right: .4rem; color: var(--home-green); }
.cm-home-hero__visual { margin: 0; padding-inline: max(1.5rem, calc((100% - 1240px)/2)); max-height: min(190px, 25vh); overflow: hidden; }
.cm-home-hero__visual img { display: block; width: 100%; height: auto; border: 1px solid var(--home-line); border-bottom: 0; border-radius: 8px 8px 0 0; }
.cm-home-benefits { padding: 2rem 0; border-bottom: 1px solid var(--home-line); }
.cm-home-benefits .cm-home-shell { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.cm-home-benefits h2 { margin: 0 0 .5rem; font-size: 1.125rem; font-weight: 750; }
.cm-home-benefits p { margin: 0; color: var(--home-muted); font-size: .9375rem; }
.cm-home-benefits a { display: inline-block; margin-top: .75rem; color: var(--home-blue); font-size: .875rem; font-weight: 700; text-underline-offset: 4px; }

.cm-home-section {
  padding-block: 4.5rem;
  background: var(--home-bg);
}

.cm-home-section--muted {
  background: var(--home-soft);
}

.cm-home-section-head {
  margin-bottom: 2.5rem;
}

.cm-home-section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(18rem, .72fr);
  gap: 3rem;
  align-items: end;
}

.cm-home-section-head h2 {
  max-width: 48rem;
  margin: 0;
  color: var(--home-ink);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.08;
}

.cm-home-section-head > p,
.cm-home-section-head > div > p:not(.cm-home-eyebrow) {
  margin: 0;
  color: var(--home-muted);
  font-size: .94rem;
  line-height: 1.65;
}

.cm-home-inline-link,
.cm-home-text-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--home-blue) !important;
  font-size: .86rem;
  font-weight: 750;
  text-decoration: none;
}

.cm-home-inline-link {
  margin-top: .8rem;
}

.cm-home-inline-link:hover,
.cm-home-text-link:hover {
  text-decoration: underline;
}

.cm-home-platform {
  overflow: hidden;
  border-block: 1px solid var(--home-line);
  background: var(--home-surface);
}

.cm-home-platform__tabs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border-bottom: 1px solid var(--home-line);
}

.cm-home-platform__tabs button {
  min-height: 3.35rem;
  padding: .7rem .55rem;
  border: 0;
  border-right: 1px solid var(--home-line);
  border-bottom: 3px solid transparent;
  background: var(--home-surface);
  color: var(--home-muted);
  font: inherit;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}

.cm-home-platform__tabs button:last-child {
  border-right: 0;
}

.cm-home-platform__tabs button:hover,
.cm-home-platform__tabs button:focus-visible,
.cm-home-platform__tabs button[aria-selected="true"] {
  border-bottom-color: var(--home-blue);
  background: var(--cm-tint);
  color: var(--home-blue-strong);
}

.cm-home-platform__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(15rem, .85fr) minmax(15rem, .85fr);
  gap: 2rem;
  padding: 2.4rem;
}

.cm-home-platform__panel[hidden] {
  display: none;
}

.cm-home-platform__intro,
.cm-home-platform__work,
.cm-home-platform__links {
  min-width: 0;
}

.cm-home-platform__count {
  color: var(--home-blue);
  font-size: .72rem;
  font-weight: 800;
}

.cm-home-platform h3 {
  margin: .55rem 0 .7rem;
  color: var(--home-ink);
  font-size: 1.65rem;
  line-height: 1.2;
}

.cm-home-platform__intro p,
.cm-home-platform__work li {
  color: var(--home-muted);
  font-size: .88rem;
  line-height: 1.58;
}

.cm-home-platform__work > p,
.cm-home-platform__links > p {
  margin: 0 0 .75rem;
  color: var(--home-ink);
  font-size: .875rem;
  font-weight: 750;
  text-transform: uppercase;
}

.cm-home-platform__work ul {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cm-home-platform__work li {
  position: relative;
  padding-left: 1.15rem;
}

.cm-home-platform__work li::before {
  content: "";
  position: absolute;
  top: .55rem;
  left: 0;
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: var(--home-green);
}

.cm-home-platform__links > div {
  display: grid;
}

.cm-home-platform__links a {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--home-line);
  color: var(--home-ink);
  font-size: .84rem;
  font-weight: 650;
  text-decoration: none;
}

.cm-home-platform__links a:hover {
  color: var(--home-blue);
}

.cm-home-platform__footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2.4rem;
  border-top: 1px solid var(--home-line);
  background: #f9faff;
  color: var(--home-muted);
  font-size: .78rem;
}

.cm-home-platform__footer a {
  color: var(--home-blue);
  font-weight: 700;
  text-decoration: none;
}

.cm-home-theme-explorer {
  overflow: hidden;
  border: 1px solid var(--home-line);
  background: var(--home-surface);
}

.cm-home-theme-explorer__toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem;
  border-bottom: 1px solid var(--home-line);
}

.cm-home-theme-explorer__themes,
.cm-home-theme-explorer__devices {
  display: flex;
  gap: .35rem;
}

.cm-home-theme-explorer__themes {
  min-width: 0;
  overflow-x: auto;
}

.cm-home-theme-explorer button {
  min-height: 2.35rem;
  padding: .45rem .75rem;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: var(--home-muted);
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.cm-home-theme-explorer button:hover,
.cm-home-theme-explorer button:focus-visible,
.cm-home-theme-explorer button[aria-selected="true"],
.cm-home-theme-explorer button[aria-pressed="true"] {
  border-color: #c7d3ff;
  background: #edf1ff;
  color: var(--home-blue-strong);
  outline: 0;
}

.cm-home-theme-explorer__devices button {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
}

.cm-home-theme-explorer__body {
  display: grid;
  grid-template-columns: minmax(16rem, .65fr) minmax(0, 1.35fr);
  min-height: 34rem;
}

.cm-home-theme-explorer__details {
  padding: 2.2rem;
  border-right: 1px solid var(--home-line);
}

.cm-home-theme-explorer__details h3 {
  margin: 0;
  color: var(--home-ink);
  font-size: 1.75rem;
  line-height: 1.18;
}

.cm-home-theme-explorer__details > p:not(.cm-home-eyebrow) {
  margin: .8rem 0 0;
  color: var(--home-muted);
  font-size: .9rem;
  line-height: 1.6;
}

.cm-home-theme-explorer__details ul {
  display: grid;
  gap: .6rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.cm-home-theme-explorer__details li {
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--home-line);
  color: var(--home-ink);
  font-size: .84rem;
}

.cm-home-theme-preview {
  display: grid;
  min-width: 0;
  margin: 0;
  padding: 1rem;
  background: var(--home-soft);
}

.cm-home-theme-preview figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .2rem .25rem .8rem;
  color: var(--home-muted);
  font-size: .72rem;
}

.cm-home-theme-preview__browser {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cfd8e6;
  border-radius: 7px;
  background: var(--home-surface);
  box-shadow: 0 18px 42px rgba(18, 24, 39, .12);
}

.cm-home-theme-preview__chrome {
  display: flex;
  align-items: center;
  gap: .32rem;
  height: 2.2rem;
  padding: 0 .7rem;
  border-bottom: 1px solid var(--home-line);
  background: var(--home-surface);
}

.cm-home-theme-preview__chrome i {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: #c7cfdb;
}

.cm-home-theme-preview__chrome span {
  margin-left: .45rem;
  color: #8792a5;
  font-size: .66rem;
}

.cm-home-theme-preview__viewport {
  min-height: 28rem;
  overflow: auto;
  background: var(--home-surface);
}

.cm-home-theme-preview img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity .16s ease;
}

.cm-home-theme-preview img.is-changing {
  opacity: .25;
}

.cm-home-theme-explorer[data-device="mobile"] .cm-home-theme-preview__browser {
  width: min(23rem, 100%);
  margin-inline: auto;
}

.cm-home-ai-section {
  background: var(--home-soft);
}

.cm-home-ai-section .cm-home-eyebrow {
  color: var(--home-blue);
}

.cm-home-ai-section .cm-home-section-head h2 {
  color: var(--home-ink);
}

.cm-home-ai-section .cm-home-section-head > p {
  color: var(--home-muted);
}

.cm-home-ai {
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 7px;
  background: var(--home-surface);
  color: var(--home-ink);
}

.cm-home-ai__topbar,
.cm-home-ai__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--home-line);
}

.cm-home-ai__topbar > div {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.cm-home-ai__mark {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--cm-accent);
  color: #ffffff;
  font-size: .62rem;
  font-weight: 800;
}

.cm-home-ai__signal {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--home-muted);
  font-size: .75rem;
}

.cm-home-ai__signal i {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--home-green);
}

.cm-home-ai__goals {
  display: flex;
  align-items: center;
  gap: .35rem;
  overflow-x: auto;
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--home-line);
  background: var(--home-soft);
}

.cm-home-ai__goals > span {
  margin-right: .35rem;
  color: var(--home-muted);
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
}

.cm-home-ai__goals button,
.cm-home-ai__action {
  min-height: 2.75rem;
  padding: .42rem .72rem;
  border: 1px solid var(--home-line);
  border-radius: 5px;
  background: var(--home-surface);
  color: var(--home-ink);
  font: inherit;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}

.cm-home-ai__goals button[aria-selected="true"],
.cm-home-ai__goals button:hover,
.cm-home-ai__goals button:focus-visible {
  border-color: var(--home-blue);
  color: var(--home-blue);
  outline: 0;
}

.cm-home-ai__body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, .75fr);
  min-height: 23rem;
}

.cm-home-ai__conversation {
  padding: 2.4rem;
}

.cm-home-ai__speaker {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  color: var(--home-muted);
  font-size: .72rem;
}

.cm-home-ai__speaker span:first-child {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid #cbd7ff;
  border-radius: 50%;
  background: var(--cm-tint);
  color: var(--home-blue);
  font-size: .6rem;
  font-weight: 800;
}

.cm-home-ai__conversation h3 {
  max-width: 38rem;
  margin: 1rem 0 .65rem 2.55rem;
  color: var(--home-ink);
  font-size: 1.75rem;
  line-height: 1.18;
}

.cm-home-ai__response,
.cm-home-ai__question {
  max-width: 42rem;
  margin: 0 0 0 2.55rem;
  color: var(--home-muted);
  font-size: .92rem;
  line-height: 1.65;
}

.cm-home-ai__question {
  margin-top: .8rem;
  color: var(--home-ink);
  font-weight: 700;
}

.cm-home-ai__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.25rem 0 0 2.55rem;
}

.cm-home-ai__action--primary {
  border-color: var(--cm-accent);
  background: var(--cm-accent);
  color: #ffffff;
}

.cm-home-ai__action--primary:hover {
  background: var(--cm-accent-hover);
}

.cm-home-ai__outcomes {
  padding: 2rem;
  border-left: 1px solid var(--home-line);
  background: var(--home-soft);
}

.cm-home-ai__outcomes > p {
  margin: 0 0 1rem;
  color: var(--home-muted);
  font-size: .72rem;
  font-weight: 750;
  text-transform: uppercase;
}

.cm-home-ai__outcomes dl {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.cm-home-ai__outcomes dl > div {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--home-line);
}

.cm-home-ai__outcomes dt {
  color: var(--home-muted);
  font-size: .7rem;
}

.cm-home-ai__outcomes dd {
  margin: .25rem 0 0;
  color: var(--home-ink);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.4;
}

.cm-home-ai__control-note {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: .55rem;
  margin-top: 1.4rem;
  color: var(--home-green);
}

.cm-home-ai__control-note p {
  margin: 0;
  color: var(--home-muted);
  font-size: .875rem;
  line-height: 1.45;
}

.cm-home-ai__control-note strong {
  display: block;
  color: var(--home-ink);
}

.cm-home-ai__footer {
  border-top: 1px solid var(--home-line);
  border-bottom: 0;
  color: var(--home-muted);
  font-size: .875rem;
}

.cm-home-ai__footer a {
  color: var(--home-blue);
  font-weight: 700;
  text-decoration: none;
}

.cm-home-faq-layout {
  display: grid;
  grid-template-columns: minmax(16rem, .58fr) minmax(0, 1.42fr);
  gap: 4rem;
  align-items: start;
}

.cm-home-faq details {
  border-top: 1px solid var(--home-line);
}

.cm-home-faq details:last-child {
  border-bottom: 1px solid var(--home-line);
}

.cm-home-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  color: var(--home-ink);
  font-size: .94rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.cm-home-faq summary::-webkit-details-marker {
  display: none;
}

.cm-home-faq summary span {
  color: var(--home-blue);
  font-size: 1.2rem;
}

.cm-home-faq details[open] summary span {
  transform: rotate(45deg);
}

.cm-home-faq details p {
  max-width: 46rem;
  margin: -.35rem 0 1.25rem;
  color: var(--home-muted);
  font-size: .86rem;
  line-height: 1.65;
}

.cm-home-final-cta { padding-block: 4rem; text-align: center; background: var(--cm-tint); border-top: 1px solid var(--home-line); }
.cm-home-final-cta h2 { max-width: 800px; margin: 0 auto 1rem; font-size: 2.75rem; line-height: 1.15; }
.cm-home-final-cta p:not(.cm-home-eyebrow) { max-width: 640px; margin-inline: auto; color: var(--home-muted); }
@media (max-width: 900px) {
  .cm-home-hero h1 { font-size: 3rem; }
  .cm-home-hero__visual { max-height: 200px; }
  .cm-home-section-head--split, .cm-home-theme-explorer__body, .cm-home-ai__body, .cm-home-faq-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .cm-home-platform__tabs { display: flex; overflow-x: auto; }
  .cm-home-platform__tabs button { flex: 0 0 auto; padding-inline: 1rem; }
  .cm-home-platform__panel { grid-template-columns: 1fr 1fr; }
  .cm-home-platform__intro { grid-column: 1 / -1; }
  .cm-home-theme-explorer__details { border-right: 0; }
  .cm-home-ai__outcomes { border-left: 0; border-top: 1px solid var(--home-line); }
}
@media (max-width: 640px) {
  .cm-home-shell { width: calc(100% - 2.5rem); }
  .cm-home-hero h1 { font-size: 2.375rem; }
  .cm-home-hero__lede { font-size: 1rem; }
  .cm-home-hero__content { padding-block: 2rem 1.5rem; }
  .cm-home-hero__proof { font-size: .75rem; gap: .35rem .8rem; }
  .cm-home-hero__visual { max-height: 130px; padding-inline: 1.25rem; }
  .cm-home-benefits .cm-home-shell, .cm-home-platform__panel { grid-template-columns: 1fr; }
  .cm-home-benefits .cm-home-shell { gap: 1.5rem; }
  .cm-home-section { padding-block: 3rem; }
  .cm-home-section-head h2, .cm-home-final-cta h2 { font-size: 1.875rem; }
  .cm-home-platform__panel { padding: 1rem; }
  .cm-home-platform__footer, .cm-home-ai__topbar, .cm-home-ai__footer, .cm-home-theme-explorer__toolbar { align-items: flex-start; flex-direction: column; }
  .cm-home-theme-explorer__themes { width: 100%; flex-direction: column; }
  .cm-home-theme-explorer__devices { width: 100%; }
  .cm-home-theme-explorer__devices button { flex: 1; }
  .cm-home-theme-explorer__details, .cm-home-ai__conversation, .cm-home-ai__outcomes { padding: 1rem; }
  .cm-home-ai__conversation h3, .cm-home-ai__response, .cm-home-ai__question, .cm-home-ai__actions { margin-left: 0; }
  .cm-home-ai__conversation h3 { font-size: 1.4rem; }
  .cm-home-ai__actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .cm-home * { scroll-behavior: auto !important; transition: none !important; } }
@media (forced-colors: active) {
  .cm-home-platform, .cm-home-theme-explorer, .cm-home-ai { border: 1px solid CanvasText; }
  .cm-home button[aria-selected="true"] { outline: 2px solid Highlight; }
}
