:root {
  /* Brand primitive colors */
  --cx-violet-50: #f4f1fe;
  --cx-violet-100: #ebe5fd;
  --cx-violet-200: #d6c9fb;
  --cx-violet-300: #b9a3f9;
  --cx-violet-400: #9a7df7;
  --cx-violet-500: #7c5cfc;
  --cx-violet-600: #6a3fff;
  --cx-violet-700: #5124d8;
  --cx-violet-800: #4320b0;
  --cx-violet-900: #361c8e;
  --cx-violet-950: #24115c;

  --cx-cyan-400: #22d3ee;
  --cx-cyan-500: #06b6d4;
  --cx-cyan-600: #0891b2;
  --cx-cyan-700: #0e7490;

  --cx-success-50: #f0fdf4;
  --cx-success-700: #15803d;
  --cx-warning-50: #fffbeb;
  --cx-warning-700: #b45309;
  --cx-danger-50: #fef2f2;
  --cx-danger-700: #b91c1c;

  --cx-neutral-0: #ffffff;
  --cx-neutral-50: #f7f7fb;
  --cx-neutral-100: #f1f1f7;
  --cx-neutral-200: #e4e4ee;
  --cx-neutral-300: #cfd0dc;
  --cx-neutral-400: #a3a3b5;
  --cx-neutral-500: #6b6b80;
  --cx-neutral-600: #4b4b63;
  --cx-neutral-700: #3a3a4e;
  --cx-neutral-800: #1a1a2e;
  --cx-neutral-900: #0a0a14;

  /* Light text for dark surfaces */
  --cx-light-text: #f0eef5;

  /* Semantic tokens — light mode default */
  --cx-bg-canvas: var(--cx-neutral-50);
  --cx-bg-surface: var(--cx-neutral-0);
  --cx-bg-raised: var(--cx-neutral-0);
  --cx-bg-sunken: var(--cx-neutral-100);
  --cx-bg-primary: var(--cx-violet-500);

  --cx-text-primary: var(--cx-neutral-900);
  --cx-text-secondary: var(--cx-neutral-700);
  --cx-text-muted: var(--cx-neutral-500);
  --cx-text-disabled: var(--cx-neutral-400);
  --cx-text-on-primary: var(--cx-neutral-0);
  --cx-text-link: var(--cx-violet-600);
  --cx-text-link-hover: var(--cx-violet-700);

  --cx-border-default: var(--cx-neutral-200);
  --cx-border-strong: var(--cx-neutral-300);
  --cx-border-subtle: var(--cx-neutral-100);
  --cx-border-focus: var(--cx-violet-500);

  --cx-interactive-primary: var(--cx-violet-500);
  --cx-interactive-primary-hover: var(--cx-violet-600);
  --cx-interactive-primary-active: var(--cx-violet-700);
  --cx-interactive-primary-subtle: var(--cx-violet-50);
  --cx-interactive-primary-subtle-hover: var(--cx-violet-100);

  /* Typography */
  --cx-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --cx-font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Spacing */
  --cx-space-1: 0.25rem;
  --cx-space-2: 0.5rem;
  --cx-space-3: 0.75rem;
  --cx-space-4: 1rem;
  --cx-space-5: 1.25rem;
  --cx-space-6: 1.5rem;
  --cx-space-8: 2rem;
  --cx-space-10: 2.5rem;
  --cx-space-12: 3rem;
  --cx-space-16: 4rem;
  --cx-space-20: 5rem;
  --cx-space-24: 6rem;

  /* Radii */
  --cx-radius-sm: 4px;
  --cx-radius-md: 8px;
  --cx-radius-lg: 12px;
  --cx-radius-xl: 16px;
  --cx-radius-2xl: 24px;
  --cx-radius-pill: 999px;

  /* Shadows */
  --cx-shadow-xs: 0 1px 2px rgba(10, 10, 20, 0.05);
  --cx-shadow-sm: 0 1px 3px rgba(10, 10, 20, 0.08), 0 1px 2px rgba(10, 10, 20, 0.04);
  --cx-shadow-md: 0 4px 12px rgba(10, 10, 20, 0.08), 0 2px 4px rgba(10, 10, 20, 0.04);
  --cx-shadow-lg: 0 12px 32px rgba(10, 10, 20, 0.10), 0 4px 8px rgba(10, 10, 20, 0.06);
  --cx-shadow-primary: 0 8px 20px rgba(124, 92, 252, 0.32);

  /* Layout */
  --cx-header-height: 72px;
  --cx-max-width: 1280px;
  --cx-radius-mark: 24px;
}

/* Base reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--cx-font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--cx-text-primary);
  background-color: var(--cx-bg-canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--cx-text-link);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--cx-text-link-hover);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--cx-violet-200);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--cx-font-sans);
  font-weight: 600;
  line-height: 1.2;
  color: var(--cx-text-primary);
}

/* Layout helpers */
.cx-container {
  width: 100%;
  max-width: var(--cx-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--cx-space-6);
  padding-right: var(--cx-space-6);
}

.cx-section {
  padding-top: var(--cx-space-20);
  padding-bottom: var(--cx-space-20);
}

.cx-section-sm {
  padding-top: var(--cx-space-16);
  padding-bottom: var(--cx-space-16);
}

.cx-grid {
  display: grid;
  gap: var(--cx-space-8);
}

.cx-grid-3 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
  .cx-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cx-flex {
  display: flex;
}

.cx-flex-col {
  flex-direction: column;
}

.cx-items-center {
  align-items: center;
}

.cx-justify-between {
  justify-content: space-between;
}

.cx-gap-4 {
  gap: var(--cx-space-4);
}

.cx-gap-6 {
  gap: var(--cx-space-6);
}

.cx-text-center {
  text-align: center;
}

/* Typography utilities */
.cx-text-sm { font-size: 0.875rem; line-height: 1.4; }
.cx-text-base { font-size: 1rem; line-height: 1.6; }
.cx-text-md { font-size: 1.125rem; line-height: 1.6; }
.cx-text-lg { font-size: 1.25rem; line-height: 1.5; }
.cx-text-xl { font-size: 1.5rem; line-height: 1.3; }
.cx-text-2xl { font-size: 1.875rem; line-height: 1.2; }
.cx-text-3xl { font-size: 2.25rem; line-height: 1.15; }
.cx-text-4xl { font-size: 3rem; line-height: 1.1; }
.cx-text-display {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.cx-text-secondary { color: var(--cx-text-secondary); }
.cx-text-muted { color: var(--cx-text-muted); }
.cx-text-on-primary { color: var(--cx-text-on-primary); }
.cx-text-violet { color: var(--cx-violet-500); }

.cx-font-medium { font-weight: 500; }
.cx-font-semibold { font-weight: 600; }
.cx-font-bold { font-weight: 700; }
.cx-font-extrabold { font-weight: 800; }

/* Buttons */
.cx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--cx-radius-pill);
  font-family: var(--cx-font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.cx-btn-primary {
  background-color: var(--cx-interactive-primary);
  color: var(--cx-text-on-primary);
  box-shadow: var(--cx-shadow-primary);
}

.cx-btn-primary:hover {
  background-color: var(--cx-interactive-primary-hover);
  color: var(--cx-text-on-primary);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(124, 92, 252, 0.36);
}

.cx-btn-primary:active {
  background-color: var(--cx-interactive-primary-active);
  transform: translateY(0);
}

.cx-btn-secondary {
  background-color: var(--cx-neutral-0);
  color: var(--cx-text-primary);
  border-color: var(--cx-border-default);
}

.cx-btn-secondary:hover {
  background-color: var(--cx-neutral-50);
  color: var(--cx-text-primary);
  text-decoration: none;
}

/* Header */
.cx-site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--cx-header-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cx-border-subtle);
}

.cx-site-header .cx-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.cx-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--cx-font-sans);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cx-neutral-800);
  text-decoration: none;
}

.cx-logo strong {
  font-weight: 800;
  color: var(--cx-violet-500);
}

.cx-logo:hover {
  text-decoration: none;
  color: var(--cx-neutral-800);
}

.cx-logo-mark-wrap {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.cx-logo-mark {
  width: 100%;
  height: 100%;
  display: block;
}

.cx-nav {
  display: flex;
  align-items: center;
  gap: var(--cx-space-8);
}

.cx-nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--cx-space-6);
}

.cx-nav-menu a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--cx-text-secondary);
}

.cx-nav-menu a:hover {
  color: var(--cx-text-primary);
  text-decoration: none;
}

.cx-header-cta {
  display: flex;
  gap: var(--cx-space-3);
}

.cx-mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--cx-space-2);
  cursor: pointer;
  color: var(--cx-text-primary);
}

@media (max-width: 768px) {
  .cx-nav-menu,
  .cx-header-cta {
    display: none;
  }

  .cx-mobile-menu-toggle {
    display: block;
  }

  .cx-nav.is-open .cx-nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--cx-header-height);
    left: 0;
    right: 0;
    background: var(--cx-bg-surface);
    padding: var(--cx-space-6);
    border-bottom: 1px solid var(--cx-border-default);
    box-shadow: var(--cx-shadow-md);
  }

  .cx-nav.is-open .cx-header-cta {
    display: flex;
    flex-direction: column;
    margin-top: var(--cx-space-4);
  }
}

/* Hero */
.cx-hero {
  position: relative;
  padding-top: var(--cx-space-24);
  padding-bottom: var(--cx-space-24);
  background: linear-gradient(180deg, var(--cx-neutral-50) 0%, var(--cx-neutral-0) 100%);
  overflow: hidden;
}

.cx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(124, 92, 252, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cx-hero-content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.cx-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: var(--cx-violet-50);
  color: var(--cx-violet-700);
  border-radius: var(--cx-radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--cx-space-6);
}

.cx-hero-title {
  margin-bottom: var(--cx-space-6);
}

.cx-hero-title .accent {
  color: var(--cx-violet-500);
}

.cx-hero-description {
  font-size: 1.25rem;
  color: var(--cx-text-secondary);
  max-width: 600px;
  margin: 0 auto var(--cx-space-8);
}

.cx-hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--cx-space-4);
  flex-wrap: wrap;
}

.cx-hero-actions .cx-btn {
  min-width: 160px;
}

/* Feature cards */
.cx-feature-card {
  background: var(--cx-bg-surface);
  border: 1px solid var(--cx-border-default);
  border-radius: var(--cx-radius-2xl);
  padding: var(--cx-space-8);
  box-shadow: var(--cx-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cx-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--cx-shadow-md);
}

.cx-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--cx-radius-lg);
  background: var(--cx-violet-50);
  color: var(--cx-violet-600);
  margin-bottom: var(--cx-space-5);
}

.cx-feature-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.cx-feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--cx-space-3);
  color: var(--cx-violet-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cx-feature-card p {
  font-size: 0.9375rem;
  color: var(--cx-text-secondary);
  margin: 0;
}

/* Footer */
.cx-site-footer {
  background: var(--cx-neutral-900);
  color: var(--cx-light-text);
  padding-top: var(--cx-space-16);
  padding-bottom: var(--cx-space-8);
}

.cx-site-footer a {
  color: var(--cx-violet-300);
}

.cx-site-footer a:hover {
  color: var(--cx-violet-200);
}

.cx-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--cx-space-10);
  margin-bottom: var(--cx-space-12);
}

@media (min-width: 768px) {
  .cx-footer-grid {
    grid-template-columns: 2fr repeat(3, 1fr);
  }
}

.cx-footer-brand p {
  color: var(--cx-neutral-400);
  margin-top: var(--cx-space-4);
  max-width: 320px;
}

.cx-footer-heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cx-neutral-0);
  margin-bottom: var(--cx-space-4);
}

.cx-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--cx-space-3);
}

.cx-footer-menu a {
  font-size: 0.9375rem;
  color: var(--cx-neutral-400);
  text-decoration: none;
}

.cx-footer-menu a:hover {
  color: var(--cx-neutral-0);
}

.cx-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: var(--cx-space-4);
  padding-top: var(--cx-space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: var(--cx-neutral-500);
}

@media (min-width: 768px) {
  .cx-footer-bottom {
    flex-direction: row;
  }
}

/* WordPress content */
.cx-content {
  padding-top: var(--cx-space-16);
  padding-bottom: var(--cx-space-16);
}

.cx-content h1 { font-size: 2.25rem; margin-bottom: 1.5rem; }
.cx-content h2 { font-size: 1.75rem; margin-top: 2rem; margin-bottom: 1rem; }
.cx-content h3 { font-size: 1.375rem; margin-top: 1.75rem; margin-bottom: 0.75rem; }
.cx-content p { margin-bottom: 1.25rem; color: var(--cx-text-secondary); }
.cx-content ul, .cx-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; color: var(--cx-text-secondary); }
.cx-content li { margin-bottom: 0.5rem; }
.cx-content blockquote {
  border-left: 4px solid var(--cx-violet-500);
  padding-left: var(--cx-space-6);
  margin: var(--cx-space-8) 0;
  font-style: italic;
  color: var(--cx-text-secondary);
}
.cx-content img { border-radius: var(--cx-radius-xl); }

/* Screen reader only */
.cx-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
 * App-style light landing page
 * Mirrors app.convocx.com
 * ============================================================ */
.page-template-page-landing-page {
  --cx-app-bg: var(--cx-neutral-100);
  --cx-app-canvas: var(--cx-neutral-0);
  --cx-app-surface: var(--cx-neutral-0);
  --cx-app-surface-raised: var(--cx-neutral-50);
  --cx-app-border: var(--cx-neutral-200);
  --cx-app-text: var(--cx-neutral-900);
  --cx-app-text-secondary: var(--cx-neutral-700);
  --cx-app-text-muted: var(--cx-neutral-500);
  --cx-app-primary: var(--cx-violet-500);
  --cx-app-primary-hover: var(--cx-violet-600);
  --cx-app-cyan: var(--cx-cyan-500);

  background-color: var(--cx-app-canvas);
  color: var(--cx-app-text);
}

.page-template-page-landing-page h1,
.page-template-page-landing-page h2,
.page-template-page-landing-page h3,
.page-template-page-landing-page h4 {
  color: var(--cx-app-text);
}

.page-template-page-landing-page a {
  color: var(--cx-app-primary);
}

.page-template-page-landing-page a:hover {
  color: #9a7df7;
}

.page-template-page-landing-page .cx-site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--cx-app-border);
}

.page-template-page-landing-page .cx-logo {
  color: var(--cx-app-text);
}

.page-template-page-landing-page .cx-logo:hover {
  color: var(--cx-app-text);
}

.page-template-page-landing-page .cx-logo-word {
  font-weight: 600;
}

.page-template-page-landing-page .cx-logo-accent {
  font-weight: 800;
  color: var(--cx-app-primary);
}

.page-template-page-landing-page .cx-nav-menu a {
  color: var(--cx-app-text-secondary);
}

.page-template-page-landing-page .cx-nav-menu a:hover {
  color: var(--cx-app-text);
}

.page-template-page-landing-page .cx-btn-primary {
  background: var(--cx-app-primary);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(124, 92, 252, 0.32);
}

.page-template-page-landing-page .cx-btn-primary:hover {
  background: var(--cx-app-primary-hover);
  color: #ffffff;
}

.page-template-page-landing-page .cx-btn-secondary {
  background: transparent;
  color: var(--cx-app-text);
  border-color: var(--cx-app-border);
}

.page-template-page-landing-page .cx-btn-secondary:hover {
  background: var(--cx-app-surface-raised);
  color: var(--cx-app-text);
}

.page-template-page-landing-page .cx-btn--ghost {
  border-color: transparent;
}

.page-template-page-landing-page .cx-btn--block {
  display: flex;
  width: 100%;
}

.page-template-page-landing-page .cx-btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Hero */
.page-template-page-landing-page .cx-hero--app {
  padding-top: var(--cx-space-24);
  padding-bottom: var(--cx-space-16);
  background: radial-gradient(circle at 50% 0%, rgba(124, 92, 252, 0.10) 0%, transparent 45%),
              linear-gradient(180deg, var(--cx-app-canvas) 0%, var(--cx-app-bg) 100%);
}

.page-template-page-landing-page .cx-hero--app::before {
  display: none;
}

.page-template-page-landing-page .cx-hero-title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--cx-app-text);
}

.page-template-page-landing-page .cx-hero-description {
  color: var(--cx-app-text-secondary);
  font-size: 1.25rem;
}

.page-template-page-landing-page .cx-hero-actions .cx-btn svg {
  width: 18px;
  height: 18px;
}

/* Dashboard mockup */
.cx-hero-mockup {
  margin-top: var(--cx-space-16);
  background: var(--cx-app-surface);
  border: 1px solid var(--cx-app-border);
  border-radius: var(--cx-radius-xl);
  box-shadow: 0 24px 80px rgba(10, 10, 30, 0.12);
  display: grid;
  grid-template-columns: 320px 1fr;
  overflow: hidden;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.cx-mockup-sidebar {
  border-right: 1px solid var(--cx-app-border);
  display: flex;
  flex-direction: column;
  background: var(--cx-app-surface-raised);
}

.cx-mockup-search {
  display: flex;
  align-items: center;
  gap: var(--cx-space-3);
  padding: var(--cx-space-3) var(--cx-space-4);
  margin: var(--cx-space-4);
  background: var(--cx-app-bg);
  border: 1px solid var(--cx-app-border);
  border-radius: var(--cx-radius-md);
  color: var(--cx-app-text-muted);
  font-size: 0.875rem;
}

.cx-mockup-search svg {
  width: 16px;
  height: 16px;
}

.cx-mockup-tabs {
  display: flex;
  gap: var(--cx-space-2);
  padding: 0 var(--cx-space-4) var(--cx-space-3);
  border-bottom: 1px solid var(--cx-app-border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cx-app-text-secondary);
}

.cx-mockup-tab {
  cursor: default;
}

.cx-mockup-tab em {
  font-style: normal;
  color: var(--cx-app-text-muted);
  margin-left: 0.25rem;
}

.cx-mockup-tab.is-active {
  color: var(--cx-app-primary);
}

.cx-mockup-list {
  display: flex;
  flex-direction: column;
}

.cx-mockup-row {
  display: flex;
  align-items: center;
  gap: var(--cx-space-3);
  padding: var(--cx-space-3) var(--cx-space-4);
  border-bottom: 1px solid var(--cx-app-border);
}

.cx-mockup-avatar-wrap {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.cx-mockup-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.cx-mockup-channel-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cx-app-surface);
  border: 1px solid var(--cx-app-border);
  border-radius: 999px;
  color: var(--cx-app-text-secondary);
  padding: 2px;
  box-shadow: var(--cx-shadow-xs);
}

.cx-mockup-channel-badge svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.cx-mockup-line {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.125rem;
}

.cx-mockup-line strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cx-app-text);
}

.cx-mockup-line span {
  font-size: 0.8125rem;
  color: var(--cx-app-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cx-mockup-chat {
  display: flex;
  flex-direction: column;
  background: var(--cx-app-bg);
  min-height: 320px;
}

.cx-mockup-chat-header {
  display: flex;
  align-items: center;
  gap: var(--cx-space-3);
  padding: var(--cx-space-3) var(--cx-space-4);
  border-bottom: 1px solid var(--cx-app-border);
}

.cx-mockup-chat-header strong {
  font-size: 0.9375rem;
  color: var(--cx-app-text);
}

.cx-mockup-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--cx-space-3);
  padding: var(--cx-space-4);
}

.cx-mockup-bubble {
  max-width: 70%;
  padding: var(--cx-space-3) var(--cx-space-4);
  border-radius: var(--cx-radius-lg);
  font-size: 0.875rem;
  line-height: 1.5;
}

.cx-mockup-bubble--in {
  align-self: flex-start;
  background: var(--cx-neutral-100);
  color: var(--cx-app-text);
  border-bottom-left-radius: 2px;
}

.cx-mockup-bubble--out {
  align-self: flex-end;
  background: var(--cx-app-primary);
  color: #ffffff;
  border-bottom-right-radius: 2px;
}

.cx-mockup-composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--cx-space-3);
  margin: var(--cx-space-4);
  padding: var(--cx-space-3) var(--cx-space-4);
  background: var(--cx-app-surface);
  border: 1px solid var(--cx-app-border);
  border-radius: var(--cx-radius-md);
  color: var(--cx-app-text-muted);
  font-size: 0.875rem;
}

.cx-mockup-send {
  background: var(--cx-app-surface-raised);
  color: var(--cx-app-text);
  border: 1px solid var(--cx-app-border);
  border-radius: var(--cx-radius-md);
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: default;
}

@media (max-width: 768px) {
  .cx-hero-mockup {
    grid-template-columns: 1fr;
  }

  .cx-mockup-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--cx-app-border);
  }

  .cx-mockup-chat {
    display: none;
  }
}

/* Sections */
.cx-section--app {
  background: var(--cx-app-canvas);
  padding-top: var(--cx-space-24);
  padding-bottom: var(--cx-space-24);
}

.cx-section--surface {
  background: var(--cx-app-bg);
}

.cx-section-head {
  max-width: 720px;
  margin: 0 auto var(--cx-space-16);
}

.cx-section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cx-app-primary);
  margin-bottom: var(--cx-space-4);
}

.cx-section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--cx-space-4);
  color: var(--cx-app-text);
}

.cx-section-lead {
  font-size: 1.125rem;
  color: var(--cx-app-text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* Channels */
.cx-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--cx-space-4);
  max-width: 900px;
  margin: var(--cx-space-12) auto 0;
}

@media (min-width: 640px) {
  .cx-channels {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .cx-channels {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cx-channel {
  display: flex;
  align-items: center;
  gap: var(--cx-space-3);
  padding: var(--cx-space-3) var(--cx-space-4);
  background: var(--cx-app-surface);
  border: 1px solid var(--cx-app-border);
  border-radius: var(--cx-radius-lg);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--cx-app-text);
}

.cx-channel svg,
.cx-channel__icon {
  width: 20px;
  height: 20px;
  color: var(--cx-app-primary);
  flex-shrink: 0;
}

.cx-channel em {
  margin-left: auto;
  font-size: 0.6875rem;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #22c55e;
}

/* Feature grid */
.cx-features-grid {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
  .cx-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cx-features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cx-feature-card--app {
  background: var(--cx-app-surface);
  border-color: var(--cx-app-border);
  box-shadow: none;
}

.cx-feature-card--app:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10, 10, 30, 0.10);
  border-color: var(--cx-app-primary);
}

.cx-feature-card--app h3 {
  color: var(--cx-app-text);
  text-transform: none;
  letter-spacing: 0;
}

.cx-feature-card--app p {
  color: var(--cx-app-text-secondary);
}

.cx-feature-icon--app {
  background: rgba(124, 92, 252, 0.12);
  color: var(--cx-app-primary);
}

/* Pricing */
.cx-pricing {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--cx-space-6);
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cx-pricing {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cx-pricing-card {
  position: relative;
  background: var(--cx-app-surface);
  border: 1px solid var(--cx-app-border);
  border-radius: var(--cx-radius-2xl);
  padding: var(--cx-space-8);
  display: flex;
  flex-direction: column;
}

.cx-pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--cx-space-3);
  color: var(--cx-app-text);
}

.cx-pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--cx-app-text);
  margin-bottom: var(--cx-space-2);
}

.cx-pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--cx-app-text-muted);
}

.cx-pricing-desc {
  color: var(--cx-app-text-secondary);
  font-size: 0.9375rem;
  margin-bottom: var(--cx-space-6);
}

.cx-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cx-app-primary);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.375rem 0.875rem;
  border-radius: var(--cx-radius-pill);
}

.cx-pricing-card ul {
  list-style: none;
  margin: var(--cx-space-6) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--cx-space-3);
}

.cx-pricing-card li {
  display: flex;
  align-items: center;
  gap: var(--cx-space-3);
  font-size: 0.9375rem;
  color: var(--cx-app-text-secondary);
}

.cx-pricing-card li svg {
  width: 18px;
  height: 18px;
  color: var(--cx-app-primary);
  flex-shrink: 0;
}

.cx-pricing-card--popular {
  border-color: var(--cx-app-primary);
  box-shadow: 0 12px 40px rgba(124, 92, 252, 0.16);
}

.cx-pricing-footnote {
  text-align: center;
  color: var(--cx-app-text-muted);
  font-size: 0.9375rem;
  margin-top: var(--cx-space-8);
}

.cx-pricing-footnote a {
  color: var(--cx-app-primary);
  text-decoration: none;
}

/* Blog */
.cx-blog-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--cx-space-6);
}

@media (min-width: 768px) {
  .cx-blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cx-blog-card {
  background: var(--cx-app-surface);
  border: 1px solid var(--cx-app-border);
  border-radius: var(--cx-radius-xl);
  padding: var(--cx-space-6);
  display: flex;
  flex-direction: column;
}

.cx-blog-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cx-app-primary);
  margin-bottom: var(--cx-space-3);
}

.cx-blog-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: var(--cx-space-3);
}

.cx-blog-card h3 a {
  color: var(--cx-app-text);
  text-decoration: none;
}

.cx-blog-card h3 a:hover {
  color: var(--cx-app-primary);
}

.cx-blog-card > p {
  color: var(--cx-app-text-secondary);
  font-size: 0.9375rem;
  margin-bottom: var(--cx-space-6);
  flex: 1;
}

.cx-blog-meta {
  display: flex;
  align-items: center;
  gap: var(--cx-space-3);
  font-size: 0.8125rem;
  color: var(--cx-app-text-muted);
}

/* FAQ */
.cx-container--narrow {
  max-width: 760px;
}

.cx-faq {
  display: flex;
  flex-direction: column;
  gap: var(--cx-space-3);
}

.cx-faq-item {
  background: var(--cx-app-surface);
  border: 1px solid var(--cx-app-border);
  border-radius: var(--cx-radius-lg);
  overflow: hidden;
}

.cx-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--cx-space-4);
  padding: var(--cx-space-5) var(--cx-space-6);
  font-weight: 600;
  color: var(--cx-app-text);
  cursor: pointer;
  list-style: none;
}

.cx-faq-item summary::-webkit-details-marker {
  display: none;
}

.cx-faq-item summary svg {
  width: 20px;
  height: 20px;
  color: var(--cx-app-text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.cx-faq-item[open] summary svg {
  transform: rotate(180deg);
}

.cx-faq-item p {
  padding: 0 var(--cx-space-6) var(--cx-space-6);
  color: var(--cx-app-text-secondary);
  margin: 0;
}

/* Contact */
.cx-contact {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--cx-space-6);
  max-width: 640px;
  margin: 0 auto var(--cx-space-6);
}

@media (min-width: 640px) {
  .cx-contact {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cx-contact-card {
  background: var(--cx-app-surface);
  border: 1px solid var(--cx-app-border);
  border-radius: var(--cx-radius-xl);
  padding: var(--cx-space-8);
  text-align: center;
}

.cx-contact-card svg {
  width: 28px;
  height: 28px;
  color: var(--cx-app-primary);
  margin-bottom: var(--cx-space-4);
}

.cx-contact-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--cx-space-2);
  color: var(--cx-app-text);
}

.cx-contact-card a,
.cx-contact-card p {
  color: var(--cx-app-text-secondary);
  text-decoration: none;
}

.cx-contact-card a:hover {
  color: var(--cx-app-primary);
}

.cx-contact-note {
  text-align: center;
  color: var(--cx-app-text-muted);
  font-size: 0.9375rem;
}

/* Final CTA */
.cx-cta-final {
  background: linear-gradient(180deg, var(--cx-app-bg) 0%, var(--cx-app-canvas) 100%);
  padding-top: var(--cx-space-24);
  padding-bottom: var(--cx-space-24);
  text-align: center;
}

.page-template-page-landing-page .cx-cta-final h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: var(--cx-space-4);
  color: var(--cx-app-text);
}

.page-template-page-landing-page .cx-cta-final p {
  color: var(--cx-app-text-secondary);
  font-size: 1.125rem;
  margin-bottom: var(--cx-space-8);
}

/* Footer override on landing page */
.page-template-page-landing-page .cx-site-footer {
  margin-top: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cx-faq-item summary svg {
    transition: none;
  }
}
